 
    :root {
        --primary: #16c5d8;
        --primary-dark: #0ca8ba;
        --dark: #121c24;
        --muted: #6c757d;
        --light: #f4fbfc;
        --white: #ffffff;
        --border: #e3f3f5;
        --shadow: 0 18px 45px rgba(18, 28, 36, 0.08);
        --shadow-hover: 0 24px 60px rgba(18, 28, 36, 0.14);
    }

    body {
        font-family: "Segoe UI", Tahoma, Arial, sans-serif;
        color: var(--muted);
        background:
            radial-gradient(circle at 12% 22%, rgba(22, 197, 216, 0.14), transparent 30%),
            radial-gradient(circle at 88% 22%, rgba(22, 197, 216, 0.1), transparent 30%),
            linear-gradient(180deg, #ffffff 0%, #f3fbfd 100%);
        min-height: 100vh;
    }

    .auth-page {
        min-height: calc(100vh - var(--navbar-height) - var(--footer-height));
        display: flex;
        align-items: center;
        justify-content: center;

        padding-top: 80px;
        padding-bottom: 80px;
        padding-inline: 16px;
    }

    .auth-container {
        width: 100%;
        max-width: 940px;
    }

    .auth-content {
        overflow: hidden;
        border: 0;
        border-radius: 30px;
        box-shadow: var(--shadow-hover);
        width: 100%;
        display: flex;
        min-height: 600px;
    }

    .auth-content .row {
        width: 100%;
        display: flex;
    }

    .auth-content .col-lg-5,
    .auth-content .col-lg-7 {
        display: flex;
    }

    .auth-side {
        color: var(--white);
        background: linear-gradient(rgba(18, 28, 36, 0.88), rgba(18, 28, 36, 0.88)), radial-gradient(circle at 30% 20%, rgba(22, 197, 216, 0.5), transparent 40%);
        padding: 42px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }

    .auth-brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: var(--white);
        font-size: 30px;
        font-weight: 900;
        margin-bottom: 28px;
    }

    .auth-brand:hover {
        color: var(--white);
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(22, 197, 216, 0.3);
    }

    .auth-side h1 {
        font-size: clamp(30px, 4vw, 42px);
        font-weight: 900;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .auth-side p {
        color: rgba(255, 255, 255, 0.78);
    }

    .auth-feature {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 700;
    }

    .auth-feature i {
        color: var(--primary);
        font-size: 20px;
    }

    .auth-form-area {
        background-color: var(--white);
        padding: 42px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .auth-form-area>form {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .auth-form-area>form> :last-child {
        margin-bottom: 0;
    }

    .auth-form-area>.text-center {
        margin-top: auto;
    }

    .auth-title {
        color: var(--dark);
        font-weight: 900;
        margin-bottom: 8px;
    }

    .auth-text {
        color: var(--muted);
        margin-bottom: 28px;
    }

    .form-label {
        color: var(--dark);
        font-weight: 800;
    }

    .form-control {
        border-color: var(--border);
        border-radius: 16px;
        padding: 13px 16px;
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(22, 197, 216, 0.16);
    }

    .btn-main {
        color: var(--white);
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border: 0;
        border-radius: 50rem;
        padding: 12px 30px;
        font-weight: 800;
        box-shadow: 0 14px 30px rgba(22, 197, 216, 0.28);
        transition: all 0.3s ease;
    }

    .btn-main:hover {
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(22, 197, 216, 0.36);
    }

    .btn-main:disabled {
        transform: none;
        opacity: 0.75;
    }

    .btn-soft {
        color: var(--primary-dark);
        background-color: var(--white);
        border: 1px solid rgba(22, 197, 216, 0.35);
        border-radius: 50rem;
        padding: 12px 30px;
        font-weight: 800;
        transition: all 0.3s ease;
    }

    .btn-soft:hover {
        color: var(--white);
        background-color: var(--primary);
        border-color: var(--primary);
        transform: translateY(-3px);
    }

    .btn-soft:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .modal-close-link {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--dark);
        background-color: var(--light);
        border-radius: 50%;
        transition: all 0.25s ease;
    }

    .modal-close-link:hover {
        color: var(--white);
        background-color: var(--primary);
    }

    .auth-link {
        color: var(--primary-dark);
        font-weight: 800;
        text-decoration: none;
    }

    .auth-link:hover {
        color: var(--primary);
    }

    .divider {
        position: relative;
        text-align: center;
        color: var(--muted);
        margin: 22px 0;
        font-weight: 700;
    }

    .divider::before,
    .divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 42%;
        height: 1px;
        background-color: var(--border);
    }

    .divider::before {
        inset-inline-start: 0;
    }

    .divider::after {
        inset-inline-end: 0;
    }

    /* Social Login Buttons - Modern & Premium */
    .social-login-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 6px;
    }

    .social-login-form {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .btn-social {
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 13px 24px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background-color: var(--white);
        color: var(--dark);
        font-size: 15px;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(18, 28, 36, 0.08);
        text-decoration: none;
    }

    .btn-social:hover {
        border-color: var(--primary);
        background-color: rgba(22, 197, 216, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(22, 197, 216, 0.15);
    }

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

    .btn-social:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .btn-social-google {
        color: #1f2937;
    }

    .btn-social-google:hover {
        border-color: #4285f4;
        background-color: rgba(66, 133, 244, 0.05);
        box-shadow: 0 8px 24px rgba(66, 133, 244, 0.12);
    }

    .btn-social-facebook {
        color: #1f2937;
    }

    .btn-social-facebook:hover {
        border-color: #1877f2;
        background-color: rgba(24, 119, 242, 0.05);
        box-shadow: 0 8px 24px rgba(24, 119, 242, 0.12);
    }

    .social-icon {
        display: inline-block;
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
    }

    .btn-social-google .social-icon {
        color: #4285f4;
    }

    .btn-social-facebook .social-icon {
        color: #1877f2;
    }

    .btn-social span {
        flex: 1;
    }

    /* OTP verification extras */
    .otp-input {
        letter-spacing: 12px;
        text-align: center;
        font-size: 22px;
        font-weight: 800;
    }

    .countdown-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 800;
        color: var(--primary-dark);
    }

    @media (max-width: 991.98px) {

        .auth-side,
        .auth-form-area {
            padding: 30px;
        }

        .auth-content {
            flex-direction: column;
            min-height: auto;
        }

        .auth-content .row {
            flex-direction: column;
        }

        .auth-side {
            min-height: 300px;
            justify-content: flex-start;
        }

        .btn-social {
            padding: 12px 20px;
            font-size: 14px;
        }

        .social-icon {
            width: 18px;
            height: 18px;
        }
    }

    /* Deliberately understated: a secondary, low-emphasis link for internal staff only. */
    .staff-login-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        opacity: 0.7;
        transition: color 0.2s ease, opacity 0.2s ease;
    }

    .staff-login-link:hover {
        color: var(--primary-dark);
        opacity: 1;
    }

    /* Password Toggle Button */
    .password-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .password-input-wrapper input {
        width: 100%;
    }

    .password-toggle-btn {
        position: absolute;
        inset-inline-end: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        transition: color 0.2s ease;
        z-index: 10;
    }

    .password-toggle-btn:hover {
        color: var(--primary);
    }

    .password-toggle-btn:focus {
        outline: none;
        color: var(--primary);
    }

    .password-toggle-btn i {
        font-size: 18px;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
