/* ================================================================
   SHARED AUTHENTICATION DESIGN
   ---------------------------------------------------------------
   Used by:
   - User Login
   - Admin Login
   - Forgot Password
   - Reset Password
   ================================================================ */

:root {
    --auth-primary: #0e50b5;
    --auth-primary-dark: #083d8a;
    --auth-primary-light: #edf4ff;

    --auth-navy: #071d3d;
    --auth-navy-light: #0c2d59;

    --auth-text: #172033;
    --auth-muted: #6b7587;

    --auth-border: #dce2eb;
    --auth-background: #f7f9fc;
    --auth-white: #ffffff;

    --auth-danger: #dc3545;
    --auth-success: #198754;

    --auth-radius: 12px;
}
 

/* ================================================================
   PAGE
   ================================================================ */

.auth-page {
    min-height: 100vh;
    background: var(--auth-background);
    overflow: hidden;
    color: var(--auth-text);
}

.auth-page .auth-row {
    min-height: 100vh;
}


/* ================================================================
   LEFT IMAGE / BRAND PANEL
   ================================================================ */

.auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--auth-navy);
}

.auth-visual-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.02);

    transition: transform .8s ease;
}

.auth-visual:hover .auth-visual-image {
    transform: scale(1.04);
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 20, 43, .58) 0%,
            rgba(5, 29, 61, .72) 48%,
            rgba(4, 18, 39, .96) 100%
        );
}


/* ================================================================
   VISUAL CONTENT
   ================================================================ */

.auth-visual-content {
    position: relative;
    z-index: 2;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 44px 52px;
}


/* Logo */

.auth-brand {
    display: inline-flex;
    align-items: center;
}

.auth-brand img {
    width: auto;
    max-width: 150px;
    max-height: 58px;

    object-fit: contain;

    filter: brightness(0) invert(1);
}


/* Main visual message */

.auth-visual-message {
    max-width: 560px;

    margin-top: auto;
    margin-bottom: 55px;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50px;

    background: rgba(255,255,255,.08);

    color: rgba(255,255,255,.9);

    font-size: .7rem;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;

    backdrop-filter: blur(10px);
}

.auth-eyebrow i {
    color: #83bbff;
}

.auth-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #55d98a;

    box-shadow:
        0 0 0 4px rgba(85,217,138,.12);
}

.auth-visual-message h1,
.auth-visual-message h2 {
    margin: 21px 0 17px;

    color: #fff;

    font-size: clamp(2.4rem, 4vw, 4.1rem);
    line-height: 1.05;

    font-weight: 300;

    letter-spacing: -.045em;
}

.auth-visual-message h1 strong,
.auth-visual-message h2 strong,
.auth-visual-message h1 span,
.auth-visual-message h2 span {
    display: block;

    color: #83bbff;

    font-weight: 700;
}

.auth-visual-message p {
    max-width: 480px;

    margin: 0;

    color: rgba(255,255,255,.67);

    font-size: .92rem;
    line-height: 1.75;
}


/* ================================================================
   VISUAL FEATURE FOOTER
   ================================================================ */

.auth-visual-features {
    display: flex;
    gap: 28px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.13);
}

.auth-feature {
    display: flex;
    align-items: center;

    gap: 9px;
}

.auth-feature-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255,255,255,.09);

    color: #fff;
}

.auth-feature strong {
    display: block;

    color: #fff;

    font-size: .7rem;
    font-weight: 600;
}

.auth-feature small {
    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.46);

    font-size: .62rem;
}


/* ================================================================
   RIGHT FORM AREA
   ================================================================ */

.auth-form-area {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 8%;

    background:
        radial-gradient(
            circle at top right,
            rgba(14,80,181,.055),
            transparent 30%
        ),
        var(--auth-background);
}

.auth-form-container {
    width: 100%;
    max-width: 465px;
}


/* ================================================================
   MOBILE BRAND
   ================================================================ */

.auth-mobile-brand {
    display: none;
}


/* ================================================================
   HEADER
   ================================================================ */

.auth-heading {
    margin-bottom: 28px;
}

.auth-heading-label {
    display: block;

    margin-bottom: 8px;

    color: var(--auth-primary);

    font-size: .65rem;
    font-weight: 800;

    letter-spacing: .13em;

    text-transform: uppercase;
}

.auth-heading h1 {
    margin: 0 0 8px;

    color: var(--auth-text);

    font-size: 2.25rem;
    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -.04em;
}

.auth-heading p {
    margin: 0;

    color: var(--auth-muted);

    font-size: .84rem;
    line-height: 1.6;
}


/* ================================================================
   BACK HOME
   ================================================================ */

.auth-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 22px;

    color: #7d8797;

    font-size: .73rem;
    font-weight: 600;

    text-decoration: none;

    transition: color .2s ease;
}

.auth-back-home:hover {
    color: var(--auth-primary);
}


/* ================================================================
   STATUS / ERROR ALERT
   ================================================================ */

.auth-alert {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 13px 38px 13px 13px;

    margin-bottom: 22px;

    border-radius: 11px;

    font-size: .73rem;
}

.auth-alert-success {
    border: 1px solid rgba(25,135,84,.16);
    background: rgba(25,135,84,.055);
    color: #146c43;
}

.auth-alert-danger {
    border: 1px solid rgba(220,53,69,.16);
    background: rgba(220,53,69,.055);
    color: #842029;
}

.auth-alert-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255,255,255,.6);

    font-size: .9rem;
}

.auth-alert-content strong {
    display: block;

    margin-bottom: 3px;

    font-size: .76rem;
}

.auth-alert-content p {
    margin: 0;

    line-height: 1.5;
}

.auth-alert-content ul {
    margin: 3px 0 0;
    padding-left: 15px;

    line-height: 1.5;
}

.auth-alert-close {
    position: absolute;

    top: 9px;
    right: 9px;

    border: 0;

    background: transparent;

    color: inherit;

    opacity: .65;

    cursor: pointer;
}

.auth-alert-close:hover {
    opacity: 1;
}


/* ================================================================
   FORM
   ================================================================ */

.auth-form {
    width: 100%;
}


/* ================================================================
   FIELD
   ================================================================ */

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;

    margin-bottom: 8px;

    color: #303b4e;

    font-size: .76rem;
    font-weight: 700;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-label-row a {
    color: var(--auth-primary);

    font-size: .71rem;
    font-weight: 700;

    text-decoration: none;
}

.auth-label-row a:hover {
    color: var(--auth-primary-dark);
}


/* ================================================================
   INPUT
   ================================================================ */

.auth-input {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    height: 55px;

    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);

    background: #fff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.auth-input:hover {
    border-color: #c7cfda;
}

.auth-input:focus-within {
    border-color: var(--auth-primary);

    box-shadow:
        0 0 0 4px rgba(14,80,181,.07);
}

.auth-input.has-error {
    border-color: var(--auth-danger);
}

.auth-input-icon {
    width: 50px;

    flex: 0 0 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8b95a5;

    font-size: .95rem;
}

.auth-input:focus-within .auth-input-icon {
    color: var(--auth-primary);
}

.auth-input input {
    width: 100%;
    height: 100%;

    padding: 0 12px 0 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--auth-text);

    font-size: .83rem;
}

.auth-input input::placeholder {
    color: #a4acb8;
}


/* Password */

.auth-password-toggle {
    width: 47px;
    height: 100%;

    flex: 0 0 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #8b95a5;

    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--auth-primary);
}


/* ================================================================
   FIELD ERROR
   ================================================================ */

.auth-field-error {
    display: flex;
    align-items: center;
    gap: 5px;

    margin-top: 6px;

    color: var(--auth-danger);

    font-size: .68rem;
}

.auth-field .invalid-feedback {
    font-size: .68rem;
}


/* ================================================================
   REMEMBER ME
   ================================================================ */

.auth-options {
    margin: 2px 0 22px;
}

.auth-remember {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #697386;

    font-size: .75rem;

    cursor: pointer;
}

.auth-remember input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.auth-checkbox {
    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ccd4df;
    border-radius: 5px;

    background: #fff;
}

.auth-checkbox i {
    display: none;

    color: #fff;

    font-size: .68rem;
}

.auth-remember input:checked + .auth-checkbox {
    border-color: var(--auth-primary);

    background: var(--auth-primary);
}

.auth-remember input:checked + .auth-checkbox i {
    display: block;
}


/* ================================================================
   PRIMARY BUTTON
   ================================================================ */

.auth-primary-button {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #1262d2,
            #0e50b5
        );

    color: #fff;

    font-size: .81rem;
    font-weight: 700;

    box-shadow:
        0 8px 18px rgba(14,80,181,.18);

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.auth-primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 25px rgba(14,80,181,.24);
}

.auth-primary-button:disabled {
    opacity: .72;

    cursor: not-allowed;

    transform: none;
}

.auth-button-content {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.auth-button-arrow {
    transition: transform .2s ease;
}

.auth-primary-button:hover .auth-button-arrow {
    transform: translateX(3px);
}


/* ================================================================
   SECONDARY / CANCEL BUTTON
   ================================================================ */

.auth-secondary-button {
    width: 100%;
    min-height: 46px;

    margin-top: 9px;

    border: 1px solid transparent;
    border-radius: 10px;

    background: transparent;

    color: #8a93a1;

    font-size: .74rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.auth-secondary-button:hover {
    background: #eef1f5;

    color: var(--auth-text);
}


/* ================================================================
   INFORMATION NOTICE
   ================================================================ */

.auth-notice {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 25px;
    padding: 13px;

    border: 1px solid #e4e8ee;
    border-radius: 10px;

    background: #fafbfc;
}

.auth-notice-icon {
    color: #7185a3;

    font-size: .9rem;
}

.auth-notice strong {
    display: block;

    margin-bottom: 3px;

    color: #596578;

    font-size: .69rem;
}

.auth-notice p {
    margin: 0;

    color: #929baa;

    font-size: .66rem;
    line-height: 1.5;
}


/* ================================================================
   LOGIN / RESET FOOTER
   ================================================================ */

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 28px;

    color: #9ba3af;

    font-size: .63rem;

    text-align: center;
}

.auth-footer i {
    color: #7698c4;
}

.auth-footer-separator {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #c8ced7;
}


/* ================================================================
   ADMIN VARIANT
   ================================================================ */

.auth-admin .auth-visual {
    background: var(--auth-navy);
}

.auth-admin .auth-eyebrow {
    background: rgba(14,80,181,.16);
}

.auth-admin .auth-heading-label {
    color: var(--auth-primary);
}


/* ================================================================
   RESET PASSWORD VARIANT
   ================================================================ */

.auth-reset .auth-heading {
    margin-bottom: 12px;
}

.auth-reset-description {
    margin: 0 0 27px;

    color: var(--auth-muted);

    font-size: .8rem;
    line-height: 1.7;
}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 991.98px) {

    .auth-visual {
        display: none;
    }

    .auth-form-area {
        min-height: 100vh;

        padding:
            35px
            24px
            30px;

        align-items: flex-start;
    }

    .auth-form-container {
        max-width: 510px;

        margin: auto;
    }

    .auth-mobile-brand {
        display: block;

        margin-bottom: 42px;
    }

    .auth-mobile-brand img {
        max-width: 125px;
        max-height: 50px;

        object-fit: contain;
    }

}


/* ================================================================
   SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .auth-form-area {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-mobile-brand {
        margin-bottom: 34px;
    }

    .auth-heading h1 {
        font-size: 1.9rem;
    }

    .auth-input {
        height: 53px;
    }

    .auth-primary-button {
        min-height: 52px;
    }

}


/* ================================================================
   REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
```
