/* Punto Móvil: open registration and login layout. */
.fi-body:has(.adenu-login-brand) {
    --adenu: #006be6;
    --adenu-ink: #162c3b;
    --adenu-paper: #f5f8ff;
    font-family: 'Figtree', ui-sans-serif, system-ui, sans-serif;
}
.fi-body:has(.adenu-login-brand) .fi-simple-layout {
    min-height: 100dvh;
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    background: var(--adenu-paper);
}
.fi-body:has(.adenu-login-brand) .fi-simple-main-ctn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 72px);
    background: var(--adenu-paper);
}
.fi-body:has(.adenu-login-brand) .fi-simple-main,
.fi-body:has(.adenu-login-brand) .fi-simple-page {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    --tw-ring-shadow: 0 0 #0000;
}
.fi-body:has(.adenu-login-brand) .fi-simple-main { width: 100%; max-width: 28rem; }
.fi-body.adenu-register-page:has(.adenu-login-brand) .fi-simple-main { max-width: 42rem; }
.fi-body:has(.adenu-login-brand) .fi-simple-header { align-items: flex-start; text-align: left; }
.fi-body:has(.adenu-login-brand) .fi-simple-header-heading {
    color: var(--adenu-ink);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.025em;
}
.fi-body:has(.adenu-login-brand) .fi-simple-header-subheading { color: #64788e; }
.fi-body:has(.adenu-login-brand) .fi-simple-header .fi-logo { display: none; }
.adenu-login-brand {
    color: #fff;
    background: #122f38;
    display: flex;
    align-items: center;
    min-width: 0;
    align-self: stretch;
}
.adenu-login-brand__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 29rem;
    margin: auto;
    padding: 48px;
}
.adenu-login-brand__logo { display: inline-flex; width: fit-content; max-width: 100%; margin-bottom: 32px; }
.adenu-login-brand__logo img { display: block; height: auto; width: 208px; max-width: 100%; }
.adenu-login-brand__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a7c9e1; }
.adenu-login-brand__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.adenu-login-brand__lead { margin: 0; font-size: 16px; line-height: 1.6; color: #d1e0e7; }
.adenu-login-brand__features { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.adenu-login-brand__features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #d1e0e7; }
.adenu-login-brand__features svg { width: 20px; height: 20px; flex-shrink: 0; color: #78d8da; }
.fi-body:has(.adenu-login-brand) .fi-input-wrp { border-radius: 12px; }
.fi-body:has(.adenu-login-brand) .fi-input { min-height: 48px; }
.fi-body:has(.adenu-login-brand) .fi-btn { min-height: 48px; border-radius: 12px; }
.fi-body:has(.adenu-login-brand) .adenu-register-link { display: inline-flex; width: auto; }
.adenu-register-page .fi-sc-wizard-header { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-bottom: 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.adenu-register-page .fi-sc-wizard-header .fi-sc-wizard-header-step { display: flex; min-width: 0; }
.adenu-register-page .fi-sc-wizard-header .fi-sc-wizard-header-step-btn { flex-direction: column; gap: 8px; width: 100%; padding: 8px 4px; }
.adenu-register-page .fi-sc-wizard-header .fi-sc-wizard-header-step-text { width: auto; max-width: 100%; justify-items: center; }
.adenu-register-page .fi-sc-wizard-header .fi-sc-wizard-header-step-label { font-size: 13px; text-align: center; }
.adenu-register-page .fi-sc-wizard-header-step-separator { display: none !important; }
.adenu-register-page .fi-sc-wizard-footer { margin-top: 24px; }
.adenu-register-page .fi-sc-wizard-footer .fi-btn { min-width: 120px; }
.registration-submit { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 12px; background: #006be6; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.registration-submit:hover { background: #0055bb; }
.registration-submit:focus-visible { outline: 3px solid #80b8ff; outline-offset: 3px; }
.registration-submit:disabled { opacity: .6; cursor: wait; }
.dark .fi-body:has(.adenu-login-brand) { --adenu-paper: #0d1b24; --adenu-ink: #edf5f7; }
.dark .fi-body:has(.adenu-login-brand) .fi-simple-header-subheading { color: #a8bdc8; }
@media (max-width: 960px) {
    .fi-body:has(.adenu-login-brand) .fi-simple-layout { grid-template-columns: 1fr; align-content: start; }
    .adenu-login-brand__inner { max-width: none; padding: 24px; gap: 0; }
    .adenu-login-brand__logo { margin: 0; }
    .adenu-login-brand__eyebrow, .adenu-login-brand__title, .adenu-login-brand__lead, .adenu-login-brand__features { display: none; }
    .fi-body:has(.adenu-login-brand) .fi-simple-main-ctn { padding: 32px 20px; align-items: flex-start; }
}

.adenu-login-brand__credit { display: flex; align-items: center; gap: 12px; margin-top: 40px; color: #a7c9e1; font-size: 12px; text-decoration: none; }
.adenu-login-brand__credit img { width: 88px; height: auto; }
@media (max-width: 960px) { .adenu-login-brand__credit { display: none; } }

.fi-body:has(.adenu-login-brand) .fi-select-input-btn,
.fi-body:has(.adenu-login-brand) select.fi-select-input {
    min-height: 48px;
    align-items: center;
}
.registration-phone .fi-select-input-value-ctn { flex-wrap: nowrap; }
.registration-phone .fi-select-input-value-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }


.auth-back-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--adenu-ink); font-size: 14px; text-decoration: none; }
.auth-back-link:hover { color: var(--adenu); }
/* Same segmented selector as the mobile registration form. */
.person-type-switch { display: flex; gap: 6px; padding: 4px; background: #eaf0f8; border-radius: 12px; }
.person-type-switch button { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 14px 6px; border: 0; border-radius: 9px; color: var(--adenu-ink); background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
.person-type-switch button.is-selected { background: var(--adenu); color: white; }
.person-type-switch button:focus-visible, .auth-back-link:focus-visible { outline: 3px solid #80b8ff; outline-offset: 3px; }
.dark .person-type-switch { background: #182d3b; }
