/* 26Booking account experience. */
.auth-page {
  --auth-ink: #132d50;
  --auth-muted: #667890;
  --auth-line: #dce5ef;
  --auth-blue: #1677ff;
  background: #f8faff !important;
  color: var(--auth-ink) !important;
  display: grid !important;
  grid-template-columns: minmax(330px, 43%) minmax(0, 1fr) !important;
  min-height: 100dvh;
  padding: 0 !important;
}
.auth-page::before { display: none !important; }
.auth-page .app-alert-success { background: #edf8f1; color: #216a49; border-color: #c9e8d6; }
.auth-page .app-alert-danger { background: #fff1f3; color: #a92f45; border-color: #f0d5dc; }
.auth-story {
  position: sticky;
  top: 0;
  isolation: isolate;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px clamp(32px, 5.2vw, 88px);
  overflow: hidden;
  background: linear-gradient(148deg, #102d53 10%, #0b2448 68%, #10408c);
  color: #f4f8ff;
}
.auth-story::before, .auth-story::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 580px;
  height: 580px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  right: -360px;
  top: 17%;
}
.auth-story::after { width: 760px; height: 760px; right: -450px; top: 5%; }
.auth-wordmark { display: inline-flex; width: fit-content; }
.auth-wordmark img { display: block; width: 222px; height: auto; max-width: 100%; }
.auth-story > div { margin: 55px 0; max-width: 360px; }
.auth-kicker { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #91b9f2; }
.auth-story h1 { font-size: clamp(32px, 3.3vw, 51px); font-weight: 600; line-height: 1.23; letter-spacing: -1.8px; margin: 24px 0; }
.auth-story em { color: #7db8ff; font-style: normal; }
.auth-story p { color: #b4c7e0; font-size: 15px; line-height: 1.9; }
.auth-story-card { display: flex; align-items: center; gap: 15px; margin-top: 36px; padding: 21px; border: 1px solid #a8caff2c; border-radius: 18px; background: #ffffff08; box-shadow: 0 14px 38px #03153230; transform: rotate(-2deg); }
.auth-story-card > b { display: grid; place-items: center; background: #1677ff26; border: 1px solid #7db8ff35; color: #9acbff; width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; }
.auth-story-card > span { font-size: 12px; color: #aabedb; line-height: 1.8; }
.auth-story-card strong { color: #fff; font-weight: 500; }
.auth-story-card > i { margin-left: auto; color: #76b3ff; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: #a4bcdb; font-size: 12px; transition: color .2s; }
.auth-back:hover { color: #fff; }
.auth-page .ui-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; width: 20px; height: 20px; }
.auth-back .ui-icon { width: 16px; height: 16px; }
.auth-story-card > i .ui-icon { width: 25px; height: 25px; }
.auth-page .app-auth-container { width: 100% !important; max-width: 620px !important; padding: 56px clamp(30px, 4.5vw, 64px) !important; margin: auto !important; }
.auth-page .app-auth-container--wide { max-width: 750px !important; }
.auth-page .app-login-card, .auth-page .app-form-card { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
.auth-page .app-auth-brand { margin-bottom: 34px !important; text-align: left; align-items: flex-start; }
.auth-page .app-auth-brand__link { background: transparent; border-radius: 0; padding: 0; }
.auth-page .auth-full-logo { display: block; width: 194px; height: auto; max-width: 100%; object-fit: contain; }
.auth-page .app-auth-brand p { color: var(--auth-muted) !important; font-size: 12px !important; line-height: 1.6; margin-top: 13px !important; }
.auth-form-heading { margin-bottom: 28px; }
.auth-form-kicker { display: inline-flex; align-items: center; gap: 7px; color: #2568bb; font-size: 11px; font-weight: 500; margin-bottom: 14px; }
.auth-form-kicker .ui-icon { width: 16px; height: 16px; }
.auth-page h2 { color: var(--auth-ink) !important; font-size: 29px !important; line-height: 1.25; font-weight: 600; letter-spacing: -.9px; text-align: left; margin: 0 0 10px !important; }
.auth-form-heading > p { color: var(--auth-muted); font-size: 13px; line-height: 1.8; max-width: 440px; }
.auth-form > div + div { margin-top: 20px; }
.auth-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-page .app-label { display: block; color: #334d6d !important; font-size: 13px !important; font-weight: 500 !important; margin-bottom: 8px; }
.auth-page .app-input, .auth-page .app-textarea, .auth-page select { width: 100%; background: #fff !important; color: var(--auth-ink) !important; border: 1px solid #d6e0ec !important; border-radius: 11px !important; box-shadow: 0 2px 3px #10284b02 !important; font-size: 14px !important; min-height: 50px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.auth-page .app-input::placeholder { color: #9aa9bc !important; }
.auth-page .app-input:hover, .auth-page .app-textarea:hover { border-color: #b7c8dc !important; }
.auth-page .app-input:focus, .auth-page .app-textarea:focus, .auth-page select:focus { outline: 0 !important; border-color: var(--auth-blue) !important; box-shadow: 0 0 0 4px #1677ff12 !important; }
.auth-page .app-textarea { resize: vertical; min-height: 94px; }
.auth-field-hint { color: #7b8ba1; font-size: 11px; margin-top: 7px; line-height: 1.6; }
.auth-page .app-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; margin-top: 25px; padding: 14px 20px; background: var(--auth-blue) !important; border: 1px solid var(--auth-blue) !important; color: #fff !important; box-shadow: 0 6px 18px #1677ff1c !important; border-radius: 11px !important; font-size: 14px !important; font-weight: 600; transition: background .2s, box-shadow .2s, transform .2s; }
.auth-page .app-btn-primary .ui-icon { width: 18px; height: 18px; }
.auth-page .app-btn-primary:hover { background: #0868ef !important; box-shadow: 0 8px 22px #1677ff30 !important; transform: translateY(-1px); }
.auth-page .app-btn-primary:active { transform: translateY(0); }
.auth-page .app-btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.auth-page .app-link { color: #0964d9 !important; }
.auth-page .app-auth-footer { color: #6d7f97 !important; font-size: 12px !important; border-top: 1px solid var(--auth-line); margin-top: 27px !important; padding-top: 22px; line-height: 1.9; }
.auth-page .app-auth-footer p + p { margin-top: 8px; }
.auth-page .app-auth-footer--row { gap: 8px 20px; justify-content: space-between; }
.auth-login-hint, .auth-checkout-hint { display: flex; align-items: flex-start; gap: 8px; color: #7a8ba1; font-size: 11px; line-height: 1.7; margin-top: 18px; }
.auth-login-hint .ui-icon, .auth-checkout-hint .ui-icon { width: 15px; height: 15px; margin-top: 1px; }
.auth-checkout-hint { justify-content: center; }
.auth-page .text-pos-muted { color: var(--auth-muted) !important; }
.auth-page .border-pos-border { border-color: var(--auth-line) !important; }
.auth-role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; background: #eaf0f8; border: 1px solid #e1e9f3; border-radius: 12px; margin-bottom: 30px; }
.auth-role-tabs > a { display: flex; align-items: center; justify-content: center; min-height: 40px; font-size: 12px; font-weight: 500; text-align: center; color: #72849c; border-radius: 8px; transition: color .2s, background .2s; }
.auth-role-tabs > a:hover { color: #0964d9; }
.auth-role-tabs > a[aria-current] { background: #fff; color: #0964d9; box-shadow: 0 2px 6px #10284b09; }
.auth-info-note { background: #eaf3ff; border: 1px solid #d1e4ff; color: #4d6d97; font-size: 12px; line-height: 1.85; padding: 16px; border-radius: 12px; margin-bottom: 24px; }
.auth-form-section { margin-top: 28px !important; padding-bottom: 27px; border-bottom: 1px solid var(--auth-line); }
.auth-form-section:first-of-type { margin-top: 0 !important; }
.auth-form-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.auth-section-heading { display: flex; align-items: center; gap: 10px; color: #203c61; font-size: 14px; font-weight: 600; margin-bottom: 19px; }
.auth-section-heading > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #d5e4f8; border-radius: 8px; background: #edf4ff; color: #3675c8; font-size: 10px; font-weight: 600; }
.auth-section-description { font-size: 12px; color: var(--auth-muted); line-height: 1.8; margin: -7px 0 18px; }
.auth-page .app-plan-option { display: flex; align-items: center; gap: 13px; padding: 17px 16px; background: #fff !important; border: 1px solid #d9e3ef !important; border-radius: 11px; color: #203c61 !important; box-shadow: none !important; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.auth-page .app-plan-option:hover { border-color: #98bbeb !important; }
.auth-page .app-plan-option:has(input:checked) { border-color: #1677ff !important; background: #f0f6ff !important; box-shadow: 0 0 0 1px #1677ff15 !important; }
.auth-page .app-plan-option__body { display: flex; flex: 1; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 15px; }
.auth-page .app-plan-option__title { color: #203c61 !important; font-size: 13px; font-weight: 600; }
.auth-page .app-plan-option__price { color: #56749b !important; font-size: 12px; }
.auth-page .slug-auto-hint { color: #7b8da6 !important; font-size: 11px; line-height: 1.7; }
.auth-page input[type=radio] { accent-color: #1677ff; width: 17px; height: 17px; flex-shrink: 0; }
.auth-page .slug-status { font-size: 12px; border-radius: 9px; }
.auth-page .slug-status--available { color: #16703e; background: #eefaf3; border-color: #cee9da; }
.auth-page .slug-status--checking { color: #3165a5; background: #eef5ff; border-color: #d9e7fa; }
.auth-page .slug-status--taken, .auth-page .slug-status--invalid { color: #b34040; background: #fff2f2; border-color: #f5d6d6; }
.auth-page a:focus-visible, .auth-page button:focus-visible { outline: 3px solid #1677ff65; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .auth-page .app-auth-container { animation: auth-enter .45s ease-out both; }
  .auth-story-card { animation: auth-card-enter .65s ease-out both; }
  @keyframes auth-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes auth-card-enter { from { opacity: 0; transform: translateY(12px) rotate(-2deg); } to { opacity: 1; transform: translateY(0) rotate(-2deg); } }
}
@media (max-width: 1000px) {
  .auth-page { grid-template-columns: minmax(290px, 37%) minmax(0, 1fr) !important; }
  .auth-story { padding: 38px 30px; }
  .auth-story h1 { font-size: 34px; }
  .auth-story-card { padding: 16px; gap: 10px; }
  .auth-story-card > i { display: none; }
  .auth-page .app-auth-container { padding: 42px 35px !important; }
}
@media (max-width: 740px) {
  .auth-page { display: block !important; }
  .auth-story { display: none; }
  .auth-page .app-auth-container { padding: 40px 24px max(32px, env(safe-area-inset-bottom)) !important; max-width: 510px !important; min-height: 100dvh; display: flex; align-items: center; }
  .auth-page .app-auth-container--wide { max-width: 610px !important; align-items: flex-start; }
  .auth-page .app-auth-brand { margin-bottom: 30px !important; }
  .auth-page .auth-full-logo { width: 186px; }
  .auth-page h2 { font-size: 27px !important; }
  .auth-page .app-input, .auth-page .app-textarea, .auth-page select { font-size: 16px !important; }
}
@media (max-width: 390px) {
  .auth-page .app-auth-container { padding-left: 20px !important; padding-right: 20px !important; }
  .auth-field-grid { grid-template-columns: 1fr; }
  .auth-page h2 { font-size: 25px !important; }
  .auth-page .app-plan-option__body { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { animation: none !important; transition: none !important; }
}
.auth-page .auth-password-field { position: relative; }
.auth-page .auth-password-field .app-input { padding-right: 49px; }
.auth-page .auth-password-toggle { position: absolute; right: 6px; top: 5px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #7a8ea9; cursor: pointer; }
.auth-page .auth-password-toggle:hover, .auth-page .auth-password-toggle[aria-pressed="true"] { color: #1677ff; background: #edf4ff; }
.auth-page .auth-password-toggle .ui-icon { width: 19px; height: 19px; }
.auth-page form.is-submitting .app-btn-primary { opacity: .72; cursor: progress; }
