/* ===========================
   ROOT / RESET
   =========================== */
:root {
    --brand-green: #14532d;
    --brand-green-dark: #0a2f1a;
    --brand-green-mid: #1d6b3f;
    --light-bg: #D8DBD6;
    --text-dark: #1f2a24;
    --text-muted: #6b7a72;
    --danger: #ef4444;
    --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --font-body: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --radius: 14px;
    --transition: 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0ec;
}

/* ===========================
   LOGIN CONTAINER
   =========================== */
.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: min(750px, 90vh);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===========================
   LEFT PANEL (brand)
   =========================== */
.left-panel {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 50px 40px;
    background: #D3D3D3;
}

.brand-wrapper {
    text-align: left;
}

.brand-kicker {
    position: absolute;
    top: 28px;
    left: 40px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-kicker__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-green);
    flex-shrink: 0;
}

.brand-kicker__line {
    width: 40px;
    height: 1px;
    background: var(--brand-green);
    opacity: 0.5;
    flex-shrink: 0;
}

.brand-kicker__text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
    white-space: nowrap;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(95%, 560px);
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Discourages casual right-click-save / drag-out. Note: this is a
   deterrent, not real protection — anyone using devtools or view-source
   can still get the file. For actual protection, don't serve the raw
   file publicly (e.g. serve a watermarked/low-res version). */
.no-download {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* ===========================
   RIGHT PANEL (form) - dark green
   =========================== */
.right-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: safe center;
    justify-content: center;
    padding: 50px 40px;
    overflow-y: auto;
    background: linear-gradient(160deg, var(--brand-green-mid) 0%, var(--brand-green) 55%, var(--brand-green-dark) 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px 34px;
    backdrop-filter: blur(4px);
}

/* ===========================
   CARD HEADER — "— Login —"
   =========================== */
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.card-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 6vw, 1.9rem);
    font-weight: 700;
    color: #ffffff;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
}

.card-header .line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

/* ===========================
   ROLE TOGGLE (Administrator / Employee)
   — styled to sit inside the translucent card like a pill switch,
     echoing the same white-pill look as .login-btn
   =========================== */
.role-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 26px;
}

.role-toggle

.role-toggle__thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #ffffff;
    border-radius: 26px;
    transition: transform var(--transition);
    z-index: 0;
}

.role-toggle__btn {
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    padding: 10px 8px;
    border-radius: 26px;
    cursor: pointer;
    transition: color var(--transition);
}

.role-toggle__btn.is-active { color: var(--brand-green); }

/* ===========================
   AUTH SWITCH LINK
   ("Have no account? Register here." / "Already have an account? Login here.")
   =========================== */
.auth-switch {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 18px;
}

.auth-switch__link {
    border: none;
    background: none;
    padding: 0;
    margin-left: 4px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

.auth-switch__link:hover { color: #d4e8d6; }

/* Gives the Create Account button the same breathing room the Login
   button gets from .forgot-password-container, since the sign-up form
   has no forgot-password link above its submit button. */
.login-btn--top-gap {
    margin-top: 26px;
}

/* ===========================
   STATUS MESSAGE
   =========================== */
.form-status {
    font-size: 0.82rem;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    line-height: 1.45;
}

.form-status[data-kind="error"] {
    background: rgba(239, 68, 68, 0.16);
    color: #ffd9d9;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.form-status[data-kind="success"] {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===========================
   FORM ELEMENTS
   =========================== */
.input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    margin-top: 20px;
}

.input-label:first-of-type {
    margin-top: 0;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-badge {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 81, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* icon-badge now colors an inline SVG rather than an <img>,
       so the icon color follows this one variable */
    color: var(--brand-green);
}

.icon-badge svg {
    width: 16px;
    height: 16px;
}

.phone-prefix {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    pointer-events: none;
}

.phone-input-wrapper input {
    padding-left: 84px !important;
}

.input-wrapper input {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0 44px 0 52px;
    transition: box-shadow var(--transition);
}

.input-wrapper input::placeholder {
    font-size: 0.95rem;
    color: #a9b3ac;
}

.input-wrapper input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-green);
    cursor: pointer;
    z-index: 2;
    display: flex;
}

.password-toggle svg {
    width: 17px;
    height: 17px;
}

.password-toggle svg

.password-toggle:hover {
    color: var(--brand-green-dark);
}

/* ===========================
   FORGOT PASSWORD + LOGIN BUTTON
   =========================== */
.forgot-password-container {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 26px;
}

.forgot-password {
    border: none;
    background: none;
    padding: 0;
    font-size: 0.82rem;
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition);
}

.forgot-password:hover {
    color: #d4e8d6;
}

.back-to-login {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 0.82rem;
    color: #ffffff;
    text-decoration: underline;
}

.back-to-login:hover {
    color: #d4e8d6;
}

.login-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 30px;
    background: #ffffff;
    color: var(--brand-green);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
}

.login-btn:hover {
    background: #eef7f0;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

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

.login-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.login-btn .icon-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
}

.login-btn:hover .icon-chevron {
    transform: translateX(3px);
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 760px) {
    .login-container {
        flex-direction: column;
        max-width: 420px;
        height: auto;
    }

    .left-panel {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 24px 20px;
        min-height: 0;
    }

    .brand-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .brand-kicker {
        position: static;
        margin-bottom: 16px;
    }

    .logo-container {
        position: static;
        transform: none;
        width: min(38%, 150px);
    }

    .right-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .left-panel {
        padding: 20px 18px 16px;
    }

    .logo-container {
        width: min(34%, 110px);
    }

    .card-header {
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===========================
   GLOBAL [hidden] FIX — see Dashboard.css for the full explanation.
   =========================== */

/* ===========================
   MODAL SYSTEM (Forgot Password)
   ----------------------------
   Index.html doesn't load Dashboard.css, so this page needs its own
   copy of the modal classes ForgotPassword.js relies on — matched to
   this page's own green/white palette instead of the dashboard's.
   =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
}

.modal {
    background: #ffffff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
}

.modal__header h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.modal__close {
    border: none;
    background: none;
    color: var(--text-muted);
    display: flex;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
}

.modal__close:hover { background: #f2f2f2; color: var(--text-dark); }
.modal__close svg { width: 18px; height: 18px; }

.modal__body {
    padding: 20px 22px;
    overflow-y: auto;
}

.modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid #eee;
}

.confirm-dialog__message {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-dark);
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-field input {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition);
}

.form-field input:focus {
    border-color: var(--brand-green);
}

.btn-outline {
    border: 1px solid #ddd;
    background: #ffffff;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-outline:hover { background: #f5f5f5; }

.btn-primary {
    border: none;
    background: var(--brand-green);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-primary:hover { background: var(--brand-green-mid); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* The base .form-status[data-kind] colors (further up this file) are
   designed for the dark green login card. Inside the white modal,
   those same colors have almost no contrast — this overrides them
   with proper light-background colors, scoped to just the modal. */
.modal .form-status[data-kind="error"] {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f3b7b0;
}

.modal .form-status[data-kind="success"] {
    background: #e3f3e8;
    color: var(--brand-green);
    border: 1px solid #b7ddc3;
}

[hidden] {
    display: none !important;
}

/* ===========================
   RESET PASSWORD PAGE
   =========================== */
.reset-password__email {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    text-align: center;
}

/* ===========================
   FORGOT PASSWORD — ACCOUNT SEARCH RESULTS
   =========================== */
.fp-account-result {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.fp-account-result:hover {
    background: #eef7f0;
    border-color: var(--brand-green);
}

.fp-account-result__role {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-green);
    background: rgba(20, 83, 45, 0.1);
    padding: 4px 8px;
    border-radius: 999px;
}

.fp-account-result__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fp-account-result__name {
    font-size: 13.5px;
    color: var(--text-dark);
}

.fp-account-result__email {
    font-size: 12px;
    color: var(--text-muted);
}

.fp-return-link {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    background: none;
    color: var(--brand-green);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0 2px;
}

.fp-return-link:hover {
    color: var(--brand-green-mid);
}

/* ===========================
   OTP DIGIT INPUT BOXES
   =========================== */
.otp-digit-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.otp-digit-input {
    width: 100%;
    aspect-ratio: 1 / 1;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-green-dark);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.otp-digit-input:focus {
    border-color: #ffffff;
    background: #ffffff;
}

/* ===========================
   USERNAME FIELD + REGENERATE BUTTON
   =========================== */
.username-wrapper input {
    padding-right: 44px;
}

.username-regenerate-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--brand-green);
    cursor: pointer;
    display: flex;
    padding: 4px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.username-regenerate-btn:hover {
    color: var(--brand-green-dark);
}

.username-regenerate-btn.is-spinning svg {
    animation: username-regen-spin 0.5s ease;
}

.username-regenerate-btn svg {
    width: 18px;
    height: 18px;
}

@keyframes username-regen-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(180deg); }
}

/* ===========================
   REMEMBER ME CHECKBOX
   =========================== */
.remember-me-row {
    margin-top: 12px;
    margin-bottom: 6px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #ffffff;
    cursor: pointer;
}

/* ===========================
   GOOGLE SIGN-IN
   =========================== */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}

.google-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===========================
   SUSPENSION GLASS OVERLAY
   =========================== */
.suspension-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.suspension-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    padding: 32px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.suspension-card__icon {
    color: #ff8a80;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.suspension-card__icon svg {
    width: 40px;
    height: 40px;
}

.suspension-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.suspension-card__row {
    font-size: 13.5px;
    line-height: 1.6;
    text-align: left;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.suspension-card__note {
    font-size: 12px;
    opacity: 0.85;
    margin: 14px 0 18px;
}

.suspension-card .btn-primary {
    width: 100%;
}

/* ===========================
   LOCKED ACCOUNT GLASS OVERLAY
   =========================== */
.lock-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.lock-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    padding: 32px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lock-card__icon {
    color: #ff8a80;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.lock-card__icon svg {
    width: 40px;
    height: 40px;
}

.lock-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.lock-card__note {
    font-size: 13.5px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 4px 0 18px;
}

.lock-card .btn-primary {
    width: 100%;
}

/* ===========================
   AUTOFILL DETECTION (signup password fields)
   ----------------------------------------------------------------
   No native JS event fires when a browser autofills a field — this
   is the standard workaround: define an animation that does nothing
   visually, but attach it specifically to the browser's internal
   :-webkit-autofill state. The 'animationstart' event firing in JS
   is what actually reveals the real moment autofill happened.
   =========================== */
@keyframes onAutofillDetected {
  from { opacity: 1; }
  to { opacity: 1; }
}

#admin-signup-password:-webkit-autofill,
#admin-signup-confirm-password:-webkit-autofill,
#signup-password:-webkit-autofill,
#signup-confirm-password:-webkit-autofill,
#employee-username:-webkit-autofill,
#employee-password:-webkit-autofill,
#admin-email:-webkit-autofill,
#admin-password:-webkit-autofill {
    animation-name: onAutofillDetected;
    animation-duration: 0.01s;
}

/* ===========================
   ROLE SELECTION PAGE
   =========================== */
.role-select__subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13.5px;
    margin: -10px 0 20px;
    text-align: center;
}

.role-select__options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.role-select__card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.role-select__card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.role-select__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.role-select__icon svg {
    width: 22px;
    height: 22px;
}

.role-select__text {
    flex: 1;
}

.role-select__text h3 {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 2px;
}

.role-select__text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12.5px;
    margin: 0;
}

.role-select__arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.card-back-link {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.card-back-link:hover {
    opacity: 1;
}

.card-back-link svg {
    width: 20px;
    height: 20px;
}


/* ===========================
   PENDING APPROVAL (reuses the glass lock card)
   =========================== */
.pending-card__icon {
    color: #ffd180;
}

.pending-card__username {
    font-weight: 600;
    margin-top: -6px;
}


/* Sign-in page: secondary actions */
.login-alt { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.login-alt__title { text-align: center; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.login-alt__btn { display: block; text-align: center; padding: 12px 16px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: background 0.15s; }
.login-alt__btn:hover { background: rgba(255, 255, 255, 0.14); }

.login-staff-note { margin: 16px 0 0; text-align: center; font-size: 0.74rem; color: rgba(255, 255, 255, 0.5); }
.login-staff-note a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }
.login-staff-note a:hover { color: #fff; }

.otp-staff-hint { margin: 6px 2px 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }
.otp-staff-hint[data-expired="1"] { color: #ffd1cc; font-weight: 600; }
