/* =========================================================
   ACCOUNT / AUTH DRAWER
   ========================================================= */
body.auth-open{
  overflow:hidden;
  overscroll-behavior:none;
}

.nav-book-btn[hidden]{display:none!important;}

.auth-panel{
  position:fixed;
  inset:0;
  z-index:1400;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}

.auth-panel.open{
  opacity:1;
  pointer-events:auto;
}

.auth-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}

.auth-drawer{
  position:absolute;
  top:0;
  right:0;
  width:min(94vw,560px);
  height:100%;
  overflow:auto;
  padding:36px 32px 30px;
  border-left:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 82% 7%,rgba(200,255,31,.08),transparent 24%),
    linear-gradient(180deg,rgba(255,255,255,.014),transparent 36%),
    #0b0b0b;
  box-shadow:-30px 0 90px rgba(0,0,0,.46);
  transform:translateX(100%);
  transition:transform .34s cubic-bezier(.22,.78,.16,1);
}

.auth-panel.open .auth-drawer{transform:translateX(0);}

.auth-limit-toast{
  position:fixed;
  top:24px;
  right:24px;
  z-index:1750;
  width:min(410px,calc(100vw - 32px));
  min-height:92px;
  padding:16px 48px 16px 16px;
  display:grid;
  grid-template-columns:38px 1fr;
  gap:13px;
  align-items:center;
  border:1px solid rgba(255,97,90,.5);
  background:rgba(15,12,12,.98);
  box-shadow:0 24px 70px rgba(0,0,0,.5);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-14px);
  transition:opacity .24s ease,transform .32s cubic-bezier(.22,.78,.16,1),visibility .24s ease;
}

.auth-limit-toast::after{
  content:"";
  position:absolute;
  inset:-1px auto -1px -1px;
  width:3px;
  background:#ff615a;
}

.auth-limit-toast.show{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.auth-limit-mark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,97,90,.6);
  color:#ff716b;
  font-size:18px;
  font-weight:900;
}

.auth-limit-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.auth-limit-copy strong{color:#fff;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.auth-limit-copy span{color:#c5c1b9;font-size:12px;line-height:1.45}
.auth-limit-close{
  position:absolute;
  top:8px;
  right:10px;
  width:28px;
  height:28px;
  border:0;
  background:transparent;
  color:#8e8b85;
  font:inherit;
  font-size:20px;
  cursor:pointer;
}
.auth-limit-close:hover,.auth-limit-close:focus-visible{color:#fff}

@media(max-width:620px){
  .auth-limit-toast{top:max(12px,env(safe-area-inset-top));right:12px;width:calc(100vw - 24px)}
}

.auth-close{
  position:absolute;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.025);
  color:#fff;
  font:inherit;
  font-size:23px;
  cursor:pointer;
}

.auth-brand{
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.auth-title{
  max-width:430px;
  margin:20px 54px 0 0;
  font-size:clamp(42px,5vw,70px);
  line-height:.89;
  letter-spacing:-.06em;
  text-transform:uppercase;
}

.auth-copy{
  max-width:430px;
  margin:20px 0 0;
  color:rgba(255,255,255,.56);
  font-size:14px;
  line-height:1.65;
}

.auth-booking-saved{
  max-width:430px;
  margin:22px 0 0;
  padding:16px 2px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  align-items:center;
  border-top:1px solid rgba(255,255,255,.11);
  border-bottom:1px solid rgba(255,255,255,.11);
  background:linear-gradient(90deg,rgba(200,255,31,.035),transparent 72%);
}

.auth-booking-saved-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  color:var(--accent);
  background:rgba(200,255,31,.07);
}

.auth-booking-saved-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:square;
  stroke-linejoin:miter;
}

.auth-booking-saved-copy{
  min-width:0;
  display:block;
}

.auth-booking-saved-copy strong{
  display:block;
  color:var(--accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
}

.auth-booking-saved-copy > span{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.66);
  font-size:12px;
  line-height:1.5;
}

.auth-booking-saved[hidden]{display:none !important;}

@media(min-width:1100px){
  .auth-booking-saved-copy strong{font-size:10px;}
  .auth-booking-saved-copy > span{font-size:14px;}
}

.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:34px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

.auth-tab{
  position:relative;
  padding:14px 0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.42);
  font:inherit;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
}

.auth-tab::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background:var(--accent);
  transform:scaleX(0);
  transition:transform .22s ease;
}

.auth-tab.active{color:#fff;}
.auth-tab.active::after{transform:scaleX(1);}

.auth-view{
  display:none;
  padding-top:26px;
}

.auth-view.active{display:block;}

.auth-view[hidden],
.auth-tabs[hidden]{display:none !important;}

.auth-field + .auth-field{margin-top:17px;}

.auth-field label{
  display:block;
  margin-bottom:9px;
  color:rgba(255,255,255,.62);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.auth-field input{
  width:100%;
  height:54px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:0;
  background:rgba(255,255,255,.02);
  color:#fff;
  font:inherit;
  font-size:15px;
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}

.auth-field input:focus{
  border-color:rgba(200,255,31,.55);
  box-shadow:0 0 0 3px rgba(200,255,31,.07);
}

.auth-phone-wrap{
  display:flex;
  align-items:center;
  height:54px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.02);
  transition:border-color .2s ease,box-shadow .2s ease;
}

.auth-phone-wrap[hidden]{display:none !important;}

.auth-phone-wrap:focus-within{
  border-color:rgba(200,255,31,.55);
  box-shadow:0 0 0 3px rgba(200,255,31,.07);
}

.auth-phone-country-shell{
  position:relative;
  flex:0 0 118px;
  align-self:stretch;
  border-right:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.025);
  transition:background-color .2s ease;
}

.auth-phone-country-shell:hover,
.auth-phone-country-shell:focus-within{
  background:rgba(200,255,31,.055);
}

.auth-phone-country{
  width:100%;
  height:100%;
  padding:0 34px 0 14px;
  border:0;
  border-radius:0;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  color:var(--accent);
  font:inherit;
  font-size:12px;
  font-weight:800;
  letter-spacing:.065em;
  outline:none;
  cursor:pointer;
}

.auth-phone-country option{
  background:#101010;
  color:#f5f5f5;
  font-weight:700;
}

.auth-phone-country-chevron{
  position:absolute;
  top:50%;
  right:14px;
  width:10px;
  height:7px;
  transform:translateY(-50%);
  color:var(--accent);
  pointer-events:none;
}

.auth-phone-country-chevron path{
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:square;
  stroke-linejoin:miter;
}

.auth-phone-wrap input{
  height:52px;
  border:0 !important;
  background:transparent;
  box-shadow:none !important;
}

.auth-submit{
  width:100%;
  min-height:52px;
  margin-top:20px;
  border:1px solid var(--accent);
  background:var(--accent);
  color:#0b0b0b;
  font:inherit;
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .2s ease,filter .2s ease;
}

.auth-submit:hover{transform:translateY(-2px);filter:brightness(1.03);}

.auth-submit:disabled{
  cursor:wait;
  opacity:.68;
  transform:none;
  filter:none;
}

.auth-hint{
  margin-top:13px;
  color:rgba(255,255,255,.38);
  font-size:12px;
  line-height:1.55;
}

.auth-prototype-message{
  position:absolute;
  right:32px;
  bottom:28px;
  left:32px;
  z-index:4;
  padding:15px 16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  color:rgba(255,255,255,.78);
  font-size:14px;
  font-weight:600;
  line-height:1.55;
  letter-spacing:.005em;
  box-shadow:0 18px 50px rgba(0,0,0,.42);
  pointer-events:none;
  animation:authResultIn .22s ease both;
}

.auth-prototype-message[hidden]{display:none!important;}

.auth-result-text{display:inline;}

.auth-result-dismiss{display:none;}

.auth-prototype-message[data-state="error"]{
  border-color:rgba(255,143,143,.24);
  background:rgba(255,143,143,.07);
  color:#ffb0b0;
}

.auth-prototype-message[data-state="success"]{
  border-color:rgba(200,255,31,.25);
  background:linear-gradient(135deg,rgba(200,255,31,.10),rgba(200,255,31,.035));
  box-shadow:0 12px 30px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035);
  color:#e8ff9f;
  font-size:16px;
  line-height:1.5;
}

.auth-prototype-message[data-state="success"]::before{
  content:"✓";
  display:inline-grid;
  width:22px;
  height:22px;
  margin-right:10px;
  border:1px solid rgba(200,255,31,.42);
  border-radius:50%;
  background:rgba(200,255,31,.08);
  place-items:center;
  color:var(--accent);
  font-size:12px;
  vertical-align:1px;
}

.auth-prototype-message[data-state="pending"]{
  border-color:rgba(200,255,31,.18);
  background:rgba(200,255,31,.045);
  color:rgba(255,255,255,.82);
}

@keyframes authResultIn{
  from{opacity:0;transform:translateY(5px);}
  to{opacity:1;transform:translateY(0);}
}

.auth-account-view{
  padding-top:28px;
}

.auth-account-view[hidden]{display:none;}

.auth-account-toolbar{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:0 0 22px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

.auth-account-label{
  display:block;
  color:rgba(255,255,255,.4);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.auth-account-email{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:700;
}

.auth-account-logout{
  flex:0 0 auto;
  min-height:38px;
  padding:0 15px;
  border:1px solid rgba(200,255,31,.32);
  background:transparent;
  color:var(--accent);
  font:inherit;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}

.auth-account-logout:hover{
  background:var(--accent);
  color:#0b0b0b;
}

.auth-account-logout:disabled{
  cursor:wait;
  opacity:.55;
}

.auth-profile-details{
  margin-top:24px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.018);
  transition:border-color .2s ease,box-shadow .2s ease;
}

.auth-profile-details[hidden]{display:none;}
.auth-profile-details[open]{border-color:rgba(200,255,31,.24);box-shadow:0 12px 30px rgba(0,0,0,.14);}

.auth-profile-details > summary{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  min-height:82px;
  padding:0 22px;
  cursor:pointer;
  list-style:none;
  transition:background-color .2s ease;
}

.auth-profile-details > summary::-webkit-details-marker{display:none;}
.auth-profile-details > summary:hover{background:rgba(200,255,31,.04);}
.auth-profile-details > summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
.auth-profile-details > summary span{display:flex;flex:1;flex-direction:column;gap:5px;}
.auth-profile-details > summary small{color:rgba(255,255,255,.52);font-size:14px;font-weight:600;}
.auth-profile-email-row span{
  color:var(--accent);
  font-size:14px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.auth-profile-details > summary strong{color:#fff;font-size:16px;}
.auth-profile-summary-icon{box-sizing:border-box;width:38px;height:38px;padding:8px;border:1px solid rgba(200,255,31,.2);background:rgba(200,255,31,.035);fill:none;stroke:var(--accent);stroke-width:1.5;}
.auth-profile-summary-chevron{width:12px;fill:none;stroke:var(--accent);stroke-width:1.5;transition:transform .2s ease;}
.auth-profile-details[open] .auth-profile-summary-chevron{transform:rotate(180deg);}
.auth-profile-form{padding:22px;border-top:1px solid rgba(255,255,255,.09);background:rgba(0,0,0,.12);}
.auth-profile-form .auth-field{margin-bottom:16px;}
.auth-profile-form .auth-field label{font-size:14px;}
.auth-profile-email-row{display:flex;justify-content:space-between;gap:14px;margin:3px 0 18px;color:rgba(255,255,255,.76);font-size:14px;}
.auth-profile-email-row strong{overflow-wrap:anywhere;text-align:right;}
.auth-profile-submit{margin-top:0;}

.auth-appointments{margin-top:26px;}

.auth-appointments-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.auth-appointments-heading h3{
  margin:0;
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.auth-appointments-count{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border:1px solid rgba(200,255,31,.28);
  color:var(--accent);
  font-size:10px;
  font-weight:900;
}

.auth-appointments-empty{
  margin-top:14px;
  padding:25px 22px 22px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(135deg,rgba(200,255,31,.045),transparent 48%),
    rgba(255,255,255,.018);
}

.auth-appointments-empty-mark{
  display:block;
  color:var(--accent);
  font-size:25px;
  font-weight:300;
  line-height:1;
}

.auth-appointments-empty strong{
  display:block;
  margin-top:18px;
  color:#fff;
  font-size:15px;
}

.auth-appointments-empty p{
  margin:8px 0 0;
  color:rgba(255,255,255,.45);
  font-size:12px;
  line-height:1.55;
}

.auth-appointments-empty button{
  margin-top:20px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--accent);
  font:inherit;
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  cursor:pointer;
}

.auth-appointments-empty button:hover{
  text-decoration:underline;
  text-underline-offset:5px;
}

.auth-appointments-list{
  display:grid;
  gap:10px;
  margin-top:14px
}
.auth-appointment-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035)
}
.auth-appointment-card strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.35
}
.auth-appointment-card small{
  display:block;
  margin-top:5px;
  color:rgba(255,255,255,.5);
  font-size:10px;
  line-height:1.45
}
.auth-appointment-card time{
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em
}

.auth-appointment-actions{
  display:grid;
  justify-items:end;
  gap:9px;
}

.auth-appointment-cancel{
  padding:0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.25);
  background:transparent;
  color:rgba(255,255,255,.55);
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  line-height:1.7;
  text-transform:uppercase;
  cursor:pointer;
}

.auth-appointment-cancel:hover,
.auth-appointment-cancel:focus-visible{
  border-color:#ff8f86;
  color:#ffaaa3;
}

.auth-appointment-cancel:disabled{
  border-color:transparent;
  cursor:wait;
  opacity:.55;
}

.auth-cancel-modal{
  position:fixed;
  inset:0;
  z-index:1650;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

.auth-cancel-modal.open{
  opacity:1;
  pointer-events:auto;
}

.auth-cancel-modal-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(9px);
  cursor:default;
}

.auth-cancel-modal-card{
  position:relative;
  width:min(100%,520px);
  max-height:min(760px,calc(100vh - 40px));
  overflow:auto;
  padding:34px;
  border:1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 100% 0,rgba(200,255,31,.09),transparent 32%),
    #101210;
  box-shadow:0 34px 100px rgba(0,0,0,.66);
  transform:translateY(14px) scale(.985);
  transition:transform .25s cubic-bezier(.22,.78,.16,1);
}

.auth-cancel-modal.open .auth-cancel-modal-card{transform:none}

.auth-cancel-modal-close{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.11);
  border-radius:50%;
  background:rgba(255,255,255,.025);
  color:#fff;
  font:inherit;
  font-size:22px;
  cursor:pointer;
}

.auth-cancel-modal-close:disabled{cursor:wait;opacity:.4}

.auth-cancel-modal-kicker{
  color:var(--accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
}

.auth-cancel-modal-card h2{
  margin:18px 48px 0 0;
  color:#fff;
  font-size:clamp(31px,5vw,46px);
  line-height:.98;
  letter-spacing:-.045em;
  text-transform:uppercase;
}

.auth-cancel-modal-form > p:not(.auth-cancel-modal-error){
  max-width:420px;
  margin:15px 0 0;
  color:rgba(255,255,255,.55);
  font-size:12px;
  line-height:1.6;
}

.auth-cancel-modal-appointment{
  margin-top:22px;
  padding:13px 15px;
  border-left:2px solid var(--accent);
  background:rgba(200,255,31,.055);
  color:#fff;
  font-size:11px;
  font-weight:800;
  line-height:1.5;
}

.auth-cancel-reasons{
  display:grid;
  gap:9px;
  margin:24px 0 0;
  padding:0;
  border:0;
}

.auth-cancel-reasons legend{
  margin-bottom:10px;
  color:rgba(255,255,255,.6);
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.auth-cancel-reason{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 19px;
  gap:17px;
  align-items:center;
  min-height:78px;
  padding:15px 17px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.025);
  cursor:pointer;
  transition:border-color .18s ease,background-color .18s ease;
}

.auth-cancel-reason:hover,
.auth-cancel-reason:has(input:focus-visible){border-color:rgba(200,255,31,.42)}
.auth-cancel-reason:has(input:checked){
  border-color:rgba(200,255,31,.66);
  background:rgba(200,255,31,.07);
}

.auth-cancel-reason input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}

.auth-cancel-reason span{min-width:0}
.auth-cancel-reason strong{
  display:block;
  color:#fff;
  font-size:12px;
}
.auth-cancel-reason small{
  display:block;
  margin-top:5px;
  color:rgba(255,255,255,.45);
  font-size:10px;
  line-height:1.45;
}
.auth-cancel-reason i{
  grid-column:2;
  grid-row:1;
  width:17px;
  height:17px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:50%;
  box-shadow:inset 0 0 0 4px #101210;
}
.auth-cancel-reason input:checked ~ i{
  border-color:var(--accent);
  background:var(--accent);
}

.auth-cancel-modal-error{
  min-height:17px;
  margin:13px 0 0;
  color:#ff9f98;
  font-size:10px;
  line-height:1.45;
}

.auth-cancel-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:8px;
}

.auth-cancel-modal-actions button{
  min-height:44px;
  padding:0 17px;
  border:1px solid rgba(255,255,255,.14);
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
}

.auth-cancel-modal-actions .auth-cancel-modal-confirm{
  border-color:#ff8178;
  background:#ff8178;
  color:#170807;
}

.auth-cancel-modal-actions button:disabled{
  cursor:not-allowed;
  opacity:.35;
}

.auth-cancel-modal-success[hidden]{display:none}

.auth-cancel-modal-success{
  min-height:430px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:28px 0 18px;
  text-align:center;
  outline:none;
  animation:authCancelSuccessIn .42s cubic-bezier(.22,.78,.16,1) both;
}

.auth-cancel-success-mark{
  width:88px;
  height:88px;
  color:var(--accent);
  filter:drop-shadow(0 12px 30px rgba(200,255,31,.12));
}

.auth-cancel-success-mark svg{
  width:100%;
  height:100%;
  overflow:visible;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.auth-cancel-success-mark circle{
  stroke-width:1.5;
  stroke-dasharray:132;
  stroke-dashoffset:132;
  animation:authCancelCircle .55s .08s ease-out forwards;
}

.auth-cancel-success-mark path{
  stroke-width:3;
  stroke-dasharray:28;
  stroke-dashoffset:28;
  animation:authCancelCheck .38s .48s ease-out forwards;
}

.auth-cancel-modal-success .auth-cancel-modal-kicker{
  display:block;
  margin-top:23px;
}

.auth-cancel-modal-success h2{
  max-width:430px;
  margin:18px auto 0;
}

.auth-cancel-modal-success > p{
  max-width:420px;
  margin:16px auto 0;
  color:rgba(255,255,255,.7);
  font-size:14px;
  line-height:1.65;
}

.auth-cancel-modal-success .auth-cancel-modal-appointment{
  width:100%;
  max-width:440px;
  margin-top:25px;
  text-align:left;
  animation:authCancelDetailIn .38s .62s ease both;
}

@keyframes authCancelSuccessIn{
  from{opacity:0;transform:translateY(12px) scale(.985)}
  to{opacity:1;transform:none}
}

@keyframes authCancelCircle{to{stroke-dashoffset:0}}
@keyframes authCancelCheck{to{stroke-dashoffset:0}}

@keyframes authCancelDetailIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}

@media (max-width:560px){
  .auth-cancel-modal{padding:12px}
  .auth-cancel-modal-card{padding:27px 20px 22px}
  .auth-cancel-modal-actions{display:grid;grid-template-columns:1fr}
  .auth-cancel-modal-actions .auth-cancel-modal-confirm{grid-row:1}
}

@media (max-width:430px){
  .auth-appointment-card{align-items:start}
  .auth-appointment-actions{justify-items:end}
}

.auth-appointments-history{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:14px;
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.32);
}

.auth-appointments-history span{
  display:block;
  color:rgba(255,255,255,.68);
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.auth-appointments-history small{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.38);
  font-size:11px;
}

.auth-barber-dashboard{
  margin-top:26px;
  padding:27px 24px 25px;
  border:1px solid rgba(200,255,31,.2);
  background:
    linear-gradient(135deg,rgba(200,255,31,.1),transparent 54%),
    rgba(255,255,255,.018);
}

.auth-barber-dashboard[hidden]{display:none;}

.auth-barber-dashboard-kicker{
  color:var(--accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}

.auth-barber-dashboard h3{
  margin:18px 0 0;
  color:#fff;
  font-size:20px;
  line-height:1.15;
}

.auth-barber-dashboard p{
  margin:10px 0 0;
  color:rgba(255,255,255,.5);
  font-size:12px;
  line-height:1.6;
}

.auth-barber-dashboard a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  margin-top:22px;
  padding:0 17px;
  background:var(--accent);
  color:#0b0b0b;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
  text-decoration:none;
  text-transform:uppercase;
  transition:background .2s ease,transform .2s ease;
}

.auth-barber-dashboard a:hover{
  background:#ddff75;
  transform:translateY(-2px);
}

.auth-benefits{
  margin-top:34px;
  border-top:1px solid rgba(255,255,255,.08);
}

.auth-benefits > div{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:center;
  min-height:56px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.auth-benefits span{
  color:var(--accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.auth-benefits strong{
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}

@media(max-width:950px){
  .nav-account-btn{
    width:42px;
    padding:0;
  }
  .nav-account-label{display:none;}
  .nav-account-icon,
  .nav-account-icon svg{width:18px;height:18px;}
}

@media(max-width:620px){
  html:has(body.auth-open){
    overflow:hidden;
    overscroll-behavior:none;
  }
  body.auth-open{
    position:fixed;
    top:var(--auth-scroll-offset,0);
    right:0;
    bottom:0;
    left:0;
    width:100%;
  }
  .auth-panel{
    height:100dvh;
    overflow:hidden;
    overscroll-behavior:none;
    background:#0b0b0b;
  }
  .auth-backdrop{display:none;}
  .nav-account-btn{
    width:30px;
    height:30px;
    border-color:rgba(255,255,255,.08);
  }
  .nav-account-icon,
  .nav-account-icon svg{width:15px;height:15px;}
  .auth-drawer{
    position:fixed;
    inset:0;
    width:100%;
    height:100dvh;
    max-height:100dvh;
    padding:28px 20px 24px;
    border-left:0;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
  .auth-panel.open .auth-drawer{
    /* A transformed ancestor becomes the containing block for fixed children.
       Remove the completed slide transform so mobile messages stay viewport-fixed. */
    transform:none;
  }
  .auth-prototype-message,
  .auth-prototype-message[data-state="success"],
  .auth-prototype-message[data-state="pending"],
  .auth-prototype-message[data-state="error"]{
    position:fixed;
    top:max(12px,env(safe-area-inset-top));
    right:12px;
    bottom:auto;
    left:12px;
    z-index:1760;
    width:auto;
    min-height:92px;
    margin:0;
    padding:18px 48px 18px 66px;
    display:flex;
    align-items:center;
    border:1px solid rgba(255,255,255,.18);
    border-radius:0;
    background:rgba(15,15,14,.98);
    box-shadow:0 24px 70px rgba(0,0,0,.5);
    color:#dddcd6;
    text-align:left;
    font-size:12px;
    font-weight:650;
    line-height:1.5;
    letter-spacing:0;
    pointer-events:auto;
    animation:authMobileToastIn .3s cubic-bezier(.22,.78,.16,1) both;
  }

  .auth-prototype-message::after{
    content:"";
    position:absolute;
    inset:-1px auto -1px -1px;
    width:3px;
    background:#aaa8a0;
  }

  .auth-prototype-message::before{
    content:"i";
    position:absolute;
    top:50%;
    left:16px;
    width:34px;
    height:34px;
    margin:0;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.3);
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:#d5d3cc;
    font-size:15px;
    font-weight:900;
    line-height:1;
    transform:translateY(-50%);
    animation:none;
  }

  .auth-prototype-message[data-state="success"]{
    border-color:rgba(200,255,31,.4);
    background:rgba(13,16,11,.98);
    color:#e8f5c3;
  }
  .auth-prototype-message[data-state="success"]::after{background:var(--accent);}
  .auth-prototype-message[data-state="success"]::before{
    content:"✓";
    border-color:rgba(200,255,31,.55);
    color:var(--accent);
  }

  .auth-prototype-message[data-state="error"]{
    border-color:rgba(255,97,90,.5);
    background:rgba(15,12,12,.98);
    color:#f0c4c1;
  }
  .auth-prototype-message[data-state="error"]::after{background:#ff615a;}
  .auth-prototype-message[data-state="error"]::before{
    content:"!";
    border-color:rgba(255,97,90,.6);
    color:#ff716b;
  }

  .auth-prototype-message[data-state="pending"]{
    border-color:rgba(200,255,31,.32);
    background:rgba(13,15,12,.98);
    color:#e4e7dc;
  }
  .auth-prototype-message[data-state="pending"]::after{background:var(--accent);}
  .auth-prototype-message[data-state="pending"]::before{
    content:"";
    width:28px;
    height:28px;
    left:19px;
    border:2px solid rgba(200,255,31,.22);
    border-top-color:var(--accent);
    border-radius:50%;
    animation:authMobileResultSpin .75s linear infinite;
  }

  .auth-result-text{
    display:block;
    max-width:none;
  }

  .auth-result-dismiss,
  .auth-prototype-message[data-state="success"] .auth-result-dismiss{
    position:absolute;
    top:8px;
    right:9px;
    width:30px;
    min-width:0;
    height:30px;
    min-height:0;
    margin:0;
    padding:0;
    display:block;
    overflow:hidden;
    border:0;
    border-radius:0;
    background:transparent;
    color:transparent;
    font-size:0;
    cursor:pointer;
  }
  .auth-result-dismiss::after{
    content:"×";
    color:#aaa8a0;
    font-size:21px;
    font-weight:400;
    line-height:28px;
  }

  @keyframes authMobileToastIn{
    from{opacity:0;transform:translateY(-14px)}
    to{opacity:1;transform:translateY(0)}
  }

  @keyframes authMobileResultSpin{to{transform:translateY(-50%) rotate(360deg)}}
  .auth-phone-wrap input,
  .auth-phone-country{font-size:16px;}
  .auth-title{
    margin-top:18px;
    font-size:42px;
  }
  .auth-copy{font-size:13px;}
}


/* Email OTP auth refinement */
.auth-hint{
  font-size:13px !important;
  line-height:1.6 !important;
  color:rgba(255,255,255,.46) !important;
}
.auth-field input[type="email"]{
  text-transform:none;
}


/* =========================================================
   AUTH VALIDATION
   ========================================================= */
.auth-field{
  position:relative;
}

.auth-field-error{
  display:block;
  min-height:18px;
  margin-top:7px;
  color:#ff8f8f;
  font-size:11px;
  line-height:1.35;
  opacity:0;
  transform:translateY(-2px);
  transition:opacity .18s ease,transform .18s ease;
}

.auth-field.auth-field-invalid .auth-field-error{
  opacity:1;
  transform:translateY(0);
}

.auth-field.auth-field-invalid input{
  border-color:rgba(255,96,96,.62) !important;
  box-shadow:0 0 0 3px rgba(255,96,96,.065) !important;
}

.auth-field.auth-field-invalid .auth-phone-wrap{
  border-color:rgba(255,96,96,.62) !important;
  box-shadow:0 0 0 3px rgba(255,96,96,.065) !important;
}

.auth-field.auth-field-invalid .auth-phone-wrap input{
  box-shadow:none !important;
}

.auth-field.auth-field-invalid label{
  color:#ff9e9e !important;
}

.auth-field input[aria-invalid="false"]:focus{
  border-color:rgba(200,255,31,.55);
  box-shadow:0 0 0 3px rgba(200,255,31,.07);
}

@media(min-width:1600px){
  .auth-field-error{
    font-size:12px;
  }
}


@keyframes authInvalidNudge{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-5px)}
  50%{transform:translateX(5px)}
  75%{transform:translateX(-3px)}
}
.auth-field.auth-field-invalid{
  animation:authInvalidNudge .28s ease;
}


/* PASSWORD AUTH */
.auth-password-wrap{position:relative}
.auth-password-wrap input{padding-right:88px !important}
.auth-password-toggle{position:absolute;top:50%;right:10px;transform:translateY(-50%);min-width:64px;height:32px;padding:0 9px;border:0;border-left:1px solid rgba(255,255,255,.08);background:transparent;color:rgba(255,255,255,.50);cursor:pointer;font:inherit;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.auth-password-toggle:hover{color:#fff}

/* =========================================================
   TWO-STEP LOGIN
   ========================================================= */
.auth-login-identifier-switch{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  margin-bottom:20px;
  padding:4px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.018);
}

.auth-login-identifier-switch button{
  min-height:40px;
  padding:0 14px;
  border:1px solid transparent;
  background:transparent;
  color:rgba(255,255,255,.42);
  font:inherit;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
  cursor:pointer;
  transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease;
}

.auth-login-identifier-switch button:hover{
  color:#fff;
  transform:translateY(-1px);
}

.auth-login-identifier-switch button.active{
  border-color:rgba(200,255,31,.28);
  background:rgba(200,255,31,.075);
  color:var(--accent);
}

.auth-login-identifier-switch button:focus-visible{
  outline:2px solid rgba(200,255,31,.55);
  outline-offset:1px;
}

.auth-login-stage[hidden],
.auth-login-method-panel[hidden],
.auth-otp-field[hidden],
.auth-otp-actions[hidden],
.auth-secondary-action[hidden]{
  display:none !important;
}

.auth-login-stage{
  animation:authStageIn .22s ease both;
}

@keyframes authStageIn{
  from{opacity:0;transform:translateX(12px)}
  to{opacity:1;transform:translateX(0)}
}

.auth-login-identity{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:20px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.018);
}

.auth-login-identity-label{
  display:block;
  color:rgba(255,255,255,.42);
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.auth-login-identity strong{
  display:block;
  margin-top:6px;
  color:#fff;
  font-size:12px;
  word-break:break-word;
}

.auth-login-change,
.auth-link-action{
  border:0;
  background:transparent;
  color:#c8ff1f;
  cursor:pointer;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:5px 0;
  transition:color .18s ease,opacity .18s ease,transform .16s ease;
}

.auth-login-change:hover,
.auth-link-action:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.auth-link-action:active:not(:disabled){transform:scale(.97);}

.auth-link-action:disabled{
  cursor:not-allowed;
  opacity:.48;
  text-decoration:none;
}

.auth-forgot-password,
.auth-reset-back{
  display:block;
  margin:14px auto 0;
}

.auth-reset-intro{
  margin:0 0 18px;
  color:rgba(255,255,255,.58);
  font-size:12px;
  line-height:1.55;
}

.auth-login-method-title{
  margin-bottom:11px;
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.auth-login-methods{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:18px;
}

.auth-login-method-card{
  min-height:92px;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.012);
  color:#fff;
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.auth-login-method-card:hover{
  border-color:rgba(255,255,255,.20);
  transform:translateY(-1px);
}

.auth-login-method-card.active{
  border-color:rgba(200,255,31,.38);
  background:rgba(200,255,31,.05);
}

.auth-login-method-card strong{
  display:block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.auth-login-method-card span{
  display:block;
  margin-top:7px;
  color:rgba(255,255,255,.46);
  font-size:10px;
  line-height:1.45;
}

.auth-login-method-panel{
  animation:authStageIn .18s ease both;
}

.auth-secondary-action{
  width:100%;
  min-height:45px;
  margin-top:2px;
  border:1px solid rgba(200,255,31,.25);
  background:rgba(200,255,31,.035);
  color:#c8ff1f;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:background-color .18s ease,border-color .18s ease,transform .16s ease,opacity .18s ease;
}

.auth-secondary-action:hover{
  background:rgba(200,255,31,.07);
}

.auth-secondary-action:active:not(:disabled){transform:scale(.985);}

.auth-secondary-action:disabled{
  cursor:wait;
  opacity:.62;
}

.auth-secondary-action[data-loading]::before,
.auth-link-action[data-loading]::before{
  content:"";
  display:inline-block;
  width:10px;
  height:10px;
  margin:0 8px -1px 0;
  border:1.5px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:authOtpButtonSpin .72s linear infinite;
}

.auth-otp-status{
  display:flex;
  gap:9px;
  align-items:flex-start;
  margin-bottom:12px;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.07);
  color:rgba(255,255,255,.52);
  font-size:10px;
  line-height:1.45;
  transition:border-color .24s ease,background-color .24s ease,color .24s ease,transform .24s ease;
}

.auth-otp-status[data-state="sent"]{
  border-color:rgba(200,255,31,.25);
  background:rgba(200,255,31,.045);
  color:rgba(238,255,190,.82);
}

.auth-otp-status.is-pulsing{animation:authOtpStatusPulse .58s cubic-bezier(.22,.78,.16,1);}

.auth-otp-status-dot{
  flex:0 0 auto;
  width:6px;
  height:6px;
  margin-top:4px;
  border-radius:50%;
  background:#c8ff1f;
  box-shadow:0 0 10px rgba(200,255,31,.35);
}

.auth-otp-status.is-pulsing .auth-otp-status-dot{animation:authOtpDotPulse .72s ease;}

.auth-otp-field{
  margin-top:14px;
}

.auth-otp-field.is-revealing{animation:authOtpReveal .34s cubic-bezier(.22,.78,.16,1) both;}

.auth-otp-field input{
  letter-spacing:.30em;
  font-size:18px;
  font-weight:900;
}

.auth-otp-field input.is-ready{animation:authOtpInputReady .62s ease both;}

.auth-otp-actions{
  display:grid;
  gap:8px;
  margin-top:2px;
}

.auth-otp-actions.is-revealing{animation:authOtpReveal .34s .07s cubic-bezier(.22,.78,.16,1) both;}

@keyframes authOtpButtonSpin{to{transform:rotate(360deg)}}

@keyframes authOtpReveal{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes authOtpStatusPulse{
  0%{transform:scale(.985)}
  45%{transform:scale(1.012);box-shadow:0 0 0 4px rgba(200,255,31,.045)}
  100%{transform:scale(1);box-shadow:none}
}

@keyframes authOtpDotPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 10px rgba(200,255,31,.35)}
  45%{transform:scale(1.65);box-shadow:0 0 18px rgba(200,255,31,.75)}
}

@keyframes authOtpInputReady{
  0%{border-color:rgba(200,255,31,.15);box-shadow:0 0 0 0 rgba(200,255,31,0)}
  45%{border-color:rgba(200,255,31,.6);box-shadow:0 0 0 4px rgba(200,255,31,.08)}
  100%{border-color:rgba(200,255,31,.34);box-shadow:0 0 0 0 rgba(200,255,31,0)}
}

@media(max-width:520px){
  .auth-login-methods{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   DESKTOP READABILITY
   Keep functional copy comfortable to scan without changing
   the compact mobile layout.
   ========================================================= */
@media (min-width:900px){
  .auth-copy{
    color:rgba(255,255,255,.68);
    font-size:15px;
    line-height:1.7;
  }

  .auth-appointments-empty p{
    color:rgba(255,255,255,.58);
    font-size:13px;
    line-height:1.6;
  }

  .auth-appointment-card small{
    color:rgba(255,255,255,.62);
    font-size:12px;
    line-height:1.55;
  }

  .auth-appointment-cancel{
    font-size:10px;
  }

  .auth-cancel-modal-card{
    width:min(100%,590px);
    padding:40px;
  }

  .auth-cancel-modal-kicker,
  .auth-cancel-reasons legend{
    font-size:11px;
  }

  .auth-cancel-modal-form > p:not(.auth-cancel-modal-error){
    max-width:480px;
    color:rgba(255,255,255,.7);
    font-size:15px;
    line-height:1.65;
  }

  .auth-cancel-modal-appointment{
    margin-top:24px;
    padding:14px 16px;
    font-size:13px;
    line-height:1.55;
  }

  .auth-cancel-reason{
    min-height:82px;
    padding:16px 18px;
  }

  .auth-cancel-reason strong{
    font-size:14px;
    line-height:1.35;
  }

  .auth-cancel-reason small{
    color:rgba(255,255,255,.62);
    font-size:13px;
    line-height:1.5;
  }

  .auth-cancel-modal-actions{
    margin-top:10px;
  }

  .auth-cancel-modal-actions button{
    min-height:46px;
    padding-inline:19px;
    font-size:11px;
  }

  .auth-login-method-card span,
  .auth-otp-status{
    color:rgba(255,255,255,.6);
    font-size:11px;
    line-height:1.55;
  }
}

/* =========================================================
   LARGE-SCREEN READABILITY
   Keep secondary account text legible when the drawer is
   viewed on desktop and high-resolution displays.
   ========================================================= */
@media (min-width:1440px){
  .auth-drawer{
    width:min(42vw,660px);
    padding:44px 42px 38px;
  }

  .auth-close{
    width:44px;
    height:44px;
  }

  .auth-brand,
  .auth-account-label,
  .auth-booking-saved-copy strong,
  .auth-cancel-modal-kicker,
  .auth-cancel-reasons legend,
  .auth-barber-dashboard-kicker{
    font-size:11px;
  }

  .auth-title{
    max-width:520px;
    font-size:clamp(64px,4.2vw,80px);
  }

  .auth-copy{
    max-width:510px;
    font-size:16px;
  }

  .auth-tab,
  .auth-submit,
  .auth-appointments-heading h3,
  .auth-benefits strong{
    font-size:13px;
  }

  .auth-field label,
  .auth-appointments-count,
  .auth-appointments-empty button,
  .auth-appointment-cancel,
  .auth-barber-dashboard a,
  .auth-login-identifier-switch button,
  .auth-login-method-title,
  .auth-secondary-action{
    font-size:11px;
  }

  .auth-account-email,
  .auth-booking-saved-copy > span,
  .auth-appointments-empty p,
  .auth-appointment-card time,
  .auth-appointments-history small,
  .auth-barber-dashboard p,
  .auth-hint,
  .auth-login-identity strong{
    font-size:14px;
  }

  .auth-appointments-empty strong,
  .auth-appointment-card strong{
    font-size:16px;
  }

  .auth-appointment-card{
    gap:20px;
    padding:19px 20px;
  }

  .auth-appointment-card small{
    margin-top:7px;
    color:rgba(255,255,255,.62);
    font-size:13px;
  }

  .auth-appointments-history span{
    font-size:12px;
  }

  .auth-appointments-history small{
    color:rgba(255,255,255,.5);
  }

  .auth-cancel-modal-card{
    width:min(100%,590px);
    padding:40px;
  }

  .auth-cancel-modal-form > p:not(.auth-cancel-modal-error),
  .auth-cancel-reason strong{
    font-size:15px;
  }

  .auth-cancel-modal-appointment,
  .auth-cancel-reason small,
  .auth-cancel-modal-actions button{
    font-size:13px;
  }

  .auth-login-method-card strong{
    font-size:12px;
  }

  .auth-login-method-card span,
  .auth-otp-status{
    font-size:12px;
  }
}

@media(prefers-reduced-motion:reduce){
  .auth-prototype-message,
  .auth-prototype-message::before{
    animation:none!important;
  }
  .auth-secondary-action,
  .auth-link-action,
  .auth-secondary-action::before,
  .auth-link-action::before,
  .auth-otp-status,
  .auth-otp-status-dot,
  .auth-otp-field,
  .auth-otp-field input,
  .auth-otp-actions{
    animation:none!important;
    transition:none!important;
  }
  .auth-cancel-modal-success,
  .auth-cancel-success-mark circle,
  .auth-cancel-success-mark path,
  .auth-cancel-modal-success .auth-cancel-modal-appointment{
    animation:none!important;
  }

  .auth-cancel-success-mark circle,
  .auth-cancel-success-mark path{
    stroke-dashoffset:0;
  }
}
