/* ASH client application. Sidebar/Bento composition inspired by Aceternity UI;
   scoped here so the public salon and staff agenda retain their own design. */
body.customer-app{--bg:#0d0f12;--muted:#a9afbb;--accent:#e8c56b;--app-stroke:#ffffff12;--app-surface:linear-gradient(140deg,#ffffff04,transparent 65%),#171a20;background:var(--bg)}
.customer-app .app-sidebar{background:linear-gradient(180deg,#181b20,#12151a);border-color:var(--app-stroke)}
.customer-app .app-brand{font-size:12px;letter-spacing:-.015em;margin-bottom:24px}
.customer-app .app-brand small{font-size:8px;letter-spacing:2px;margin-top:2px}
.customer-app .app-sidebar nav{position:relative;isolation:isolate}
.customer-app .app-sidebar nav>a,.customer-app .app-sidebar nav button,.customer-app .app-group-links a{position:relative;z-index:1}
.customer-app .app-sidebar nav [aria-current=page]{background:transparent;color:#f4d991}
.customer-app .app-sidebar nav>a,.customer-app .app-sidebar nav button{font-size:12px;transition:color 180ms,background 180ms}
/* Shared inner rounding matches the floating chrome and glass cards. */
.customer-app .app-sidebar :is(nav>a,nav button,.app-group-links a,.app-sidebar-bottom>a,.app-sidebar-bottom>button),.customer-app #sidebar-toggle{border-radius:12px}
/* Navigation icons stay crisp and untextured in both rail and drawer layouts. */
.customer-app .app-sidebar .app-nav-icon,.customer-app .app-topbar .app-nav-icon{stroke-width:1.75;display:block}
.customer-app .app-group-links .app-nav-icon{width:20px;height:20px;flex-basis:20px}
.customer-app .app-sidebar nav>a,.customer-app .app-sidebar nav button,.customer-app .app-sidebar .app-group-links a,.customer-app .app-sidebar-bottom>a,.customer-app .app-sidebar-bottom>button{background:transparent;border:0;box-shadow:none}
.customer-app .app-sidebar nav>a:hover,.customer-app .app-sidebar nav button:hover,.customer-app .app-sidebar .app-group-links a:hover,.customer-app .app-sidebar-bottom>a:hover,.customer-app .app-sidebar-bottom>button:hover{background:#ffffff07;color:#f3f4f6}
.customer-app .app-sidebar nav [aria-current=page],.customer-app .app-sidebar nav [aria-current=page]:hover{color:#f4d991}
.customer-app .app-topbar #sidebar-toggle:hover{background:#ffffff08;color:#f4d991}
.customer-app .app-sidebar-bottom>button:hover{color:#e5a8ab}
.customer-app .app-nav-group,.customer-app .app-group-links,.customer-app .app-sidebar-user{border-color:var(--app-stroke)}
.customer-app .app-nav-group>button{font-size:11px;color:#8e97a6}
.customer-app .app-active-marker{position:absolute;top:0;left:0;z-index:0;opacity:0;pointer-events:none;border:1px solid #e8c56b20;border-radius:12px;background:linear-gradient(110deg,#e8c56b16,#e8c56b05);transition:transform 180ms ease,width 180ms,height 180ms,opacity 150ms}
.customer-app .app-active-marker::before{content:"";position:absolute;left:-1px;top:calc(50% - 7px);height:14px;width:2px;border-radius:2px;background:var(--accent)}
.customer-app .app-topbar{background:#101318f5;border-color:var(--app-stroke)}
.customer-app #app-section-label{color:#b9c0cb;font-size:12px}
.customer-app .app-avatar{background:linear-gradient(140deg,#e8c56b1f,#e8c56b08);border-color:#e8c56b26;color:#f1d690;border-radius:50%;font-weight:500}
.customer-app .app-page-heading{margin-bottom:26px}
.customer-app .app-page-heading h1{font-size:28px;font-weight:550;letter-spacing:-.055em}
.customer-app .app-page-heading .eyebrow{color:#8f98a7;font-size:9px;letter-spacing:1.8px}
.customer-app .app-page-heading p:not(.eyebrow){font-size:12px}
.customer-app .app-primary-link,.customer-app button.primary{min-height:44px;border-radius:12px;background:linear-gradient(180deg,#f0d58e,#e4bf65);border:1px solid #f5dfa15c;box-shadow:inset 0 1px 0 #fff4,0 3px 12px #0002;color:#261f10;font-weight:600;transition:background 180ms,border-color 180ms,box-shadow 180ms}
.customer-app .app-primary-link:hover,.customer-app button.primary:hover{background:linear-gradient(180deg,#f7e2ac,#ebca7a);box-shadow:inset 0 1px 0 #fff4,0 3px 16px #e8c56b12}
.customer-app button,.customer-app .action{min-height:44px;border-color:#ffffff17;background:#ffffff05;transition:background 180ms,border-color 180ms,color 180ms}
.customer-app button:hover,.customer-app .action:hover{background:#ffffff0b;border-color:#ffffff30}
body.customer-app .panel,.customer-app .app-surface{background:var(--app-surface);border-color:var(--app-stroke);border-radius:16px;box-shadow:inset 0 1px 0 #ffffff04,0 8px 24px #0001}
.customer-app .app-dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:16px}
.customer-app .app-featured{position:relative;isolation:isolate;padding:26px;background:radial-gradient(ellipse at 0 0,#e8c56b08,transparent 65%),var(--app-surface)}
.customer-app .app-card-kicker{margin:0 0 12px;font-size:9px;letter-spacing:1.8px;text-transform:uppercase;color:var(--accent)}
.customer-app .app-featured .app-section-heading{margin-bottom:24px}
.customer-app .app-featured .app-section-heading h2{font-size:20px;font-weight:550;letter-spacing:-.04em}
.customer-app .app-section-heading button{background:transparent;min-height:36px;border-color:transparent;color:#a1a9b7}
.customer-app .app-section-heading button:hover{border-color:#ffffff1a;color:#fff}
.customer-app .app-featured .app-date-tile{flex-basis:64px;height:80px;background:linear-gradient(160deg,#e8c56b1a,#e8c56b05);border-color:#e8c56b26;border-radius:12px}
.customer-app .app-featured .app-date-tile strong{font-size:30px;font-weight:500}
.customer-app .app-featured .app-appointment-heading h3{font-size:17px;font-weight:550}
.customer-app .app-featured .app-appointment-content>.actions{margin-top:24px}
.customer-app .app-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:16px 0;border:1px solid var(--app-stroke);border-radius:16px;background:#13161b}
.customer-app .app-stats>div{background:none;border:0;border-left:1px solid var(--app-stroke);border-radius:0;padding:2px 24px}
.customer-app .app-stats>div:first-child{border-left:0}
.customer-app .app-stats span{font-size:10px;color:#a8afbc}
.customer-app .app-stats strong{font-size:22px;font-weight:500;letter-spacing:-.05em;line-height:1.2;margin:7px 0 4px}
.customer-app .app-stats small{font-size:10px;color:#8d96a5}
.customer-app .app-salon-info{padding:24px}
.customer-app .app-salon-info .eyebrow{font-size:9px;color:#8f98a7}
.customer-app .app-salon-info h2{font-family:Oswald,Arial,sans-serif;font-size:24px;letter-spacing:0;font-weight:500;margin-bottom:10px}
.customer-app .app-salon-info>p:not(.eyebrow){font-size:12px;line-height:1.7;margin-bottom:20px}
.customer-app .app-info-line{font-size:11px;border-color:var(--app-stroke);padding:10px 0}
.customer-app .app-salon-info>a{font-size:11px}
.customer-app .app-appointment{border-radius:16px;border-color:var(--app-stroke);background:var(--app-surface);padding:22px}
.customer-app #next-booking .app-appointment{padding:0;background:transparent;border:0}
.customer-app .app-status{display:inline-flex;align-items:center;gap:6px;border:1px solid #ffffff0a;border-radius:20px;font-size:9px;padding:4px 8px}
.customer-app .app-status::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.customer-app .app-status-confirmed{background:#7bc6a00c;color:#a0cfb7;border-color:#7bc6a022}
.customer-app button.app-cancel,.customer-app button.danger{color:#e5a8ab;background:#e58c8c06;border-color:#e58c8c20}
.customer-app button.app-cancel:hover,.customer-app button.danger:hover{color:#ffd2d2;border-color:#e58c8c55;background:#e58c8c0c}
.customer-app .app-cancel-confirm{border-radius:12px;background:#e58c8c06;border-color:#e58c8c26}
.customer-app .app-empty{padding:18px 8px}
.customer-app .app-empty-icon{border-color:#e8c56b26;border-radius:50%;background:#e8c56b09}
.customer-app .app-empty h3{font-size:16px;font-weight:500}
.customer-app .app-empty p{font-size:12px}
body.customer-app :is(#profile-form,#password-form) input,.customer-app.reservation-page input{background:#101318;border:1px solid #ffffff1c;border-radius:12px;box-shadow:inset 0 1px 2px #0001;font-size:16px;min-height:46px}
body.customer-app :is(#profile-form,#password-form) input:focus,.customer-app.reservation-page input:focus{border-color:#e8c56b80;outline:2px solid #e8c56b25;outline-offset:2px;box-shadow:none}
.customer-app .slots{gap:10px}
.customer-app .slots button{min-height:46px;border-radius:12px;background:#ffffff03}
.customer-app .slots button[aria-pressed=true]{background:#e8c56b12;color:#f5d997;border-color:#e8c56b88;box-shadow:inset 0 0 0 1px #e8c56b22}
.customer-app .message{border-left-width:2px;background:#e8c56b09;color:#d8c38d}
.customer-app .message.success{background:#7bc6a009;color:#a9d7bf}
.customer-app .app-load-error{color:#d4a7aa;font-size:12px}
.customer-app #next-booking[aria-busy=true]{opacity:.55}
.customer-app button[aria-busy=true]::before,.customer-app form[aria-busy=true] button[type=submit]::before{content:"";flex:0 0 12px;width:12px;height:12px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:app-button-progress .8s linear infinite}
@keyframes app-button-progress{to{transform:rotate(360deg)}}
.customer-app .auth-welcome h2{font-family:Inter,Arial,sans-serif;font-size:clamp(32px,3.3vw,44px);line-height:1.14;text-transform:none;letter-spacing:-.06em;font-weight:550;max-width:360px;margin:18px 0}
.customer-app .auth-welcome>p{font-size:13px;max-width:300px}
.customer-app .auth-welcome ul{margin:22px 0;font-size:11px;max-width:330px}
body.customer-app #auth-panel{background:var(--app-surface);border:1px solid var(--app-stroke);border-radius:16px;box-shadow:0 16px 48px #0002}
body.customer-app #auth-panel #auth-title{font-size:23px;font-weight:550;letter-spacing:-.045em}
body.customer-app #auth-panel .auth-input{border-width:1px;border-color:#ffffff1a;border-radius:12px;background:#111419}
body.customer-app #auth-panel .auth-input:focus-within{border-color:#e8c56b80;outline:2px solid #e8c56b20;outline-offset:2px;background:#15191f}
body.customer-app #auth-panel .auth-modes{padding:3px;border:1px solid #ffffff0b;border-radius:12px;background:#0d1015}
body.customer-app #auth-panel .auth-modes button{min-height:36px;border:0;border-radius:7px;font-size:11px}
body.customer-app #auth-panel .auth-modes button[aria-pressed=true]{background:#242931;color:#f0d794;box-shadow:0 1px 3px #0003}
body.customer-app #auth-panel .auth-footer a{color:#b0b7c2}

@media(max-width:1100px){.customer-app .app-dashboard-grid{grid-template-columns:minmax(0,1fr)}.customer-app .app-featured{order:0}.customer-app .app-stats{order:1}.customer-app .app-salon-info{order:2}}
@media(max-width:760px){
 .customer-app .app-page-heading h1{font-size:25px}
 .customer-app .app-page-heading{gap:18px;margin-bottom:22px}
 .customer-app .app-featured{padding:20px}
 .customer-app .app-featured .app-section-heading h2{font-size:17px}
 .customer-app .app-featured .app-section-heading{gap:8px;margin-bottom:20px}
 .customer-app .app-featured .app-date-tile{flex-basis:48px;height:68px}
 .customer-app .app-featured .app-date-tile strong{font-size:25px}
 .customer-app .app-featured .app-appointment-heading h3{font-size:15px}
 .customer-app .app-featured .app-appointment-content>.actions{margin-top:18px}
 .customer-app .app-stats{padding:14px 0}
 .customer-app .app-stats>div{padding:0 10px}
 .customer-app .app-stats strong{font-size:21px}
 .customer-app .app-stats small{font-size:9px}
 .customer-app .app-stats span{font-size:10px}
 .customer-app .app-salon-info{padding:20px}
 .customer-app .app-appointment{padding:18px;gap:12px}
 body.customer-app #auth-panel .auth-modes button{min-height:44px}
 body.customer-app #auth-panel .auth-footer a{min-height:44px;display:inline-flex;align-items:center}
}
/* One width drives the sidebar, topbar and workspace during hover/focus preview.
   Only the explicit toggle persists an expanded/collapsed preference. */
@media(min-width:761px){
 .customer-app.sidebar-collapsed.sidebar-preview{--sidebar-width:248px}
 .customer-app.sidebar-collapsed:not(.sidebar-preview) .app-sidebar :is(nav>a,nav button,.app-group-links a,.app-sidebar-bottom>a,.app-sidebar-bottom>button){justify-content:center;padding-left:0;padding-right:0}
 .customer-app.sidebar-collapsed.sidebar-preview .app-sidebar{box-shadow:16px 0 40px #0005}
 .customer-app.sidebar-preview .app-sidebar .nav-label{display:block}
 .customer-app.sidebar-preview .app-nav-group>button svg:last-child{display:block}
 .customer-app.sidebar-preview .app-brand{margin:0 10px 24px}
 .customer-app.sidebar-preview .app-group-links{margin-left:21px;padding-left:10px;border-left:1px solid var(--app-stroke)}
 .customer-app.sidebar-preview .app-sidebar-user{margin:18px 10px 12px}
}
@media(prefers-reduced-motion:reduce){.customer-app .app-active-marker,.customer-app button,.customer-app .action,.customer-app .app-primary-link,.customer-app .app-sidebar nav>a{transition:none}.customer-app button[aria-busy=true]::before,.customer-app form[aria-busy=true] button[type=submit]::before{animation:none}}
@media(forced-colors:active){.customer-app .app-active-marker{border:1px solid Highlight;background:Canvas}.customer-app .app-sidebar nav [aria-current=page]{color:Highlight}.customer-app .app-status{border:1px solid currentColor}}
