/* YUKAPP account forms. All rules are scoped to the new account module. */
.yka-root {
  --yka-blue: var(--blue, #1663ee);
  --yka-blue-dark: var(--blue-dark, #124bbc);
  --yka-ink: var(--ink, #14243f);
  --yka-muted: #5c6d85;
  --yka-line: var(--line, #e7edf4);
  --yka-pale: var(--lightblue, #edf4ff);
  --yka-danger: #b13737;
  color: var(--yka-ink);
  min-width: 0;
  padding-bottom: 20px;
}
.yka-root *, .yka-root *::before, .yka-root *::after { box-sizing: border-box; }
.yka-root :where(button, input, select, textarea) { font: inherit; }
.yka-root :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #1663ee;
  outline-offset: 3px;
}
.yka-root :where(h1, h2, h3, p) { overflow-wrap: anywhere; }
.yka-pagehead { padding: 40px 0 30px; }
.yka-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--yka-muted); font-size: 12px; margin-bottom: 16px; }
.yka-breadcrumb a { color: var(--yka-blue-dark); }
.yka-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.yka-pagehead h1 { max-width: 880px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.yka-pagehead > p { max-width: 760px; font-size: 14px; line-height: 1.8; color: var(--yka-muted); }
.yka-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); gap: 28px; align-items: start; margin-bottom: 40px; }
.yka-layout-register { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); }
.yka-card { min-width: 0; padding: 32px; border: 1px solid var(--yka-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 42px #233e640a; }
.yka-card-heading h2 { font-size: 25px; line-height: 1.3; margin-bottom: 12px; }
.yka-card-heading > p { color: var(--yka-muted); font-size: 13px; line-height: 1.75; margin-bottom: 24px; }
.yka-eyebrow { display: block; color: var(--yka-blue-dark); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 800; margin-bottom: 12px; }
.yka-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; max-width: 100%; border: 1px solid transparent; border-radius: 10px;
  padding: 12px 20px; background: var(--yka-blue); color: #fff; cursor: pointer;
  font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center;
  text-decoration: none; white-space: normal; overflow-wrap: anywhere;
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.yka-button:hover { background: var(--yka-blue-dark); box-shadow: 0 4px 12px #1663ee1a; }
.yka-button.secondary, .yka-button.outline { background: #fff; color: var(--yka-blue-dark); border-color: #cbd9ec; }
.yka-button.secondary:hover, .yka-button.outline:hover { background: var(--yka-pale); border-color: #91b5ee; }
.yka-button.small { min-height: 40px; padding: 9px 14px; font-size: 12px; }
.yka-root button:disabled { opacity: .65; cursor: not-allowed; box-shadow: none; }
.yka-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--yka-line); padding-bottom: 15px; margin: -4px 0 23px; }
.yka-tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--yka-muted); }
.yka-tabs a:hover { color: var(--yka-blue-dark); background: #f4f8ff; }
.yka-tabs a[aria-current="page"] { color: var(--yka-blue-dark); background: var(--yka-pale); }
.yka-test-banner { border: 1px solid #f1d7b8; background: #fff8ef; padding: 15px 17px; border-radius: 12px; margin-bottom: 23px; }
.yka-test-pill { display: inline-block; background: #ffead2; color: #8a4818; font-size: 10px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.yka-test-banner p { font-size: 12px; line-height: 1.75; color: #78552f; margin: 0; }
.yka-signin { padding: 18px; margin: 0 0 24px; background: var(--yka-pale); border: 1px solid #d5e4fc; border-radius: 12px; }
.yka-signin h3 { font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
.yka-signin p { font-size: 12px; color: #516580; line-height: 1.8; margin-bottom: 14px; }
.yka-signin .yka-button { width: 100%; }
.yka-message { padding: 14px 16px; margin: 0 0 22px; border-radius: 11px; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.yka-message p { margin-bottom: 10px; }
.yka-message p:last-child { margin-bottom: 0; }
.yka-message .yka-button { margin-top: 5px; }
.yka-loading { color: var(--yka-blue-dark); background: var(--yka-pale); }
.yka-error { color: #9d3030; background: #fff3f2; border: 1px solid #efceca; }
.yka-success { color: #21644c; background: #eef8f2; border: 1px solid #cce7d8; }
.yka-section-heading { display: flex; align-items: flex-start; gap: 12px; margin: 30px 0 20px; padding-top: 25px; border-top: 1px solid var(--yka-line); }
.yka-section-heading:first-child { margin-top: 6px; padding-top: 0; border-top: 0; }
.yka-section-heading > span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; color: var(--yka-blue-dark); background: var(--yka-pale); font-size: 11px; font-weight: 800; }
.yka-section-heading h3 { font-size: 17px; line-height: 1.35; margin: 3px 0 7px; }
.yka-section-heading p { font-size: 12px; line-height: 1.75; margin: 0; color: var(--yka-muted); }
.yka-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.yka-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0 0 20px; color: var(--yka-ink); font-size: 13px; font-weight: 650; }
.yka-field > span:first-child { display: flex; align-items: center; gap: 5px; line-height: 1.5; }
.yka-field input, .yka-field select {
  width: 100%; min-width: 0; min-height: 48px; max-width: 100%; border: 1px solid #d7e1ee;
  border-radius: 10px; background: #fff; color: var(--yka-ink); padding: 12px 13px;
  font-weight: 400; line-height: 1.5; transition: border-color .16s, box-shadow .16s;
}
.yka-field select { appearance: auto; padding-right: 8px; text-overflow: ellipsis; }
.yka-field input::placeholder { color: #77869b; opacity: 1; }
.yka-field input:focus, .yka-field select:focus { border-color: var(--yka-blue); box-shadow: 0 0 0 3px #1663ee12; }
.yka-field input:disabled, .yka-field select:disabled, .yka-field input[readonly] { background: #f5f7fb; color: #65758c; opacity: 1; }
.yka-field input:disabled, .yka-field select:disabled { cursor: not-allowed; }
.yka-field input[aria-invalid="true"], .yka-field select[aria-invalid="true"] { border-color: var(--yka-danger); }
.yka-field-note, .yka-field-error { font-size: 12px; font-weight: 400; line-height: 1.7; color: var(--yka-muted); }
.yka-field-error { display: block; color: var(--yka-danger); }
.yka-field-tag { margin-left: auto; background: var(--yka-pale); color: var(--yka-blue-dark); padding: 3px 8px; border-radius: 6px; font-size: 10px; }
.yka-fin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.yka-lookup { min-height: 48px; margin-bottom: 20px; padding: 12px 16px; font-size: 12px; }
.yka-fin-row input { text-transform: uppercase; letter-spacing: 1px; }
.yka-fin-row input::placeholder { text-transform: none; letter-spacing: 0; font-size: 12px; }
.yka-sample-link { display: inline-block; min-height: 44px; max-width: 100%; border: 0; background: transparent; margin: -10px 0 12px; padding: 9px 0; color: var(--yka-blue-dark); font-size: 12px; line-height: 1.7; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.yka-identity-note { background: #f1f6ff; border-left: 3px solid #73a5f6; border-radius: 0 9px 9px 0; padding: 13px 15px; margin: 0 0 22px; }
.yka-identity-note strong { font-size: 12px; color: var(--yka-blue-dark); }
.yka-identity-note p { font-size: 12px; color: #536a89; line-height: 1.8; margin: 5px 0 0; }
.yka-phone { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.yka-phone legend { font-size: 13px; font-weight: 650; padding: 0; margin-bottom: 9px; }
.yka-phone-row { display: grid; grid-template-columns: 67px 88px minmax(0, 1fr); gap: 9px; align-items: end; }
.yka-phone-row .yka-field { margin: 0; }
.yka-phone-row .yka-field > span:first-child { font-size: 11px; color: var(--yka-muted); min-height: 17px; font-weight: 600; }
.yka-country { display: flex; align-items: center; justify-content: center; min-height: 48px; background: var(--yka-pale); border: 1px solid #d5e3f8; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--yka-blue-dark); }
.yka-phone-row select { padding-left: 12px; padding-right: 7px; }
.yka-phone > .yka-field-note { margin: 8px 0 0; }
.yka-phone > .yka-field-error { margin-top: 8px; }
.yka-password { display: block !important; position: relative; }
.yka-password input { padding-right: 50px !important; }
.yka-eye { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; border: 0; background: transparent; color: #667a96; width: 42px; height: 42px; border-radius: 8px; padding: 0; }
.yka-eye svg { width: 21px; height: 21px; }
.yka-eye:hover { color: var(--yka-blue-dark); background: var(--yka-pale); }
.yka-password-note { font-size: 12px; line-height: 1.75; margin: -7px 0 22px; color: var(--yka-muted); }
.yka-consent { display: flex; align-items: flex-start; gap: 11px; margin: 5px 0 15px; cursor: pointer; }
.yka-consent input { width: 18px; height: 18px; flex: none; margin: 3px 0 0; accent-color: var(--yka-blue); }
.yka-consent span { font-size: 12px; line-height: 1.8; color: var(--yka-muted); }
.yka-consent + .yka-field-error { margin-bottom: 15px; }
.yka-submit { width: 100%; margin-top: 2px; justify-content: space-between; }
.yka-form-note { margin: 14px 0 0; font-size: 12px; line-height: 1.8; color: var(--yka-muted); }
.yka-form-note a { color: var(--yka-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.yka-privacy { margin-top: 16px; font-size: 12px; line-height: 1.8; color: var(--yka-muted); }
.yka-privacy summary { color: var(--yka-blue-dark); cursor: pointer; font-weight: 650; padding: 7px 0; }
.yka-privacy p { margin: 6px 0 0; }
.yka-switch { font-size: 13px; line-height: 1.8; text-align: center; color: var(--yka-muted); margin: 23px 0 0; padding-top: 20px; border-top: 1px solid var(--yka-line); }
.yka-switch a, .yka-form-links a { display: inline-block; padding: 4px 0; color: var(--yka-blue-dark); font-weight: 700; }
.yka-switch a:hover, .yka-form-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.yka-form-links { display: flex; justify-content: flex-end; font-size: 12px; margin: -7px 0 23px; }
.yka-form-intro { font-size: 13px; color: var(--yka-muted); line-height: 1.85; margin-bottom: 22px; }
.yka-account-exists { padding: 12px 0 5px; }
.yka-account-exists h2 { font-size: 24px; line-height: 1.3; margin-bottom: 13px; }
.yka-account-exists > p { font-size: 13px; color: var(--yka-muted); line-height: 1.85; }
.yka-account-exists > .yka-button { width: 100%; margin-top: 15px; }
.yka-otp-heading { text-align: center; margin-bottom: 24px; }
.yka-otp-icon { display: grid; place-items: center; margin: 7px auto 17px; width: 54px; height: 54px; border-radius: 15px; background: var(--yka-pale); color: var(--yka-blue-dark); font-size: 29px; font-weight: 650; }
.yka-otp-heading h2 { font-size: 24px; line-height: 1.35; margin-bottom: 10px; }
.yka-otp-heading p { font-size: 13px; color: var(--yka-muted); margin: 0; }
.yka-test-code { padding: 18px; border: 1px dashed #98baf0; border-radius: 12px; background: #f5f9ff; text-align: center; margin-bottom: 24px; }
.yka-test-code > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--yka-blue-dark); font-weight: 700; }
.yka-test-code code { display: block; font-family: var(--font, 'Segoe UI', Arial, sans-serif); font-size: 32px; font-weight: 800; letter-spacing: 7px; color: var(--yka-blue-dark); padding: 7px 0 9px 7px; }
.yka-test-code p { font-size: 12px; color: #536a89; line-height: 1.8; margin: 0; }
.yka-otp-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin: -8px 0 24px; font-size: 12px; color: var(--yka-muted); }
.yka-inline-button { border: 0; background: transparent; color: var(--yka-blue-dark); min-height: 44px; padding: 8px 0; max-width: 100%; font-size: 12px; font-weight: 700; line-height: 1.6; text-align: left; }
.yka-inline-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.yka-inline-button:disabled { color: var(--yka-muted); text-decoration: none; opacity: 1; }
.yka-root input[id$="-code"] { font-size: 22px; letter-spacing: 6px; text-align: center; font-weight: 700; }
.yka-back-button { display: block; min-height: 44px; margin: 13px auto 0; border: 0; background: transparent; color: var(--yka-blue-dark); font-size: 12px; padding: 9px 0; text-align: center; line-height: 1.6; }
.yka-aside { display: grid; gap: 22px; min-width: 0; }
.yka-layout-register .yka-aside { position: sticky; top: 100px; }
.yka-intro { padding: 32px; border-radius: 20px; background: linear-gradient(145deg, #eff5ff, #f8fbff); border: 1px solid #deE9f9; }
.yka-home-mark { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 26px; border-radius: 17px; background: #dceaff; color: var(--yka-blue); }
.yka-home-mark svg { width: 33px; height: 33px; }
.yka-intro h2 { font-size: 29px; line-height: 1.3; margin: 0 0 16px; letter-spacing: -.6px; }
.yka-intro > p { color: #536a89; font-size: 13px; line-height: 1.85; margin-bottom: 28px; }
.yka-intro-step { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
.yka-intro-step > span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; background: #fff; border: 1px solid #d4e2f7; border-radius: 9px; color: var(--yka-blue-dark); font-size: 11px; font-weight: 800; }
.yka-intro-step h3 { font-size: 14px; margin: 4px 0 7px; line-height: 1.35; }
.yka-intro-step p { margin: 0; font-size: 12px; line-height: 1.8; color: #536a89; }
.yka-text-link { display: inline-block; color: var(--yka-blue-dark); font-size: 12px; font-weight: 700; min-height: 44px; padding: 10px 0; line-height: 1.7; }
.yka-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.yka-demo-access { margin-top: 20px; padding-top: 19px; border-top: 1px solid #d5e2f6; }
.yka-demo-access p { font-size: 12px; color: #536a89; line-height: 1.8; margin-bottom: 3px; }
.yka-saved { padding: 24px; border: 1px solid #d4e8dc; background: #f8fcfa; border-radius: 16px; }
.yka-saved-top { display: flex; align-items: flex-start; gap: 12px; }
.yka-check { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #e1f2e9; color: #187653; font-size: 17px; font-weight: 800; }
.yka-saved h2 { font-size: 20px; line-height: 1.3; margin: 3px 0 9px; }
.yka-saved-top p { font-size: 12px; line-height: 1.8; color: #526f60; margin: 0; }
.yka-profile-details { margin: 24px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }
.yka-profile-details > div { min-width: 0; }
.yka-profile-details dt { font-size: 11px; color: #587365; margin-bottom: 4px; }
.yka-profile-details dd { font-size: 13px; color: var(--yka-ink); font-weight: 600; margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.yka-saved .yka-button { width: 100%; }
.yka-logout { margin-top: 18px; }
.yka-account-link { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 28px; margin: 20px 0 28px; background: var(--yka-pale); border: 1px solid var(--yka-line); border-radius: 16px; }
.yka-account-link h2 { font-size: 20px; margin-bottom: 8px; }
.yka-account-link p { font-size: 13px; color: var(--yka-muted); line-height: 1.8; margin: 0; }
.yka-account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; flex: none; }
.yka-account-actions .yka-button { padding-left: 16px; padding-right: 16px; }
.yka-account-actions .yka-text-link { width: 100%; text-align: right; }

@media (max-width: 1050px) {
  .yka-layout, .yka-layout-register { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr); gap: 22px; }
  .yka-card, .yka-intro { padding: 26px; }
  .yka-intro h2 { font-size: 26px; }
  .yka-grid { gap: 0 13px; }
}
@media (max-width: 850px) {
  .yka-layout, .yka-layout-register { grid-template-columns: minmax(0, 1fr); }
  .yka-layout-register .yka-aside { position: static; }
  .yka-aside .yka-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .yka-intro > .yka-home-mark, .yka-intro > .yka-eyebrow, .yka-intro > h2, .yka-intro > p, .yka-intro > .yka-text-link, .yka-intro > .yka-demo-access { grid-column: 1 / -1; }
  .yka-intro .yka-intro-step { margin-bottom: 18px; }
  .yka-account-link { align-items: flex-start; flex-direction: column; gap: 16px; }
  .yka-account-actions { width: 100%; justify-content: flex-start; }
  .yka-account-actions .yka-text-link { width: auto; text-align: left; }
}
@media (max-width: 560px) {
  .yka-root { padding-bottom: 4px; }
  .yka-pagehead { padding: 28px 0 23px; }
  .yka-pagehead h1 { font-size: 31px; }
  .yka-pagehead > p { font-size: 13px; }
  .yka-breadcrumb { font-size: 11px; margin-bottom: 12px; }
  .yka-layout { margin-bottom: 26px; gap: 18px; }
  .yka-card, .yka-intro { padding: 22px 18px; border-radius: 15px; }
  .yka-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .yka-tabs { gap: 3px; margin-bottom: 19px; }
  .yka-tabs a { font-size: 12px; padding: 8px 11px; }
  .yka-field input, .yka-field select { font-size: 16px; }
  .yka-fin-row { gap: 9px; grid-template-columns: minmax(0, 1fr); }
  .yka-fin-row .yka-field { margin-bottom: 0; }
  .yka-lookup { width: 100%; min-height: 44px; margin-bottom: 17px; font-size: 12px; }
  .yka-sample-link { margin-top: -6px; }
  .yka-phone-row { grid-template-columns: 54px 68px minmax(0, 1fr); gap: 6px; }
  .yka-phone-row .yka-field > span:first-child { font-size: 10px; }
  .yka-country { font-size: 13px; min-height: 50px; }
  .yka-phone-row input { padding-left: 10px; padding-right: 8px; }
  .yka-phone-row select { padding-left: 9px; padding-right: 3px; }
  .yka-aside .yka-intro { display: block; }
  .yka-intro h2 { font-size: 26px; }
  .yka-intro > p { margin-bottom: 24px; }
  .yka-signin { padding: 15px; }
  .yka-saved { padding: 20px 16px; }
  .yka-profile-details { grid-template-columns: minmax(0, 1fr); }
  .yka-otp-heading h2 { font-size: 23px; }
  .yka-otp-meta { font-size: 11px; }
  .yka-account-exists h2 { font-size: 23px; }
  .yka-account-link { padding: 22px 18px; }
  .yka-account-actions .yka-button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .yka-root *, .yka-root *::before, .yka-root *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .yka-tabs, .yka-aside, .yka-button, .yka-test-code, .yka-root form { display: none !important; }
  .yka-layout { display: block; }
  .yka-card, .yka-saved { box-shadow: none; background: #fff; break-inside: avoid; }
}
