/* Presentation only: the existing forms, IDs, and handlers stay in place. */
.auth-mobile-only { display: none; }
.auth-signin-screen { display: none; }

/* Successful validation uses the same neutral appearance as other fields. */
.auth-signup .signup-form .form-group .form-input.valid,
.auth-signup .signup-form .form-group .searchable-input.has-value:not(.invalid):not(.warning) {
    background: #fff;
    border: 1px solid #dfe2ee;
    box-shadow: none;
}

.auth-signup .auth-back {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #252a36;
    text-decoration: none;
}

.auth-signup .auth-back:hover { background: #f4f5f8; }
.auth-signup .auth-back:focus-visible { outline: 2px solid #9ca8bd; outline-offset: 2px; }

/* Compact desktop card; retain the single-column touch layout below. */
@media (min-width: 1025px) and (pointer: fine), (min-width: 1367px) {
    .auth-signup .signup-section { padding: 24px; }
    .auth-signup .signup-container {
        max-width: 560px;
        padding: 32px 36px;
        transform: none;
    }
    .auth-signup .signup-header { margin-bottom: 26px; }
    .auth-signup .signup-header .logo { max-width: 72px; margin-bottom: 8px; }
    .auth-signup .signup-title { margin-bottom: 0; font-size: 22px; }
    .auth-signup .signup-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
        column-gap: 16px;
        align-items: start;
    }
    .auth-signup .signup-form > .form-row {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin: 0;
    }
    .auth-signup .signup-form .form-group { min-width: 0; margin: 0; }
    .auth-signup .signup-form > .status-message,
    .auth-signup .signup-form > .form-group:has(#email),
    .auth-signup .signup-form > .form-group:has(#dateHired),
    .auth-signup .signup-form > .signup-btn,
    .auth-signup .signup-form > .login-link { grid-column: 1 / -1; }
    .auth-signup .signup-form .form-input {
        height: 46px;
        min-height: 46px;
        padding: 10px 12px;
        border-width: 1px;
        font-size: 14px;
    }
    .auth-signup .signup-form .password-wrapper .form-input { padding-right: 62px; }
    .auth-signup .signup-form .searchable-input { padding-right: 32px; }
    .auth-signup .signup-form .field-error:empty { display: none; }
    .auth-signup .signup-form .field-error:not(:empty) { margin-top: 4px; min-height: 0; }
    .auth-signup .signup-form .auth-password-hint { display: block; margin: 4px 0 0; color: #888; font-size: 11px; }
    .auth-signup .signup-form .form-label { margin-bottom: 4px; }
    .auth-signup .signup-form .signup-btn { margin: 6px 0 0; min-height: 44px; padding: 11px 16px; }
    .auth-signup .signup-form .login-link { margin: 4px 0 0; font-size: 13px; }
}

/* Include large tablets in landscape without changing wide desktop layouts. */
@media (max-width: 1024px), (max-width: 1366px) and (pointer: coarse) {
    body.auth-page {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        background: #fff;
        color: #252a36;
        font-family: 'Nunito', sans-serif;
    }

    .auth-page .hero-section { display: none; }
    body.auth-page::before,
    body.auth-page::after { display: none; }
    .auth-page .auth-mobile-only { display: block; }
    .auth-page .login-section,
    .auth-page .signup-section {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        padding: max(44px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
        background: #fff;
    }

    .auth-page .login-container,
    .auth-page .signup-container {
        width: 100%;
        max-width: 440px;
        min-width: 0;
        margin: 0 auto;
        padding: 0;
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        backdrop-filter: none;
        overflow: visible;
    }

    .auth-page .login-container::before,
    .auth-page .login-container::after,
    .auth-page .signup-container::before,
    .auth-page .signup-container::after { display: none; }

    .auth-page .login-header > .logo,
    .auth-page .signup-header > .logo { display: none; }

    .auth-page .auth-logo-badge {
        position: relative;
        width: 76px;
        height: 76px;
        margin-bottom: 24px;
        border-radius: 19px;
        background: url('../images/CHLC.jpg') center / contain no-repeat;
        box-shadow: 0 4px 12px #252a3614;
        overflow: hidden;
    }

    .auth-logo-badge::before {
        content: none;
    }

    .auth-page .login-header { text-align: left; margin: 0 0 26px; }
    .auth-welcome h1 { font-size: 28px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.8px; }
    .auth-welcome p { font-size: 13px; color: #8990a3; margin: 0; }

    .auth-page .form-group { position: relative; margin: 0 0 16px; width: 100%; }
    .auth-page .form-input {
        width: 100%;
        min-height: 51px;
        height: 51px;
        padding: 12px 44px 12px 46px;
        border: 1px solid #dfe2ee;
        border-radius: 10px;
        background: #fff;
        font-family: inherit;
        font-size: 16px;
        font-weight: 400;
        color: #252a36;
        box-shadow: none;
    }

    .auth-page .form-input::placeholder { color: #8990a3; font-size: 14px; font-weight: 400; }
    .auth-page .form-input:focus { outline: 0; border-color: #ef4a45; box-shadow: 0 0 0 3px #ef4a4510; }
    .auth-page .form-input.invalid { border-color: #e74c3c; }
    .auth-page .form-input.valid { border-color: #27ae60; }
    .auth-page .form-input.warning { border-color: #f39c12; }
    .auth-field-label,
    .auth-password-heading label { font-size: 13px; color: #252a36; margin: 0 0 5px; font-weight: 500; }
    .auth-page .auth-password-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
    .auth-password-heading a { font-size: 13px; color: #ef4a45; text-decoration: none; }

    /* Equal icon boxes keep every input aligned, including validation states. */
    .auth-page .form-group::before {
        content: '';
        position: absolute;
        left: 14px;
        top: 15px;
        width: 20px;
        height: 20px;
        z-index: 2;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
    }
    .auth-page .form-group:has(#email)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-page .form-group:has(#password)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%2216%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V6a4%204%200%200%201%208%200v4M12%2015v3%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-page .form-group:has(#firstName)::before,
    .auth-page .form-group:has(#lastName)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a6%206%200%200%201%206-6h4a6%206%200%200%201%206%206v2Z%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-page .form-group:has(#contactNumber)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203H2v3c0%208.8%207.2%2016%2016%2016h3v-5l-5-2-2%203a17%2017%200%200%201-8-8l3-2-2-5Z%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-page .form-group:has(#branchSearch)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2022V3h10v19M13%209h8v13M1%2022h22M6%206h1m2%200h1M6%2010h1m2%200h1M6%2014h1m2%200h1M6%2018h1m2%200h1M16%2012h2m-2%204h2m-2%204h2%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-page .form-group:has(#roleSearch)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207V4h8v3M3%2012a24%2024%200%200%200%2018%200M12%2011v4%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-page .form-group:has(#dateHired)::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23252a36%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%201v6M17%201v6M3%2010h18%22%2F%3E%3C%2Fsvg%3E"); }
    .auth-login .form-group:has(#email)::before,
    .auth-login .form-group:has(#password)::before { top: 39px; }

    .auth-page .password-toggle {
        width: 40px;
        height: 44px;
        right: 4px;
        padding: 8px;
        color: #252a36;
        font-size: 0;
        background: transparent;
    }
    .auth-page .password-toggle span { font-size: 0; }
    .auth-page .password-toggle::after { content: '\f070'; font: 15px 'Font Awesome 6 Free'; font-weight: 900; }
    .auth-page .password-container:has(input[type="text"]) .password-toggle::after,
    .auth-page .password-wrapper:has(input[type="text"]) .password-toggle::after { content: '\f06e'; }
    .auth-page .password-container,
    .auth-page .password-wrapper { width: 100%; }
    .auth-login .remember-forgot,
    .auth-login .divider { display: none; }

    .auth-page .login-btn,
    .auth-page .signup-btn {
        height: 49px;
        width: 100%;
        margin: 6px 0 0;
        padding: 12px;
        background: #ef4844;
        border: none;
        border-radius: 10px;
        color: #fff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        box-shadow: 0 6px 16px #ef484430;
    }
    .auth-page .login-btn:disabled,
    .auth-page .signup-btn:disabled { opacity: 0.7; }
    .auth-page .signup-link { margin: 18px 0 0; text-align: left; color: #555; font-size: 13px; }
    .auth-page .signup-link a,
    .auth-page .login-link a { color: #ef4844; }
    .auth-version { margin: 36px 0 0; text-align: center; color: #b2b9ca; font-size: 11px; }

    /* The existing login handler disables this button while authenticating.
       Match that state without introducing another authentication handler. */
    .auth-login:has(.login-btn:disabled) { overflow: hidden; }
    .auth-login:has(.login-btn:disabled) .auth-signin-screen {
        position: fixed;
        inset: 0;
        /* Below SweetAlert2 (1060): the handler awaits its error dialog before re-enabling the button. */
        z-index: 1059;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 32px 24px;
        background: radial-gradient(ellipse 150px 120px at 50% 43%, #ffeded, transparent), #fff;
        text-align: center;
    }
    .auth-page .auth-signin-screen .auth-logo-badge {
        width: 88px;
        height: 88px;
        margin: 0 0 20px;
        border-radius: 22px;
    }
    .auth-signin-screen h2 { margin: 0 0 26px; font-size: 22px; font-weight: 600; color: #252a36; }
    .auth-signin-spinner {
        width: 28px;
        height: 28px;
        margin-bottom: 14px;
        border: 3px solid #f1f2f7;
        border-left-color: #ef4844;
        border-bottom-color: #ef4844;
        border-radius: 50%;
        animation: auth-signin-spin 0.8s linear infinite;
    }
    .auth-signin-screen p { margin: 0; color: #8990a3; font-size: 13px; }

    .auth-page .auth-back { position: static; width: 44px; height: 44px; margin: 0 0 18px -12px; padding: 12px; color: #252a36; }
    .auth-page .signup-header { margin: 0 0 20px; text-align: center; }
    .auth-page .signup-header .auth-logo-badge { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 13px; }
    .auth-page .signup-title { margin: 0; font-size: 22px; font-weight: 600; color: #252a36; }
    .auth-signup .form-row { display: block; margin: 0; }
    .auth-signup .form-group { margin-bottom: 12px; }
    /* Override legacy colored left borders and tinted success backgrounds.
       Border thickness and text position stay identical in every state. */
    .auth-page.auth-signup .form-group .form-input {
        border: 1px solid #dfe2ee;
        background: #fff;
        box-shadow: none;
        padding-left: 44px;
        padding-right: 40px;
        font-size: 16px;
        color: #252a36;
    }
    .auth-page.auth-signup .form-input::placeholder { font-size: 16px; color: #747b87; }
    .auth-page.auth-signup .form-group .form-input.valid { border-color: #dfe2ee; }
    .auth-page.auth-signup .form-group .form-input.invalid { border-color: #d96b67; }
    .auth-page.auth-signup .form-group .form-input.warning { border-color: #c49a52; }
    .auth-page.auth-signup .form-group .form-input:focus { border-color: #9ca8bd; box-shadow: 0 0 0 2px #9ca8bd18; }
    .auth-page.auth-signup .form-group #contactNumber { background: #f5f5f6; }
    .auth-signup .field-error { color: #bd4845; }
    .auth-signup .auth-select-placeholder {
        display: none;
        position: absolute;
        left: 44px;
        right: 38px;
        top: 50%;
        transform: translateY(-50%);
        color: #747b87;
        font-size: 15px;
        line-height: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        pointer-events: none;
    }
    .auth-signup .searchable-dropdown:not(.open) .searchable-input:not(.has-value) + .auth-select-placeholder { display: block; }
    .auth-signup .searchable-dropdown:not(.open) .searchable-input:not(.has-value)::placeholder { color: transparent; }
    .auth-signup .searchable-dropdown .dropdown-arrow {
        right: 14px;
        width: 16px;
        text-align: center;
        color: #52596a;
    }
    .auth-signup .field-error:empty { display: none; }
    .auth-signup .field-error:not(:empty) { margin: 4px 0 0; }
    .auth-password-hint { margin: 4px 0 0 18px; color: #999; font-size: 11px; }
    .auth-signup .auth-floating-label,
    .auth-signup label[for="dateHired"] {
        display: block;
        position: absolute;
        z-index: 3;
        left: 15px;
        top: -8px;
        margin: 0;
        padding: 0 4px;
        background: #fff;
        color: #52596a;
        font-size: 11px;
        font-weight: 400;
        line-height: 16px;
    }
    .auth-signup label[for="dateHired"] i,
    .auth-signup .form-hint { display: none; }
    .auth-signup .date-placeholder { left: 44px; font-size: 15px; color: #747b87; }
    .auth-signup #dateHired::before { display: none; }
    .auth-signup .login-link { margin: 28px 0 0; text-align: center; color: #555; font-size: 13px; }
    .auth-signup .login-link a { margin-left: 10px; }

    /* Restyle the existing searchable dropdown as a sheet; selection and
       filtering still use signup.js and the original hidden branch/role IDs. */
    .auth-signup:has(.searchable-dropdown.open) { overflow: hidden; }
    .auth-signup .searchable-dropdown.open {
        position: fixed;
        inset: auto 0 0;
        width: 100%;
        height: min(64dvh, 620px);
        z-index: 1100;
        display: flex;
        flex-direction: column;
        padding: 72px 16px max(12px, env(safe-area-inset-bottom));
        background: #fff;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 0 0 100vmax #0008;
    }
    .auth-signup .searchable-dropdown.open::before {
        content: '';
        position: absolute;
        top: 11px;
        left: calc(50% - 18px);
        width: 36px;
        height: 4px;
        background: #dedede;
        border-radius: 4px;
    }
    .auth-signup .searchable-dropdown.open::after {
        content: 'Select Branch';
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
        pointer-events: none;
    }
    .auth-signup #roleDropdown.open::after { content: 'Select Role'; }
    .auth-signup .searchable-dropdown.open .searchable-input { flex: 0 0 46px; height: 46px; min-height: 46px; padding-left: 16px; }
    .auth-signup .searchable-dropdown.open .dropdown-arrow { display: none; }
    .auth-signup .searchable-dropdown.open .dropdown-list {
        position: static;
        flex: 1;
        min-height: 0;
        max-height: none;
        margin-top: 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    /* Override all legacy hover/selected selectors for both pickers. */
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list {
        padding-right: 4px;
        scrollbar-width: thin;
        scrollbar-color: #c8ccd5 transparent;
    }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list::-webkit-scrollbar { width: 4px; }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list::-webkit-scrollbar-track { background: transparent; }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list::-webkit-scrollbar-thumb { background: #c8ccd5; border-radius: 8px; }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list::after { display: none; }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list .dropdown-item {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 54px;
        margin: 0;
        padding: 15px 40px 15px 12px;
        border: 0;
        border-radius: 8px;
        background: #fff;
        color: #252a36;
        font-family: inherit;
        font-size: 15px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        transform: none;
        box-shadow: none;
        -webkit-tap-highlight-color: #252a3610;
    }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list .dropdown-item:where(:hover, :active, .highlighted) {
        background: #f5f6f8;
        color: #252a36;
    }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list .dropdown-item:where(.selected, .selected:hover, .selected:active) {
        background: #f0f2f5;
        color: #252a36;
        font-weight: 600;
    }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list .dropdown-item.selected::after {
        content: '\2713';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #e34b46;
        font-size: 17px;
    }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list .dropdown-item:focus-visible {
        outline: 2px solid #9ca8bd;
        outline-offset: -2px;
    }
    .auth-page.auth-signup .searchable-dropdown.open .dropdown-list .dropdown-item:disabled {
        color: #8990a3;
        font-weight: 400;
        background: #fff;
    }

    #forgotPasswordModal .modal-dialog { max-width: 340px; width: calc(100% - 48px); margin: 0 auto; min-height: 100%; }
    #forgotPasswordModal .modal-content { width: 100%; margin: 24px 0; padding: 0; border: none; border-radius: 16px; overflow: auto; max-height: calc(100dvh - 48px); }
    #forgotPasswordModal .modal-header { padding: 22px 18px; background: #ef4844; border: 0; border-radius: 16px 16px 0 0; align-items: center; }
    #forgotPasswordModal .modal-title { padding: 0; font-size: 17px; color: #fff; font-weight: 600; }
    #forgotPasswordModal .close { position: static; margin: -8px -6px -8px 8px; padding: 8px; width: 36px; height: 36px; color: #fff; }
    #forgotPasswordModal .modal-body { padding: 20px 18px 0; font-size: 13px; }
    #forgotPasswordModal .form-label { display: none; }
    #forgotPasswordModal .input-group { flex-wrap: nowrap; }
    #forgotPasswordModal .input-group-text { padding: 12px; border: 1px solid #dfe2ee; border-right: 0; background: #fff; border-radius: 10px 0 0 10px; color: #252a36; }
    #forgotPasswordModal .form-control { min-width: 0; height: 51px; padding: 12px 0; border: 1px solid #dfe2ee; border-left: 0; border-radius: 0 10px 10px 0; font-family: inherit; font-size: 13px; }
    #forgotPasswordModal .modal-footer { padding: 4px 18px 16px; border: 0; gap: 8px; }
    #forgotPasswordModal .btn { padding: 12px 16px; border-radius: 8px; font-family: inherit; font-size: 13px; box-shadow: none; transform: none; }
    #forgotPasswordModal .btn-primary { background: #ef4844; }
    #forgotPasswordModal .btn-secondary { background: transparent; border: 0; color: #ef4844; }
}

@keyframes auth-signin-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .auth-signin-spinner { animation: none; }
}

@media (min-width: 600px) and (max-width: 1024px),
       (min-width: 600px) and (max-width: 1366px) and (pointer: coarse) {
    .auth-page .login-section,
    .auth-page .signup-section { padding-top: 64px; padding-bottom: 48px; }
    .auth-signup .searchable-dropdown.open { left: 50%; right: auto; width: min(560px, 100%); transform: translateX(-50%); }
}
