/* ══════════════════════════════════════════════════
   PROMAX TRAINING — MINIMALIST ENTERPRISE AUTH DESIGN
   Clean, distraction-free, professional corporate portal
   Palette: Pure White (#FFFFFF), Slate (#F8FAFC / #0F172A), Accent Blue (#0066FF)
   ══════════════════════════════════════════════════ */

/* ── BASE PAGE ── */
body.login-page {height: 100vh;
    height: 100dvh;
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
    font-family: var(--font-sans);
    color: #17324d;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;

    background: var(--ice-surface);
    background-image: var(--ice-surface);
}

/* Preserved test contract assets (invisible to user) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── MAIN WRAPPER ── */
.login-wrapper {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.minimal-auth-container {
    width: 100%;
    max-width: 420px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── BRAND HEADER (MINIMAL) ── */
.auth-brand-header {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.brand-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.brand-logo-img {
    height: 71px;
    max-height: 75px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-headline {
    font-size: 24px;
    font-weight: var(--font-weight-heading);
    color: #0A1E42;
    letter-spacing: normal;
    line-height: 1.2;
    margin: 0 0 2px;
}

.brand-headline-blue {
    color: #0066FF;
}

.brand-subheading {
    font-size: 14px;
    font-weight: var(--font-weight-body);
    color: #52677d;
    margin: 0;
    letter-spacing: normal;
}

/* ── MINIMALIST FLOATING CARD ── */
.login-card-floating {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: none;
    border: 1px solid #d6e6f5;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.card-header-minimal {
    margin-bottom: 24px;
}

.form-heading {
    font-size: 16px;
    font-weight: var(--font-weight-heading);
    color: #17324d;
    letter-spacing: normal;
    margin: 0 0 2px;
}

.form-header-desc {font-size: 14px;
    color: #52677d;
    margin: 0;
    font-weight: var(--font-weight-body);
    letter-spacing: normal;
}

/* ── FORM CONTROLS ── */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-label,
.login-page .form-label {
    font-size: 12.5px;
    font-weight: var(--font-weight-body);
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
    text-transform: none !important;
    letter-spacing: normal;
}

.input-wrap {position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid #d6e6f5;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 0 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    min-height: 44px;
    box-shadow: none;
}

.input-icon-left {
    position: static;
    transform: none;
    font-size: 14px;
    color: var(--text-muted);
    margin-right: 12px;
    flex-shrink: 0;
    pointer-events: none;
    transition: color 0.2s ease;
}

.login-form .form-input,
.login-page .form-input,
.input-wrap .form-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 !important;
    font-size: 14px;
    font-weight: var(--font-weight-body);
    color: var(--text-primary);
    font-family: inherit;
    outline: none !important;
    box-shadow: none;
    box-sizing: border-box;
}
.input-wrap .form-input{
    border: 0;
    background: transparent;
    min-height: 40px;
}

.login-form .form-input:focus,
.login-page .form-input:focus,
.input-wrap .form-input:focus {
    background: transparent;
    border: none;
    outline: none !important;
    box-shadow: none;
}

.login-form .form-input::placeholder,
.login-page .form-input::placeholder {
    color: var(--text-muted);
    font-size: 13.5px;
}

.input-wrap:hover {
    border-color: var(--border-light);
}

.input-wrap:focus-within {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.input-wrap:focus-within .input-icon-left {
    color: #0066FF;
}

.input-wrap.error,
.input-wrap:has(.form-input.error),
.input-wrap:has(#username.error),
.input-wrap:has(#password.error),
.input-wrap:has(.error) {
    border-color: #EF4444;
    background: #FFF5F5;
}

.input-wrap.error .input-icon-left,
.input-wrap:has(.error) .input-icon-left {
    color: #EF4444;
}

/* Password Toggle */
.password-toggle {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 0 0 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
    z-index: 5;
    flex-shrink: 0;
}

.password-toggle:hover {
    color: #0066FF;
}

/* Caps Lock Warning */
.caps-warning {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: var(--font-weight-body);
    color: #D97706;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 6px;
    padding: 3px 8px;
    margin-top: 4px;
}

.caps-warning.show {
    display: flex;
}

/* Options: Remember & Forgot */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 14px;
    font-size: 12.5px;
}

.checkbox-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-body);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-50%);
    border: 0;
    cursor: pointer;
    z-index: 1;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 4px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #0066FF;
    border-color: #0066FF;
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
    outline: 3px solid rgba(0, 102, 255, 0.28);
    outline-offset: 2px;
    border-color: #0066FF;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    display: block;
    width: 3.5px;
    height: 7px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -1px);
}

.checkbox-label:hover .checkbox-custom {
    border-color: #0066FF;
}

.forgot-link {
    appearance: none;
    padding: 0;
    background: none;
    border: 0;
    font-family: inherit;
    color: #0066FF;
    font-weight: var(--font-weight-body);
    font-size: 12.5px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.forgot-link:hover {
    color: #0052CC;
    text-decoration: underline;
}

/* Primary Submit CTA */
.btn-login {width: 100%;
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: var(--font-weight-body);
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    box-shadow: none;
    min-height: 44px;
    transform: none;
    line-height: 1.3;
    border-color: transparent;
}

.btn-login:hover {
    background: #0052cc;
    box-shadow: none;
    transform: none;
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Error Callout */
.login-error {
    display: none;
    align-items: center;
    gap: 8px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 8px 12px;
    color: #B91C1C;
    font-size: 12.5px;
    font-weight: var(--font-weight-body);
    margin-bottom: 14px;
    line-height: 1.35;
}

.login-error.show {
    display: flex;
}

.login-error i {
    font-size: 13px;
    color: #EF4444;
    flex-shrink: 0;
}

/* Footer Support & Privacy Links */
.form-footer-links {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
}

.footer-link-item {
    appearance: none;
    padding: 0;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: var(--font-weight-body);
    transition: all 0.15s ease;
}

.footer-link-item:hover {
    color: #0066FF;
    text-decoration: underline;
}

.link-divider {
    color: var(--border-light);
    user-select: none;
}

/* Media query for compact height screens (laptops, browser bars) */
@media (max-height: 700px) {
    .auth-brand-header {
    margin-bottom: 24px;
    }
    .brand-logo-img {
        height: 50px;
        max-height: 54px;
    }
    .brand-headline {font-size: 24px;
    font-weight: var(--font-weight-heading);
    letter-spacing: normal;
}
    .login-card-floating {
    padding: 28px;
    background: #fff;
    border: 1px solid #d6e6f5;
    border-radius: 12px;
    box-shadow: none;
}
    .card-header-minimal {
    margin-bottom: 24px;
    }
    .login-form .form-group {
    margin-bottom: 20px;
    }
    .input-wrap {height: 40px;
    border: 1px solid #d6e6f5;
    border-radius: 12px;
    min-height: 44px;
    box-shadow: none;
}
    .btn-login {height: 40px;
    font-size: 14px;
    font-weight: var(--font-weight-body);
    border-radius: 12px;
    min-height: 44px;
    box-shadow: none;
    transform: none;
    line-height: 1.3;
    background: #0066ff;
    color: #fff;
    border-color: transparent;
}
    .form-footer {
        margin: 10px 0 12px;
    }
    .form-footer-links {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    body.login-page {overflow-y: auto;
    background: #f0f7ff;
    background-image: none;
    color: #17324d;
    font-size: 14px;
}
    .login-wrapper {
        padding: 16px 12px;
        min-height: 100dvh;
    }
    .login-card-floating {
    padding: 28px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d6e6f5;
    box-shadow: none;
}
}

/* ══════════════════════════════════════════════════
   MODAL DIALOG REFINEMENTS (Forgot & Privacy)
   ═══════════════════════════════════════════════════ */
.modal-overlay {
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: none !important;
}

#forgotModal.modal-overlay {
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal.sm.modal-ice-theme,
.modal.sm {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-popover);
}

.modal-header {
    background: #fff;
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 20px;
    border-color: #e7f1fb;
}

.modal-title-icon {
    color: #0066FF;
    margin-right: 6px;
}

.modal-body {
    padding: 22px 24px 24px;
}

.modal-body .form-group {
    margin-bottom: 16px;
}

.modal-body .input-wrap {
    height: 44px;
    border: 1.5px solid var(--border-glass);
    border-radius: 10px;
    background: #FFFFFF;
}

.modal-guide-text {
    text-align: left;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.modal-privacy-list {
    margin: 10px 0 0 18px;
    padding: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-modal-action {
    background: #0066FF;
    color: #FFFFFF;
    border-radius: 10px;
    height: 44px;
    font-weight: var(--font-weight-body);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.btn-modal-action:hover {
    background: #0052CC;
    box-shadow: none;
    transform: none;
}

.forgot-success {
    display: none;
    text-align: center;
    padding: 2px 0 0;
}

.forgot-success.show {
    display: block !important;
}

.forgot-success-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EEF5FF;
    color: #2563EB;
    margin-bottom: 10px;
}

.forgot-success-icon i {
    font-size: 19px;
}

.forgot-success-title {
    margin: 0 0 7px;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.35;
}

.forgot-success-message {
    max-width: 350px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.forgot-email-summary {
    margin: 9px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.forgot-email-summary strong {
    color: var(--text-secondary);
    font-weight: var(--font-weight-body);
}

.forgot-expiry-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    padding: 10px 12px;
    border: 1px solid #BFDBFE;
    border-radius: 9px;
    background: #F0F7FF;
    color: #3B5C82;
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
}

.forgot-expiry-note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #2563EB;
}

.forgot-success-actions {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.forgot-close-btn {
    min-width: 112px;
    min-height: 40px;
    justify-content: center;
    padding: 9px 22px;
}

#forgotModal .modal-body {
    padding: 18px 22px 20px;
}

.forgot-error {
    min-height: 18px;
    margin: -6px 0 10px;
    color: #B91C1C;
    font-size: 12.5px;
    line-height: 1.4;
}

.forgot-success:focus {
    outline: none !important;
}

/* ══════════════════════════════════════════════════
   CHANGE PASSWORD WORKSPACE (MINIMALIST ENTERPRISE)
   ══════════════════════════════════════════════════ */
.change-pwd-page {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    background-image: none;
    font-family: var(--font-sans);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-y: auto;
}

.change-pwd-wrapper {
    width: 100%;
    max-width: 440px;
    padding: 16px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.change-pwd-container {
    width: 100%;
}

.change-pwd-brand {
    text-align: center;
    margin-bottom: 14px;
}

.change-pwd-brand .brand-logo-img {
    height: 58px;
    max-height: 62px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.change-pwd-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    box-shadow: none;
    padding: 22px 26px 18px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.change-pwd-top-nav {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 8px;
    gap: 6px;
    font-size: 12px;
    color: #0066FF;
    text-decoration: none;
    font-weight: var(--font-weight-body);
    transition: all 0.15s ease;
}

.back-link:hover {
    color: #0052CC;
    transform: translateX(-2px);
}

.change-pwd-heading {
    font-size: 19px;
    font-weight: var(--font-weight-heading);
    color: var(--text-primary);
    letter-spacing: normal;
    margin: 0 0 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.change-pwd-heading i {
    color: #0066FF;
    font-size: 17px;
}

.change-pwd-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.4;
}

.change-pwd-card .form-group {
    margin-bottom: 10px;
}

.change-pwd-card .form-label {
    font-size: 12px;
    font-weight: var(--font-weight-body);
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
}

.change-pwd-mfa-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 15px;
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 13px;
    line-height: 1.5;
}

.change-pwd-mfa-notice[hidden] {
    display: none;
}

.change-pwd-mfa-notice i {
    margin-top: 3px;
    color: #2563eb;
}

.change-pwd-card .input-wrap {
    height: 40px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-glass);
    border-radius: 8px;
    padding: 0 12px;
}

.change-pwd-card .input-wrap:hover {
    border-color: var(--border-light);
}

.change-pwd-card .input-wrap:focus-within {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.change-pwd-card .input-wrap:focus-within .input-icon-left {
    color: #0066FF;
}

.strength-meter-box {
    margin: 8px 0 10px;
}

.strength-meter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: var(--font-weight-body);
    color: var(--text-muted);
}

.strength-meter-header span {
    font-weight: var(--font-weight-body);
    color: var(--text-primary);
}

.strength-meter-header strong {
    font-size: inherit;
    font-weight: inherit;
}

.strength-meter-track {
    height: 8px;
    background: var(--border-glass);
    border-radius: 9999px;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    width: 0%;
    background: #EF4444;
    border-radius: 9999px;
    transition: width 0.3s ease, background 0.3s ease;
}

.criteria-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.criteria-checklist > div {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.criteria-checklist i {
    font-size: 11.5px;
    width: 13px;
    flex-shrink: 0;
}

.criteria-checklist .is-neutral {
    color: var(--text-muted);
}

.criteria-checklist .is-valid {
    color: #047857;
}

.criteria-checklist .is-invalid {
    color: #B91C1C;
}

.change-pwd-error-alert {
    display: none;
    align-items: center;
    gap: 8px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 8px 12px;
    color: #B91C1C;
    font-size: 12px;
    font-weight: var(--font-weight-body);
    margin-bottom: 10px;
    line-height: 1.35;
}

.change-pwd-error-alert.show {
    display: flex;
}

.change-pwd-error-alert i {
    font-size: 14px;
    color: #EF4444;
    flex-shrink: 0;
}

.btn-change-pwd-submit {width: 100%;
    height: 40px;
    background: #0066ff;
    color: #fff;
    font-size: 14px;
    font-weight: var(--font-weight-body);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none;
    transition: all 0.15s ease;
    font-family: inherit;
    border-color: transparent;
}

.btn-change-pwd-submit:hover {
    background: #0052CC;
    box-shadow: none;
    transform: none;
}

.btn-change-pwd-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.change-pwd-logout-wrap {
    margin-top: 8px;
    text-align: center;
}

.btn-change-pwd-logout {
    width: auto;
    min-height: 30px;
    padding: 4px 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: var(--font-weight-body);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-change-pwd-logout:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Approved compact login; other authentication pages retain their layout. */
body.login-page.login-compact {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: stretch;
}

.login-compact .login-wrapper {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    padding: 24px 16px;
}

.login-compact .minimal-auth-container { max-width: 360px; }
.login-compact .auth-brand-header { margin-bottom: 16px; }
.login-compact .brand-logo-container { margin-bottom: 12px; }
.login-compact .brand-logo-img { height: 54px; max-height: 54px; }
.login-compact .brand-headline { font-size: 22px; }
.login-compact .brand-subheading { font-size: 14px; }
.login-compact .login-card-floating { padding: 20px; }
.login-compact .card-header-minimal { margin-bottom: 12px; }
.login-compact .form-header-desc { text-wrap: pretty; }
.login-compact .login-form .form-group { margin-bottom: 12px; }
.login-compact .login-form .input-wrap { height: 44px; min-height: 44px; }
.login-compact .login-form .btn-login { height: 44px; min-height: 44px; }

.login-compact .password-toggle {
    width: 32px;
    min-width: 32px;
    height: 40px;
    padding: 0;
    margin-right: -6px;
}

.login-compact .form-footer { margin: 0 0 8px; gap: 8px; }
.login-compact .forgot-link { min-height: 32px; white-space: nowrap; }

.login-compact .form-footer-links {
    margin-top: 8px;
    padding-top: 8px;
    gap: 8px;
    flex-wrap: wrap;
}

.login-compact .form-footer-links .footer-link-item { min-height: 32px; }

.login-compact .link-divider {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-light);
    flex-shrink: 0;
}

@media (max-width: 380px) {
    .login-compact .login-wrapper { padding: 20px 16px; }
    .login-compact .login-card-floating { padding: 20px; }
}

@media (max-width: 350px) {
    .login-compact .login-card-floating { padding: 16px; }
    .login-compact .form-footer { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
    .login-compact .forgot-link { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .login-compact *, .login-compact *::before, .login-compact *::after {
        transition: none !important;
    }
}
