/* This stylesheet belongs only to the Fio login page. */
@font-face {
  font-family: "Fio Login Geist";
  src: url('/assets/geist-latin-20260930.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.fio-login {
  --login-ink: #102e48;
  --login-muted: #51677c;
  --login-blue: #1763a8;
  --login-red: #cf2636;
  color: var(--login-ink);
  background: #f3f8fc;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  font-family: "Fio Login Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.fio-login::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(110deg, #f8fbffe8 6%, #edf7ffe3 52%, #f8fbfff2 95%), url('/assets/barbershop-reference.webp') center top / cover no-repeat;
  pointer-events: none;
}
.fio-login::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 22% 60%, #79caff26, transparent 42%), radial-gradient(ellipse at 92% 15%, #fff, transparent 48%);
  pointer-events: none;
}
.fio-login .login-header,
.fio-login .auth-shell,
.fio-login .login-footer { width: min(1192px, calc(100% - 80px)); margin-inline: auto; }
.fio-login .login-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 30px 22px; }
.fio-login .login-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--login-ink); text-decoration: none; }
.fio-login .login-brand img { width: 43px; height: 48px; object-fit: contain; filter: drop-shadow(0 3px 3px #16487314); }
.fio-login .login-brand strong { display: block; font-size: 32px; font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
.fio-login .login-brand small { display: block; margin-top: 4px; font-size: 9px; font-weight: 650; letter-spacing: .14em; color: #506b81; }
.fio-login .login-home { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 15px; color: #38576e; font-size: 13px; font-weight: 600; text-decoration: none; border-radius: 12px; border: 1px solid #fff; background: #ffffff73; box-shadow: 0 3px 12px #33577605; transition: background .18s, box-shadow .18s; }
.fio-login .login-home svg { width: 17px; height: 17px; }
.fio-login .login-home:hover { background: #fff; box-shadow: 0 4px 14px #33577610; }
.fio-login .auth-shell { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .94fr); gap: 62px; align-items: center; min-height: min(740px, calc(100svh - 178px)); padding-block: 30px 38px; }
.fio-login .auth-brand { display: block; padding: 0; min-height: 0; background: none; color: var(--login-ink); }
.fio-login .auth-brand h1,
.fio-login .auth-card h2 { font-family: "Fio Login Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fio-login .login-intro { position: relative; z-index: 2; animation: login-enter .7s ease both; }
.fio-login .eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; color: #315c82; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.fio-login .eyebrow::before { content: ""; width: 27px; height: 2px; border-radius: 2px; background: #ce3041; }
.fio-login .auth-brand h1 { max-width: 540px; font-size: clamp(42px, 4.9vw, 65px); line-height: 1.035; letter-spacing: -.06em; font-weight: 800; margin: 0 0 21px; text-wrap: balance; }
.fio-login .auth-brand h1 em { display: block; font-style: normal; color: var(--login-blue); background: linear-gradient(110deg, #327ecb, #0a4479 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fio-login .login-intro > p { max-width: 390px; margin: 0; color: var(--login-muted); font-size: 17px; line-height: 1.65; }
.fio-login .login-scene { position: relative; width: min(100%, 550px); height: 300px; margin-top: 18px; pointer-events: none; perspective: 1100px; }
.fio-login .scene-aura { position: absolute; inset: 12% -4% -1% 0; background: radial-gradient(ellipse at center, #a2dfff80, #b3e5ff24 48%, transparent 70%); filter: blur(15px); }
.fio-login .scene-glass-back { position: absolute; width: 330px; height: 216px; top: 40px; left: 111px; border-radius: 25px; background: linear-gradient(125deg, #effaffbf, #cce5fb4d); border: 1px solid #fffffff2; box-shadow: 0 23px 32px -24px #265d913d, inset 0 1px 0 white; transform: rotateY(-12deg) rotate(7deg); }
.fio-login .scene-calendar { position: absolute; left: 75px; top: 21px; width: 348px; padding: 12px; border: 1px solid #fff; border-radius: 25px; background: linear-gradient(135deg, #ffffffa3, #ebf7ff66 60%, #e8f4ffc9); box-shadow: 0 30px 35px -23px #164f885e, 0 2px 1px #fff inset, 9px 1px 16px #edfaffb3 inset; backdrop-filter: blur(14px); transform: rotateY(12deg) rotate(-3deg); animation: login-panel-float 8s ease-in-out infinite; }
.fio-login .scene-window { height: 24px; display: flex; align-items: flex-start; justify-content: space-between; padding: 3px 5px 7px; }
.fio-login .scene-window > span { display: flex; gap: 5px; }
.fio-login .scene-window i { width: 5px; height: 5px; border-radius: 50%; background: #bfd1e1; }
.fio-login .scene-window i:first-child { background: #d8a4ae; }
.fio-login .scene-window > b { width: 49px; height: 5px; background: #d7e5f1; border-radius: 9px; }
.fio-login .scene-surface { border-radius: 16px; padding: 19px 19px 5px; background: linear-gradient(135deg, #fff, #ffffffdb); box-shadow: 0 6px 14px #24496a0d; }
.fio-login .scene-heading { display: flex; align-items: center; justify-content: space-between; color: #193953; font-size: 18px; font-weight: 750; letter-spacing: -.045em; }
.fio-login .scene-heading > svg { width: 28px; height: 28px; border-radius: 8px; background: #edf5fc; padding: 5px; color: #4c779a; }
.fio-login .scene-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 13px 0 7px; }
.fio-login .scene-week > span { display: grid; gap: 5px; padding: 6px 0; text-align: center; border-radius: 9px; color: #8aa0b3; font-size: 8px; }
.fio-login .scene-week b { font-size: 11px; color: #325879; font-weight: 700; }
.fio-login .scene-week > .selected { background: linear-gradient(155deg, #478ac8, #14558d); color: #e1f1ff; box-shadow: 0 4px 7px #154d8526; }
.fio-login .scene-week .selected b { color: white; }
.fio-login .scene-appointment { display: flex; gap: 9px; align-items: center; padding-block: 10px; border-top: 1px solid #eaf0f5; }
.fio-login .scene-avatar { width: 23px; height: 23px; border-radius: 8px; background: #fae7e9; box-shadow: inset 0 1px 1px #fff; }
.fio-login .scene-avatar.blue { background: #dcebf8; }
.fio-login .scene-avatar.pale { background: #e9edf6; }
.fio-login .scene-appointment > span { display: grid; gap: 5px; flex: 1; }
.fio-login .scene-appointment b { height: 5px; width: 83px; border-radius: 4px; background: #adc3d6; }
.fio-login .scene-appointment small { height: 4px; width: 56px; border-radius: 4px; background: #e1eaf1; }
.fio-login .scene-appointment > em { width: 37px; height: 13px; border-radius: 5px; background: #e7f1fa; }
.fio-login .scene-float { position: absolute; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffffffed, #edf7ffe0); border: 1px solid white; box-shadow: 0 15px 27px -10px #2b598c40, 0 1px 2px #fff inset; backdrop-filter: blur(10px); }
.fio-login .scene-float-calendar { width: 72px; height: 78px; left: 20px; top: 111px; border-radius: 19px; transform: rotate(-9deg); animation: login-icon-float 7s ease-in-out infinite; }
.fio-login .scene-float-calendar > svg { width: 39px; height: 39px; color: #ce3444; filter: drop-shadow(0 3px 3px #a82c3b14); }
.fio-login .scene-float-message { right: 0; bottom: 15px; gap: 9px; padding: 15px 17px 15px 12px; border-radius: 16px; transform: rotate(3deg); animation: login-note-float 9s ease-in-out infinite; }
.fio-login .scene-check { display: grid; place-items: center; width: 31px; height: 33px; border-radius: 11px; color: #2872ae; background: #e2f0fc; box-shadow: inset 0 1px 1px #fff; }
.fio-login .scene-check svg { width: 19px; height: 19px; }
.fio-login .scene-float-message b { display: block; color: #274862; font-size: 11px; font-weight: 750; }
.fio-login .scene-float-message small { display: block; margin-top: 4px; color: #688299; font-size: 9px; }
.fio-login .scene-orbit { position: absolute; border-radius: 50%; }
.fio-login .scene-orbit-blue { right: 37px; top: 24px; width: 15px; height: 15px; background: radial-gradient(circle at 30% 25%, #cee8ff, #4d93cb 66%, #2c628a); box-shadow: 0 7px 8px #48779c20; }
.fio-login .scene-orbit-red { left: 40px; bottom: 28px; width: 9px; height: 9px; background: radial-gradient(circle at 30% 25%, #ffbfc4, #d13e50 67%, #b72b3b); box-shadow: 0 5px 6px #ab294420; }
.fio-login .auth-brand .login-topics { display: flex; align-items: center; gap: 14px; margin: 14px 0 0 26px; color: #5d7488; font-size: 11px; font-weight: 600; }
.fio-login .login-topics i { width: 3px; height: 3px; border-radius: 50%; background: #9cb5cc; }
.fio-login .scene-calendar,
.fio-login .scene-float { backdrop-filter: none; }
.fio-login .auth-brand .login-topics { margin-top: 35px; color: #526b82; }
.fio-login .auth-main { min-width: 0; display: block; padding: 0; animation: login-enter .7s .12s ease both; }
.fio-login .auth-card { position: relative; width: 100%; margin: 0; padding: 43px 40px 29px; border: 1px solid #fff; border-radius: 29px; background: linear-gradient(135deg, #ffffffed, #ffffffc9 68%, #f9fcffe6); box-shadow: 0 27px 65px -27px #194f823d, 0 8px 16px #3d6a9910, inset 0 1px 1px #fff; backdrop-filter: blur(22px); }
.fio-login .auth-card::before { content: ""; position: absolute; inset: 12px -9px -10px 12px; border-radius: 29px; border: 1px solid #ffffffa6; background: linear-gradient(150deg, #e6f2ff26, #e6f2ff60); z-index: -1; pointer-events: none; }
.fio-login .login-card-accent { display: block; width: 30px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #da3445 0 54%, #23659c 54%); margin-bottom: 24px; }
.fio-login .auth-card h2 { margin: 0 0 9px; font-size: 33px; font-weight: 780; line-height: 1.15; letter-spacing: -.045em; color: var(--login-ink); }
.fio-login .auth-card > p { margin: 0 0 30px; font-size: 14px; line-height: 1.6; color: var(--login-muted); }
.fio-login .form { display: grid; gap: 20px; }
.fio-login .field { min-width: 0; display: grid; gap: 8px; }
.fio-login .field label { color: #294860; font-size: 13px; font-weight: 650; text-transform: none; letter-spacing: 0; }
.fio-login .input { min-height: 53px; width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #7b94a8; border-radius: 12px; color: var(--login-ink); background: #fafdffb3; box-shadow: inset 0 2px 3px #27496504, 0 1px 0 #fff; line-height: 1.5; transition: border-color .18s, box-shadow .18s, background .18s; }
.fio-login .input:hover { border-color: #a9c2d8; }
.fio-login .input:focus { outline: 3px solid #246cb42c; outline-offset: 2px; border-color: #4a86bd; background: #fff; }
.fio-login .input:-webkit-autofill,
.fio-login .input:-webkit-autofill:hover,
.fio-login .input:-webkit-autofill:focus { -webkit-text-fill-color: var(--login-ink); -webkit-box-shadow: 0 0 0 100px #f1f8ff inset; caret-color: var(--login-ink); }
.fio-login .input:autofill { color: var(--login-ink); background: #f1f8ff; }
.fio-login .button { min-height: 53px; border-radius: 12px; padding: 13px 18px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; }
.fio-login .button-primary { margin-top: 3px; color: #fff; background: linear-gradient(135deg, #e33b47, #cb2334 68%, #b91c31); box-shadow: 0 10px 19px -8px #bb243765, inset 0 1px 0 #ffffff30; border: 1px solid #c82234; transition: transform .18s, box-shadow .18s, filter .18s; }
.fio-login .button-primary:hover { transform: translateY(-2px); filter: brightness(1.025); box-shadow: 0 14px 22px -9px #b4273866, inset 0 1px 0 #ffffff30; }
.fio-login .button-primary:active { transform: translateY(0); }
.fio-login .button[disabled] { opacity: .6; transform: none; cursor: wait; }
.fio-login a:focus-visible,
.fio-login .button:focus-visible,
.fio-login input[type="checkbox"]:focus-visible { outline: 3px solid #236ba8; outline-offset: 4px; }
.fio-login .form-footer { gap: 12px; margin-top: 1px; padding-block: 2px; font-size: 12px; flex-wrap: wrap; }
.fio-login .form-footer a { color: #345c7c; font-weight: 650; text-decoration: none; text-underline-offset: 3px; }
.fio-login .form-footer a:last-child { color: #a72c3b; }
.fio-login .form-footer a:hover { text-decoration: underline; }
.fio-login .auth-card .login-auth-note { display: flex; align-items: flex-start; gap: 9px; padding-top: 24px; margin: 26px 0 0; border-top: 1px solid #deE8f0; color: #61758a; font-size: 11px; line-height: 1.6; }
.fio-login .login-auth-note > svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; color: #7291aa; }
.fio-login .alert { margin: 0 0 20px; padding: 12px 14px; border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.fio-login .alert:not(.show) { display: none; }
.fio-login .alert-error { color: #8b2635; background: #fff1f2; border-color: #f0c6ce; }
.fio-login .alert-info { color: #20537c; background: #eef7ff; border-color: #c9def0; }
.fio-login .alert-success { color: #226145; background: #effaf4; border-color: #c7e6d5; }
.fio-login #code { letter-spacing: .28em; font-size: 21px; font-weight: 650; }
.fio-login .field-help { color: #597189; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.fio-login .trusted-choice { gap: 11px; color: #304c66; font-size: 12px; line-height: 1.6; }
.fio-login .trusted-choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #225f9b; }
.fio-login .trusted-choice small { margin-top: 5px; color: #62758a; font-size: 11px; line-height: 1.6; }
.fio-login .button-quiet { min-height: 42px; margin-top: -9px; padding: 9px 12px; color: #365b7b; background: #edf5fc; border: 1px solid #dae8f3; font-size: 13px; }
.fio-login .button-quiet:hover { transform: none; background: #e1effa; }
.fio-login .login-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px 24px; border-top: 1px solid #d8e5ef99; color: #526b82; font-size: 10px; line-height: 1.6; }
@keyframes login-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes login-panel-float { 0%, 100% { transform: rotateY(12deg) rotate(-3deg) translateY(0); } 50% { transform: rotateY(12deg) rotate(-3deg) translateY(-5px); } }
@keyframes login-icon-float { 0%, 100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-7px); } }
@keyframes login-note-float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-5px); } }
@media (max-width: 1100px) {
  .fio-login .auth-shell { gap: 35px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .fio-login .auth-card { padding: 34px 29px 26px; }
  .fio-login .login-scene { width: 430px; margin-left: -17px; transform: scale(.89); transform-origin: left center; height: 285px; }
  .fio-login .scene-float-message { right: -17px; }
}
@media (max-width: 820px) {
  .fio-login .login-header, .fio-login .auth-shell, .fio-login .login-footer { width: min(660px, calc(100% - 48px)); }
  .fio-login .login-header { padding-block: 24px; }
  .fio-login .auth-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 31px; padding-block: 18px 42px; }
  .fio-login .auth-brand { text-align: center; }
  .fio-login .eyebrow { justify-content: center; margin-bottom: 15px; }
  .fio-login .auth-brand h1 { max-width: 570px; margin: 0 auto 15px; font-size: 48px; }
  .fio-login .auth-brand h1 em { display: inline; }
  .fio-login .login-intro > p { max-width: 420px; margin-inline: auto; font-size: 15px; }
  .fio-login .login-scene, .fio-login .auth-brand .login-topics { display: none; }
  .fio-login .auth-main { width: min(460px, 100%); margin-inline: auto; }
  .fio-login .auth-card { padding: 32px 32px 25px; }
  .fio-login .login-card-accent { margin-bottom: 21px; }
  .fio-login .auth-card h2 { font-size: 30px; }
  .fio-login .auth-card::before { inset: 10px -6px -8px 8px; }
  .fio-login .login-footer { font-size: 10px; }
}
@media (max-width: 480px) {
  .fio-login .login-header, .fio-login .auth-shell, .fio-login .login-footer { width: calc(100% - 36px); }
  .fio-login .login-header { padding-block: 20px; gap: 10px; }
  .fio-login .login-brand { gap: 8px; }
  .fio-login .login-brand img { width: 35px; height: 40px; }
  .fio-login .login-brand strong { font-size: 27px; }
  .fio-login .login-brand small { font-size: 7px; letter-spacing: .1em; }
  .fio-login .login-home { min-height: 40px; gap: 6px; padding: 8px 9px; font-size: 11px; border-radius: 10px; }
  .fio-login .login-home svg { width: 14px; height: 14px; }
  .fio-login .auth-shell { gap: 27px; padding-top: 15px; padding-bottom: 33px; }
  .fio-login .eyebrow { font-size: 9px; gap: 8px; margin-bottom: 13px; }
  .fio-login .eyebrow::before { width: 20px; }
  .fio-login .auth-brand h1 { font-size: clamp(33px, 9vw, 41px); max-width: 380px; line-height: 1.08; }
  .fio-login .login-intro > p { max-width: 310px; font-size: 13px; line-height: 1.65; }
  .fio-login .auth-card { border-radius: 23px; padding: 28px 23px 23px; }
  .fio-login .auth-card::before { border-radius: 23px; inset: 9px -4px -6px 7px; }
  .fio-login .auth-card h2 { font-size: 28px; }
  .fio-login .auth-card > p { font-size: 13px; margin-bottom: 26px; }
  .fio-login .login-card-accent { margin-bottom: 20px; }
  .fio-login .form { gap: 18px; }
  .fio-login .form-footer { gap: 8px; font-size: 11px; }
  .fio-login .auth-card .login-auth-note { margin-top: 23px; padding-top: 20px; font-size: 10px; }
  .fio-login .login-footer { justify-content: center; text-align: center; gap: 4px; padding-block: 17px 21px; }
  .fio-login .login-footer > span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fio-login *, .fio-login *::before, .fio-login *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fio-login .button:hover { transform: none; }
}
@media (forced-colors: active) {
  .fio-login .auth-brand h1 em { background: none; -webkit-text-fill-color: currentColor; }
  .fio-login .auth-card, .fio-login .input, .fio-login .button, .fio-login .login-home { border: 1px solid CanvasText; }
}
