/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f7f3ee;
    color:#222;
    font-family:'Montserrat',sans-serif;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

/* =========================
   LAYOUT
========================= */

.container{
    width:100%;
    max-width:1300px;
    margin:0 auto;
    padding:0 24px;
}

.section{
    padding:120px 0;
}

.section-dark{
    background:#0d0d0d;
    color:white;
}

/* =========================
   HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    padding:10px 0;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(0,0,0,.04);
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    width:90px;
    height:auto;
}

nav ul{
    display:flex;
    align-items:center;
    gap:42px;
    list-style:none;
}

nav a{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1.5px;
    transition:.3s;
}

nav a:hover{
    color:#b69252;
}

.login-btn{
    background:#b69252;
    color:white;
    padding:13px 26px;
    border-radius:50px;
}

.login-link,
.logout-btn{
    color:#8f6d37;
}

.logout-form{
    margin:0;
}

.logout-btn{
    border:0;
    background:transparent;
    cursor:pointer;
    font-family:inherit;
    font-size:13px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    transition:.3s;
}

.logout-btn:hover{
    color:#b69252;
}

.account-name{
    color:#8f6d37;
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.mobile-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
}

.mobile-toggle span{
    display:block;
    width:27px;
    height:2px;
    background:#222;
    transition:transform .25s ease, opacity .2s ease;
}

.mobile-toggle.is-open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2){
    opacity:0;
}

.mobile-toggle.is-open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* =========================
   HERO
========================= */

.hero{
    position:relative;

    width:100%;
    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    background:
        linear-gradient(rgba(0,0,0,.42),rgba(0,0,0,.42)),
        url("/static/img/header.webp");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-content{
    position:relative;
    z-index:2;

    text-align:center;
    color:white;

    max-width:950px;

    padding:170px 20px 60px;
}

.hero-subtitle{
    font-size:13px;
    letter-spacing:6px;
    text-transform:uppercase;

    color:#d8c39a;

    margin-bottom:28px;
}

.hero h1{
    font-size:92px;
    line-height:.95;

    font-family:'Cormorant Garamond',serif;
    font-weight:500;

    margin-bottom:32px;
}

.hero-text{
    max-width:720px;

    margin:0 auto 50px;

    line-height:2;
    font-size:17px;

    color:rgba(255,255,255,.9);
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:15px 34px;

    border-radius:50px;

    background:#b69252;

    color:white;

    font-size:13px;

    letter-spacing:2px;

    text-transform:uppercase;

    transition:.3s;
}

.btn:hover{
    background:#9f7f47;
    transform:translateY(-2px);
}

.btn-outline{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:15px 34px;

    border-radius:50px;

    border:1px solid rgba(255,255,255,.3);

    color:white;

    transition:.3s;
}

.btn-outline:hover{
    background:white;
    color:#111;
}

/* =========================
   TITLES
========================= */

.section-title{
    text-align:center;
    margin-bottom:80px;
}

.section-title span{
    display:block;

    font-size:12px;

    letter-spacing:5px;

    text-transform:uppercase;

    color:#b69252;

    margin-bottom:18px;
}

.section-title h2{
    font-size:68px;

    font-family:'Cormorant Garamond',serif;

    font-weight:500;
}

.section-title p{
    max-width:760px;

    margin:25px auto 0;

    line-height:2;

    color:#888;
}

/* =========================
   ABOUT
========================= */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
}

.about-image img{
    border-radius:60px;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.about-content h3{
    font-size:56px;

    font-family:'Cormorant Garamond',serif;

    margin-bottom:30px;
}

.about-content p{
    line-height:2;
    color:#666;
    margin-bottom:25px;
}

/* =========================
   SERVICES
========================= */

.services-container{
    max-width:1100px;
}

.services-list{
    margin-top:80px;
}

.service-item{
    padding:50px 0;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.service-content{
    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:40px;
}
.service-left{
    max-width:720px;
}

.service-left h3{
    font-size:48px;

    line-height:1;

    font-family:'Cormorant Garamond',serif;

    font-weight:500;

    margin-bottom:16px;

    color:#f5f1eb;
}

.service-time{
    margin-bottom:22px;

    font-size:11px;

    letter-spacing:3px;

    text-transform:uppercase;

    color:#b69252;
}

.service-left p{
    font-size:17px;

    line-height:1.9;

    color:#b7b7b7;
}

.service-right{
    display:flex;

    flex-direction:column;

    align-items:flex-end;

    gap:14px;

    min-width:160px;
}

.service-price{
    font-size:22px;

    color:#b69252;

    font-family:'Cormorant Garamond',serif;

    white-space:nowrap;

    opacity:.9;
}

.service-link{
    font-size:11px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:#d7c29a;

    border-bottom:1px solid rgba(215,194,154,.35);

    padding-bottom:4px;

    transition:.3s;
}

.service-link:hover{
    color:white;
    border-color:white;
}

/* =========================
   CTA
========================= */

.cta{
    padding:150px 20px;

    text-align:center;

    color:white;

    background:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
        url("/static/img/header.webp");

    background-size:cover;
    background-position:center;
}

.cta h2{
    font-size:80px;

    margin-bottom:25px;

    font-family:'Cormorant Garamond',serif;
}

.cta p{
    max-width:760px;

    margin:0 auto 45px;

    line-height:2;

    color:#ddd;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111;
    color:#ddd;
    padding:90px 0 40px;
}

.footer-grid{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:50px;
}

.footer-title{
    font-size:28px;

    margin-bottom:20px;

    color:white;

    font-family:'Cormorant Garamond',serif;
}

.footer-text{
    line-height:2;
    font-size:14px;
    color:#999;
}

.copyright{
    margin-top:60px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    color:#777;

    font-size:13px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1000px){

    .hero h1{
        font-size:72px;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:900px){

    header{
        padding:7px 0;
    }

    .header-inner{
        min-height:64px;
        padding:0 20px;
    }

    .logo{
        width:64px;
    }

    .mobile-toggle{
        display:flex;
    }

    nav{
        position:absolute;

        top:100%;
        left:0;
        right:0;

        width:100%;

        background:#fff;

        padding:22px 20px 26px;

        display:none;

        box-shadow:0 10px 30px rgba(0,0,0,.08);
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        align-items:flex-start;
        gap:0;
    }

    nav li{
        width:100%;
    }

    nav a,
    .logout-btn{
        display:block;
        width:100%;
        padding:13px 0;
    }

}

@media(max-width:768px){

    .section{
        padding:90px 0;
    }

    .hero{
        min-height:850px;
    }

    .hero-content{
        padding-top:140px;
    }

    .hero h1{
        font-size:48px;
    }

    .hero-text{
        font-size:15px;
    }

    .section-title h2,
    .about-content h3,
    .cta h2{
        font-size:42px;
    }

    .service-item{
        padding:36px 0;
    }

    .service-content{
        flex-direction:column;
        gap:24px;
    }

    .service-left h3{
        font-size:36px;
    }

    .service-left p{
        font-size:15px;
    }

    .service-right{
        align-items:flex-start;
    }

    .service-price{
        font-size:20px;
    }

}

/* =========================
   TREATMENTS PAGE
========================= */

.treatment-image{
    width:420px;
    border-radius:40px;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
}

.service-right-details{
    max-width:600px;
}

.service-right-details h3{
    font-size:54px;
    line-height:1;
    margin-bottom:20px;
    font-family:'Cormorant Garamond',serif;
    color:#fff;
}

.service-price-large{
    font-size:32px;
    color:#b69252;
    margin-bottom:30px;
    font-family:'Cormorant Garamond',serif;
}

.treatment-list{
    margin:30px 0;
    padding-left:18px;
}

.treatment-list li{
    margin-bottom:14px;
    color:#bbb;
    line-height:1.8;
}

@media(max-width:768px){

    .treatment-image{
        width:100%;
        border-radius:30px;
    }

    .service-right-details h3{
        font-size:38px;
    }

    .service-price-large{
        font-size:26px;
    }

}

.treatment-layout{
    display:grid;
    grid-template-columns:420px minmax(500px, 1fr);
    column-gap:140px;
    align-items:center;
}

.treatment-layout .service-left{
    max-width:none;
}

.treatment-layout .service-right-details{
    width:100%;
    max-width:none;
}

@media(max-width:1100px){

    .treatment-layout{
        grid-template-columns:1fr;
        gap:40px;
    }

}

@media(max-width:768px){

    .treatment-layout{
        grid-template-columns:1fr;
        gap:40px;
    }

    .treatment-image{
        width:100%;
    }

    .service-right-details{
        width:100%;
    }

    .service-right-details h3{
        font-size:42px;
        line-height:1.1;
    }

    .service-price-large{
        font-size:28px;
    }

    .treatment-list{
        margin:24px 0;
    }

}

/* =========================
   BOOKING PAGE
========================= */

.booking-hero{
    min-height:60vh;
}

.booking-section{
    text-align:center;
}

.booking-card{
    max-width:860px;
}

.booking-card .section-title{
    margin-bottom:42px;
}

.booking-back-link{
    display:block;
    margin-top:28px;
    color:#8f6d37;
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.booking-back-link:hover{
    color:#b69252;
}

/* =========================
   LOGIN PAGE
========================= */

.login-hero{
    min-height:52vh;
}

.login-section{
    text-align:center;
}

.login-card{
    max-width:680px;
}

.login-card .section-title{
    margin-bottom:34px;
}

.login-status,
.login-note{
    color:#666;
    line-height:1.8;
    margin-bottom:30px;
}

.login-note{
    font-size:13px;
    margin:26px auto 0;
}

.google-login-form{
    display:flex;
    justify-content:center;
}

.google-login-btn{
    display:inline-flex;
    align-items:center;
    gap:16px;
    padding:16px 30px;
    border:1px solid #ddd4c9;
    border-radius:50px;
    background:#fff;
    color:#222;
    font:500 14px 'Montserrat', sans-serif;
    cursor:pointer;
    transition:.3s;
}

.google-login-btn:hover{
    border-color:#b69252;
    box-shadow:0 8px 22px rgba(182,146,82,.14);
}

.google-mark{
    color:#4285f4;
    font-size:20px;
    font-weight:600;
}

/* =========================
   404 PAGE
========================= */

.not-found-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    text-align:center;
    padding:150px 24px 90px;
    background:
        linear-gradient(rgba(247,243,238,.88),rgba(247,243,238,.96)),
        url("/static/img/header.webp");
    background-size:cover;
    background-position:center;
}

.not-found-card{
    max-width:720px;
}

.not-found-code{
    color:#b69252;
    font:500 124px/1 'Cormorant Garamond', serif;
    letter-spacing:8px;
    margin-bottom:18px;
}

.not-found-card h1{
    font:500 62px/1.1 'Cormorant Garamond', serif;
    margin-bottom:24px;
}

.not-found-card p{
    max-width:530px;
    margin:0 auto 42px;
    color:#666;
    font-size:16px;
    line-height:2;
}

.not-found-actions{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:24px;
}

.not-found-link{
    color:#8f6d37;
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    transition:.3s;
}

.not-found-link:hover{
    color:#b69252;
}

/* =========================
   CUSTOMER PORTAL
========================= */

.portal-page{
    min-height:100vh;
    padding:180px 24px 100px;
    text-align:center;
    background:#f7f3ee;
}

.portal-card{
    max-width:920px;
    padding:64px 46px;
    background:#fff;
    box-shadow:0 18px 55px rgba(0,0,0,.06);
}

.portal-avatar,
.customer-avatar{
    width:86px;
    height:86px;
    margin:0 auto 28px;
    border-radius:50%;
    object-fit:cover;
}

.portal-card h1{
    margin-bottom:22px;
    font:500 52px/1.1 'Cormorant Garamond', serif;
}

.portal-card p{
    max-width:540px;
    margin:28px auto 36px;
    color:#666;
    line-height:2;
}

.portal-confirm-card{
    max-width:720px;
}

.portal-confirm-summary{
    display:flex;
    flex-direction:column;
    gap:10px;
    max-width:520px;
    margin:28px auto;
    padding:28px;
    border:1px solid #e1d8ca;
    text-align:left;
}

.portal-confirm-summary strong{
    font-size:22px;
    font-weight:500;
}

.portal-confirm-summary span{
    color:#8f6d37;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.portal-confirm-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.appointment-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.action-secondary.is-disabled{
    color:#aaa;
    cursor:default;
}

.portal-move-notice{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin:0 0 28px;
    padding:22px 24px;
    border-left:4px solid #b69252;
    background:#fbf8f2;
}

.portal-move-notice strong{
    font-weight:600;
}

.portal-move-notice span{
    color:#666;
}

.portal-treatment-option.is-disabled{
    color:#aaa;
    background:#f7f3ee;
    cursor:default;
}

.portal-pass-list{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:14px;
}

.portal-pass-item{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:22px;
    border:1px solid #e1d8ca;
    background:#fff;
}

.portal-pass-item.is-active{
    border-left:4px solid #b69252;
}

.portal-pass-item.is-closed{
    color:#999;
    background:#f7f3ee;
}

.portal-pass-item strong{
    font-weight:600;
}

.portal-pass-item span,
.portal-pass-item small{
    color:#666;
}

.portal-appointments{
    margin-top:52px;
    text-align:left;
}

#booking-flow,
#booking-calendar,
#available-times{
    scroll-margin-top:120px;
}

.portal-appointments h2{
    margin-bottom:24px;
    font:500 38px/1.1 'Cormorant Garamond', serif;
}

.booking-step{
    display:flex;
    align-items:center;
    gap:14px;
    margin:8px 0 22px;
    color:#8f6d37;
    font-size:12px;
    letter-spacing:1.7px;
    text-transform:uppercase;
}

.booking-step span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border:1px solid #d9c09a;
    border-radius:50%;
}

.booking-step-following{
    margin-top:42px;
}

.portal-treatment-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:13px;
}

.portal-treatment-option{
    display:flex;
    flex-direction:column;
    gap:9px;
    min-height:112px;
    padding:20px 22px;
    border:1px solid #eee4d8;
    background:#fff;
    transition:border-color .2s ease, background .2s ease;
}

.portal-treatment-option:hover,
.portal-treatment-option.is-selected{
    border-color:#b69252;
    background:#faf6f0;
}

.portal-treatment-option strong{
    font-size:16px;
    font-weight:500;
}

.portal-treatment-option span{
    color:#666;
    font-size:13px;
}

.portal-treatment-option b{
    margin-top:auto;
    color:#8f6d37;
    font-size:14px;
    font-weight:500;
}

.portal-booking-calendar{
    padding:24px;
    border:1px solid #eee4d8;
    background:#faf8f5;
}

.booking-calendar-header{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    align-items:center;
    margin-bottom:22px;
    text-align:center;
}

.booking-calendar-header strong{
    color:#222;
    font:500 30px/1.1 'Cormorant Garamond', serif;
}

.booking-calendar-header a{
    display:flex;
    align-items:center;
    justify-content:center;
    height:42px;
    border:1px solid #e1d8ca;
    color:#8f6d37;
    font-size:30px;
    line-height:1;
    transition:.2s;
}

.booking-calendar-header a:hover{
    border-color:#b69252;
    background:#fff;
}

.booking-calendar-weekdays,
.booking-calendar-days{
    display:grid;
    grid-template-columns:repeat(7, minmax(0, 1fr));
    gap:8px;
}

.booking-calendar-weekdays{
    margin-bottom:9px;
}

.booking-calendar-weekdays span{
    color:#8f6d37;
    font-size:11px;
    letter-spacing:1px;
    text-align:center;
    text-transform:uppercase;
}

.booking-calendar-day{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:68px;
    padding:9px 8px;
    border:1px solid transparent;
    text-align:left;
}

.booking-calendar-day strong{
    font-size:15px;
    font-weight:500;
}

.booking-calendar-day span{
    color:#8f6d37;
    font-size:10px;
}

.booking-calendar-day.has-times{
    border-color:#e6dac8;
    background:#fff;
    transition:border-color .2s ease, background .2s ease;
}

.booking-calendar-day.has-times:hover,
.booking-calendar-day.has-times.is-selected{
    border-color:#b69252;
    background:#f3e8d7;
}

.booking-calendar-day.is-unavailable{
    color:#c8c0b7;
}

.portal-time-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px;
}

.portal-time-option{
    width:100%;
    min-height:74px;
    border:1px solid #dcc8a8;
    background:#fff;
    color:#222;
    cursor:pointer;
    font-family:inherit;
    transition:background .2s ease, border-color .2s ease;
}

.portal-time-option:hover{
    border-color:#b69252;
    background:#b69252;
    color:#fff;
}

.portal-time-option strong,
.portal-time-option span{
    display:block;
}

.portal-time-option strong{
    margin-bottom:7px;
    font-size:18px;
    font-weight:500;
}

.portal-time-option span{
    color:#8f6d37;
    font-size:10px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.portal-time-option:hover span{
    color:#fff;
}

.appointment-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    margin-bottom:13px;
    padding:20px 22px;
    border:1px solid #eee4d8;
}

.appointment-item.reserved{
    background:#faf6f0;
}

.appointment-item strong,
.appointment-item span{
    display:block;
}

.appointment-item strong{
    margin-bottom:8px;
    font-size:16px;
}

.appointment-item span,
.appointment-empty{
    color:#666;
    font-size:14px;
    line-height:1.7;
}

.action-book{
    border:0;
    white-space:nowrap;
    cursor:pointer;
    font-family:inherit;
}

.status-badge{
    display:inline-block;
    border-radius:30px;
    padding:9px 16px;
    font-size:11px;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.status-pending{
    background:#f5ebd7;
    color:#8f6d37;
}

.status-approved{
    background:#e4f1e8;
    color:#277349;
}

.status-rejected,
.status-blocked{
    background:#f5e4e4;
    color:#963c3c;
}

/* =========================
   CUSTOMER DASHBOARD
========================= */

.dashboard-page{
    min-height:100vh;
    padding:150px 0 100px;
    background:#f7f3ee;
}

.dashboard-heading{
    margin-bottom:56px;
    text-align:center;
}

.dashboard-heading h1{
    margin-bottom:20px;
    font:500 62px/1.1 'Cormorant Garamond', serif;
}

.dashboard-heading p,
.dashboard-empty{
    color:#666;
    line-height:1.8;
}

.dashboard-messages{
    max-width:680px;
    margin:0 auto 38px;
    padding:18px 24px;
    background:#e4f1e8;
    color:#277349;
    text-align:center;
}

.dashboard-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
    max-width:850px;
    margin:0 auto 68px;
}

.dashboard-stats div{
    padding:32px 22px;
    background:#fff;
    text-align:center;
}

.dashboard-stats strong{
    display:block;
    margin-bottom:10px;
    color:#b69252;
    font:500 48px/1 'Cormorant Garamond', serif;
}

.dashboard-stats span{
    font-size:12px;
    letter-spacing:1.3px;
    text-transform:uppercase;
}

.dashboard-section{
    margin-bottom:68px;
}

.dashboard-section h2{
    margin-bottom:34px;
    font:500 42px/1.1 'Cormorant Garamond', serif;
}

.calendar-connection-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:26px;
    margin-bottom:18px;
    padding:28px;
    background:#fff;
}

.calendar-connection-card.connected{
    border-left:4px solid #277349;
}

.calendar-connection-card strong,
.calendar-connection-card span{
    display:block;
}

.calendar-connection-card strong{
    margin-bottom:9px;
    font-size:17px;
}

.calendar-connection-card span,
.calendar-hint{
    color:#666;
    font-size:14px;
    line-height:1.7;
}

.calendar-hint code{
    display:inline-block;
    padding:3px 7px;
    background:#fff;
    color:#8f6d37;
}

.slot-create-form{
    display:grid;
    grid-template-columns:2fr 1fr 1fr auto;
    align-items:end;
    gap:16px;
    margin-bottom:36px;
    padding:26px;
    background:#fff;
}

.slot-create-form label span{
    display:block;
    margin-bottom:9px;
    color:#8f6d37;
    font-size:11px;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.slot-create-form select,
.slot-create-form input{
    width:100%;
    height:50px;
    padding:0 13px;
    border:1px solid #e1d8ca;
    background:#fff;
    color:#222;
    font-family:inherit;
}

.dashboard-availability-controls{
    display:flex;
    justify-content:flex-end;
    gap:14px;
    margin-bottom:12px;
    background:#fff;
}

.dashboard-availability-controls label{
    flex:1;
    max-width:260px;
}

.dashboard-availability-controls label span{
    display:block;
    margin-bottom:9px;
    color:#8f6d37;
    font-size:11px;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.dashboard-availability-controls input{
    width:100%;
    height:50px;
    padding:0 13px;
    border:1px solid #e1d8ca;
    background:#fff;
    color:#222;
    font-family:inherit;
}

.dashboard-availability-controls button{
    height:50px;
}

.dashboard-calendar{
    padding:22px;
    border:1px solid #e1d8ca;
    background:#fff;
}

.dashboard-calendar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
}

.dashboard-calendar-header strong{
    font:500 30px/1.2 'Cormorant Garamond', serif;
    text-transform:capitalize;
}

.dashboard-calendar-header button{
    min-width:48px;
    height:45px;
    border:1px solid #e1d8ca;
}

.dashboard-calendar-weekdays,
.dashboard-calendar-days{
    display:grid;
    grid-template-columns:repeat(7, minmax(0, 1fr));
    gap:6px;
}

.dashboard-calendar-weekdays span{
    padding:0 0 10px;
    color:#8f6d37;
    font-size:11px;
    letter-spacing:1px;
    text-align:center;
    text-transform:uppercase;
}

.dashboard-calendar-blank{
    min-height:68px;
}

.dashboard-calendar-day{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-height:68px;
    padding:6px 2px;
    border:0;
    border-radius:8px;
    background:#fff;
    color:#222;
    cursor:pointer;
    font-family:inherit;
}

.dashboard-calendar-day.has-free{
    background:#e4f1e8;
    color:#277349;
}

.dashboard-calendar-day.has-no-free{
    background:#f5e4e4;
    color:#963c3c;
}

.dashboard-calendar-day.has-booking{
    box-shadow:inset 0 -4px 0 #b69252;
}

.dashboard-calendar-day:hover,
.dashboard-calendar-day.is-selected{
    outline:2px solid #b69252;
    outline-offset:-2px;
}

.dashboard-calendar-day strong{
    font-size:16px;
    font-weight:500;
}

.dashboard-calendar-today{
    display:block;
    width:100%;
    margin-top:16px;
    border:1px solid #e1d8ca;
}

.dashboard-availability-help{
    margin:18px 0 8px;
    color:#666;
    font-size:14px;
    line-height:1.7;
}

.dashboard-availability-message{
    min-height:23px;
    margin:0 0 17px;
    color:#277349;
    font-size:14px;
}

.dashboard-availability-message.is-error{
    color:#963c3c;
}

.dashboard-slot-grid{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:10px;
    padding:24px;
    background:#fff;
}

.dashboard-slots-past{
    grid-column:1 / -1;
    margin:0;
    padding:18px 4px;
}

.dashboard-slot-button{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:7px;
    min-height:70px;
    padding:13px 15px;
    border:1px solid #e1d8ca;
    background:#fff;
    color:#222;
    font-family:inherit;
    text-align:left;
    cursor:pointer;
    transition:background .18s ease, border-color .18s ease, color .18s ease;
}

.dashboard-slot-button:hover:not(:disabled){
    border-color:#b69252;
}

.dashboard-slot-button strong{
    font-size:16px;
    font-weight:500;
}

.dashboard-slot-button span{
    color:#8f6d37;
    font-size:11px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.dashboard-slot-button.is-available{
    border-color:#b69252;
    background:#b69252;
    color:#fff;
}

.dashboard-slot-button.is-available span,
.dashboard-slot-button.is-booked span,
.dashboard-slot-button.is-calendar-blocked span{
    color:#fff;
}

.dashboard-slot-button.is-booked{
    border-color:#963c3c;
    background:#963c3c;
    color:#fff;
}

.dashboard-slot-button.is-calendar-blocked{
    border-color:#7f6b57;
    background:#7f6b57;
    color:#fff;
}

.dashboard-slot-button.is-elapsed{
    color:#aaa;
    background:#f3eee8;
}

.dashboard-slot-button:disabled{
    cursor:not-allowed;
}

.dashboard-selected-day{
    margin:0 0 16px;
    font-size:19px;
    font-weight:500;
}

.dashboard-move-panel{
    margin-bottom:22px;
    padding:25px;
    border:1px solid #e1d8ca;
    background:#fff;
}

.dashboard-move-panel h3{
    margin:0 0 9px;
    font-size:20px;
    font-weight:500;
}

.dashboard-move-panel p{
    margin-bottom:15px;
    color:#666;
    font-size:14px;
}

.dashboard-move-slots{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:10px;
}

.dashboard-target-slot{
    padding:12px 17px;
    border:1px solid #b69252;
    background:#b69252;
    color:#fff;
    cursor:pointer;
    font-family:inherit;
}

.dashboard-booking-card{
    padding:23px 26px;
    background:#fff;
}

.dashboard-booking-header{
    display:flex;
    align-items:start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:13px;
}

.dashboard-booking-header strong,
.dashboard-booking-header span{
    display:block;
}

.dashboard-booking-header span{
    margin-top:7px;
    color:#666;
    font-size:14px;
}

.dashboard-booking-time{
    text-align:right;
}

.dashboard-booking-time b{
    display:block;
    color:#b69252;
    font-weight:500;
}

.dashboard-booking-time span{
    margin-top:5px;
    white-space:nowrap;
}

.dashboard-booking-actions{
    display:flex;
    gap:8px;
    margin-bottom:13px;
}

.dashboard-booking-actions button{
    border:1px solid #e1d8ca;
}

.dashboard-booking-note{
    display:block;
    width:100%;
    min-height:80px;
    margin-bottom:8px;
    padding:13px;
    border:1px solid #e1d8ca;
    color:#222;
    font-family:inherit;
    resize:vertical;
}

.appointment-admin-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.appointment-admin-row{
    display:grid;
    grid-template-columns:1fr auto 200px;
    align-items:center;
    gap:24px;
    padding:22px 26px;
    background:#fff;
}

.slot-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:9px;
}

.calendar-error{
    color:#963c3c;
    font-size:12px;
    line-height:1.5;
    text-align:right;
}

.calendar-link{
    color:#277349;
    font-size:12px;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.appointment-admin-row strong,
.appointment-admin-row div span{
    display:block;
}

.appointment-admin-row div span{
    margin-top:8px;
    color:#666;
    font-size:14px;
}

.customer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}

.customer-card{
    padding:38px 28px;
    background:#fff;
    text-align:center;
}

.customer-avatar-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5ebd7;
    color:#b69252;
    font-size:32px;
}

.customer-card h3{
    margin-bottom:10px;
    font:500 30px/1.2 'Cormorant Garamond', serif;
}

.customer-card p{
    margin-bottom:14px;
    color:#666;
    font-size:14px;
}

.customer-card small{
    display:block;
    margin-bottom:28px;
    color:#888;
}

.customer-actions{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.action-approve{
    width:100%;
    border:0;
    cursor:pointer;
    font-family:inherit;
}

.action-secondary{
    padding:8px 15px;
    border:0;
    background:transparent;
    color:#8f6d37;
    cursor:pointer;
    font:500 12px 'Montserrat', sans-serif;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.customer-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.customer-row{
    display:grid;
    grid-template-columns:1fr auto 150px;
    align-items:center;
    gap:24px;
    padding:22px 26px;
    background:#fff;
}

.customer-row strong,
.customer-row span:first-of-type{
    display:block;
}

.customer-row div span{
    margin-top:7px;
    color:#666;
    font-size:14px;
}

@media(max-width:768px){

    .not-found-page{
        padding-top:120px;
    }

    .not-found-code{
        font-size:92px;
    }

    .not-found-card h1{
        font-size:44px;
    }

    .portal-page{
        padding:124px 16px 70px;
    }

    .portal-card{
        padding:44px 20px;
    }

    .portal-card h1{
        font-size:40px;
    }

    .appointment-item{
        align-items:flex-start;
        flex-direction:column;
    }

    .portal-treatment-grid{
        grid-template-columns:1fr;
    }

    .portal-booking-calendar{
        padding:16px 10px;
    }

    .booking-calendar-header strong{
        font-size:26px;
    }

    .booking-calendar-weekdays,
    .booking-calendar-days{
        gap:4px;
    }

    .booking-calendar-day{
        min-height:56px;
        padding:7px 4px;
    }

    .booking-calendar-day span{
        font-size:9px;
    }

    .portal-time-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .dashboard-page{
        padding:118px 0 70px;
    }

    .dashboard-heading h1{
        font-size:44px;
    }

    .dashboard-stats{
        grid-template-columns:1fr;
    }

    .dashboard-section h2{
        font-size:36px;
    }

    .slot-create-form,
    .appointment-admin-row{
        grid-template-columns:1fr;
    }

    .dashboard-availability-controls{
        justify-content:flex-start;
    }

    .dashboard-calendar{
        padding:13px 8px;
    }

    .dashboard-calendar-header strong{
        font-size:26px;
    }

    .dashboard-calendar-weekdays,
    .dashboard-calendar-days{
        gap:2px;
    }

    .dashboard-calendar-day,
    .dashboard-calendar-blank{
        min-height:56px;
    }

    .dashboard-slot-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        padding:14px;
    }

    .dashboard-booking-card{
        padding:20px 15px;
    }

    .dashboard-booking-actions{
        flex-wrap:wrap;
    }

    .calendar-connection-card{
        align-items:flex-start;
        flex-direction:column;
    }

    .slot-actions{
        align-items:flex-start;
    }

    .customer-row{
        grid-template-columns:1fr;
        gap:18px;
    }

}
