﻿
/* OSLO BARBER SHOP - PUBLIC APPOINTMENTS */

.oslo-booking {
    --booking-green: #42755d;
    --booking-dark: #26352c;
    --booking-border: #e6ebe6;
    --booking-muted: #849087;
    color: var(--booking-dark);
    background: #f8faf8;
    min-height: 100vh;
    padding: 55px 16px 80px;
}

    .oslo-booking * {
        box-sizing: border-box;
    }

.oslo-booking-container {
    max-width: 850px;
    margin: 0 auto;
}

.oslo-booking-brand {
    text-align: center;
    margin-bottom: 34px;
}

.oslo-booking-brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #e8f1ea;
    color: var(--booking-green);
    font-size: 25px;
}

.oslo-booking-brand h1 {
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 850;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.oslo-booking-brand p {
    color: var(--booking-muted);
    font-size: 13px;
    margin: 0;
}

.oslo-booking-card {
    background: #fff;
    border: 1px solid var(--booking-border);
    border-radius: 22px;
    box-shadow: 0 12px 45px rgba(35, 60, 42, .045);
    overflow: hidden;
}

.oslo-booking-card-header {
    padding: 27px 30px;
    border-bottom: 1px solid #edf0ed;
}

    .oslo-booking-card-header h2 {
        font-size: 18px;
        font-weight: 800;
        margin: 0 0 7px;
    }

    .oslo-booking-card-header p {
        font-size: 12px;
        color: var(--booking-muted);
        margin: 0;
    }

.oslo-booking-card-body {
    padding: 30px;
}

.oslo-booking-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
}

.oslo-booking-section-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: #edf5ee;
    color: var(--booking-green);
    border-radius: 12px;
    font-size: 17px;
    flex-shrink: 0;
}

.oslo-booking-section-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--booking-dark);
}

.oslo-booking-section-description {
    font-size: 11px;
    color: var(--booking-muted);
    margin-top: 3px;
}

.oslo-booking-label {
    display: block;
    color: #526258;
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 9px;
}

.oslo-booking-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dfe7e0;
    border-radius: 11px;
    background: #fff;
    color: #304536;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

    .oslo-booking-input:focus {
        border-color: var(--booking-green);
        box-shadow: 0 0 0 3px rgba(66,117,93,.1);
    }

    .oslo-booking-input::placeholder {
        color: #a3ada5;
    }

.oslo-booking-divider {
    height: 1px;
    background: #edf0ed;
    margin: 30px 0;
}

/* TARİH KARTLARI */

.oslo-booking-dates {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 3px 1px 12px;
    scrollbar-width: thin;
    scrollbar-color: #c9d7cc transparent;
    scroll-snap-type: x proximity;
}

.oslo-booking-date {
    appearance: none;
    flex: 0 0 85px;
    min-height: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e1e9e2;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
    scroll-snap-align: start;
}

    .oslo-booking-date:hover {
        border-color: #9db9a4;
        background: #f7fbf8;
    }

    .oslo-booking-date.selected {
        background: var(--booking-green);
        border-color: var(--booking-green);
        box-shadow: 0 6px 18px rgba(66,117,93,.18);
    }

.oslo-booking-date-day {
    font-size: 11px;
    font-weight: 650;
    color: #8b998e;
}

.oslo-booking-date-number {
    font-size: 24px;
    font-weight: 850;
    color: #304536;
    line-height: 1;
}

.oslo-booking-date-month {
    font-size: 10px;
    color: #8b998e;
}

.oslo-booking-date.selected span {
    color: #fff;
}

/* SAAT BALONCUKLARI */

.oslo-booking-slots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.oslo-booking-slot {
    appearance: none;
    min-height: 49px;
    padding: 10px;
    border: 1px solid #e0e9e2;
    border-radius: 12px;
    background: #fff;
    color: #42594a;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: .2s ease;
}

    .oslo-booking-slot:hover {
        border-color: #7fa48a;
        background: #f3f8f4;
        transform: translateY(-1px);
    }

    .oslo-booking-slot.selected {
        color: #fff;
        background: var(--booking-green);
        border-color: var(--booking-green);
        box-shadow: 0 5px 14px rgba(66,117,93,.16);
    }

    .oslo-booking-slot:focus-visible,
    .oslo-booking-date:focus-visible {
        outline: 3px solid rgba(66,117,93,.35);
        outline-offset: 2px;
    }

.oslo-booking-slot-state {
    padding: 26px 16px;
    text-align: center;
    border: 1px dashed #dce7de;
    border-radius: 13px;
    color: #8a998d;
    background: #fafcfb;
    font-size: 12px;
    line-height: 1.8;
}

    .oslo-booking-slot-state i {
        display: block;
        font-size: 23px;
        color: #a6b9aa;
        margin-bottom: 8px;
    }

.oslo-booking-selected {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    background: #eff7f1;
    border-radius: 11px;
    color: var(--booking-green);
    font-size: 12px;
    font-weight: 700;
    margin-top: 15px;
}

/* FOOTER */

.oslo-booking-footer {
    padding: 24px 30px 28px;
    border-top: 1px solid #edf0ed;
    background: #fcfdfc;
}

.oslo-booking-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 12px;
    background: var(--booking-green);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

    .oslo-booking-submit:hover:not(:disabled) {
        background: #345e49;
    }

    .oslo-booking-submit:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.oslo-booking-footer-note {
    margin-top: 14px;
    text-align: center;
    color: #94a097;
    font-size: 11px;
}

.oslo-booking-validation.validation-summary-valid {
    display: none;
}

/* SUCCESS */

.oslo-booking-success {
    max-width: 570px;
    margin: 0 auto;
    text-align: center;
}

.oslo-booking-success-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto 23px;
    border-radius: 50%;
    background: #e8f5eb;
    color: #358353;
    font-size: 39px;
}

.oslo-booking-success h2 {
    font-size: 26px;
    font-weight: 850;
    letter-spacing: -.6px;
    margin-bottom: 14px;
}

.oslo-booking-success p {
    color: #839086;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 26px;
}

.oslo-booking-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 47px;
    padding: 12px 23px;
    border-radius: 11px;
    background: var(--booking-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

    .oslo-booking-home:hover {
        background: #345e49;
        color: #fff;
    }

@media (max-width: 767px) {
    .oslo-booking {
        padding: 32px 12px 55px;
    }

    .oslo-booking-card-header,
    .oslo-booking-card-body {
        padding: 22px 19px;
    }

    .oslo-booking-footer {
        padding: 20px 19px;
    }

    .oslo-booking-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .oslo-booking-date {
        flex-basis: 76px;
        min-height: 90px;
    }

    .oslo-booking-success h2 {
        font-size: 22px;
    }

    /* ================================
   OSLO - HİZMET FİYAT KUTUSU
================================ */

    .oslo-booking .oslo-price-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
        margin: 24px 0 8px;
        padding: 20px 24px;
        border: 1px solid #d9e9dc;
        border-radius: 14px;
        background: #f0f7f1;
    }

    .oslo-booking .oslo-price-main {
        display: flex;
        align-items: center;
        gap: 16px;
        min-width: 0;
    }

    .oslo-booking .oslo-price-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: #deebdf;
        color: #2f6542;
        font-size: 20px;
    }

    .oslo-booking .oslo-price-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        min-width: 0;
    }

    .oslo-booking .oslo-price-label {
        display: block;
        color: #688673;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.3px;
    }

    .oslo-booking .oslo-price-amount {
        display: block;
        color: #214e35;
        font-size: 29px;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -.6px;
    }

    .oslo-booking .oslo-price-type {
        display: block;
        color: #63856c;
        font-size: 12px;
        line-height: 1.5;
    }

    .oslo-booking .oslo-price-duration {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        padding: 10px 13px;
        border: 1px solid #d8e7da;
        border-radius: 9px;
        background: #fff;
        color: #476b51;
        font-size: 12px;
        font-weight: 700;
    }

        .oslo-booking .oslo-price-duration i {
            font-size: 15px;
        }

    /* MOBİL */

    @media (max-width: 600px) {

        .oslo-booking .oslo-price-box {
            align-items: flex-start;
            flex-direction: column;
            gap: 15px;
            padding: 18px;
        }

        .oslo-booking .oslo-price-main {
            align-items: flex-start;
            gap: 12px;
        }

        .oslo-booking .oslo-price-icon {
            flex-basis: 40px;
            width: 40px;
            height: 40px;
            font-size: 17px;
        }

        .oslo-booking .oslo-price-amount {
            font-size: 26px;
        }

        .oslo-booking .oslo-price-duration {
            margin-left: 52px;
        }
    }
    /* Tarih ve saat alanlarını gizle */
    #AppointmentDate,
    #AppointmentTime {
        display: none !important;
    }

}
