.hv-login-page {

    min-height: calc(100vh - 76px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 4rem 1.5rem;

    background:
        linear-gradient(135deg,
            #f5f8fc 0%,
            #eef3f9 100%);
}


/* =========================================================
   LOGIN WRAPPER
   ========================================================= */

.hv-login-wrapper {

    width: 100%;

    max-width: 1050px;

    min-height: 620px;

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    background: white;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(20, 35, 55, 0.12);

    border: 1px solid #e4eaf1;
}


/* =========================================================
   LEFT BRAND PANEL
   ========================================================= */

.hv-login-brand {

    position: relative;

    overflow: hidden;

    padding: 3.5rem;

    display: flex;

    align-items: center;

    background:
        linear-gradient(145deg,
            #101827 0%,
            #172a42 55%,
            #203e61 100%);

    color: white;
}


.hv-login-brand-content {

    position: relative;

    z-index: 5;

    max-width: 390px;
}


/* Security icon */

.hv-security-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        rgba(66, 122, 181, 0.18);

    border: 1px solid rgba(126, 169, 223, 0.25);

    color: #82afe5;

    font-size: 1.4rem;

    margin-bottom: 1.5rem;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.18);
}


.hv-login-eyebrow {

    display: block;

    color: #7ea9df;

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 0.8rem;
}


.hv-login-brand h1 {

    margin: 0 0 1rem;

    color: white;

    font-size: 3.2rem;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.hv-login-brand h1 span {

    color: #79a8df;
}


.hv-login-brand>.hv-login-brand-content>p {

    color: #aebdce;

    line-height: 1.7;

    font-size: 0.94rem;

    margin-bottom: 2rem;
}


/* =========================================================
   FEATURES
   ========================================================= */

.hv-login-features {

    display: flex;

    flex-direction: column;

    gap: 1rem;
}


.hv-login-feature {

    display: flex;

    align-items: center;

    gap: 12px;
}


.hv-login-feature>span {

    width: 38px;

    height: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.07);

    color: #80aae0;

    font-size: 0.8rem;
}


.hv-login-feature strong {

    display: block;

    color: #edf3fa;

    font-size: 0.82rem;

    margin-bottom: 2px;
}


.hv-login-feature small {

    display: block;

    color: #8192a8;

    font-size: 0.72rem;
}


/* =========================================================
   DECORATIVE GRID
   ========================================================= */

.hv-login-grid {

    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.13) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.13) 1px,
            transparent 1px);

    background-size: 35px 35px;

    mask-image:
        linear-gradient(135deg,
            black,
            transparent 70%);
}


/* Decorative circles */

.hv-login-circle {

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(126, 169, 223, 0.12);
}


.circle-one {

    width: 360px;

    height: 360px;

    right: -180px;

    top: -100px;
}


.circle-two {

    width: 250px;

    height: 250px;

    left: -150px;

    bottom: -130px;
}


/* =========================================================
   FORM PANEL
   ========================================================= */

.hv-login-form-panel {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 3rem;
}


.hv-login-form {

    width: 100%;

    max-width: 390px;
}


/* =========================================================
   HEADING
   ========================================================= */

.hv-login-heading {

    margin-bottom: 2rem;
}


.hv-login-heading h2 {

    margin: 0 0 0.45rem;

    color: #182438;

    font-size: 1.7rem;

    letter-spacing: -0.5px;
}


.hv-login-heading p {

    margin: 0;

    color: #788597;

    font-size: 0.86rem;
}


/* Mobile logo */

.hv-mobile-logo {

    display: none;
}


/* =========================================================
   ALERT
   ========================================================= */

.hv-login-alert {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 12px 14px;

    margin-bottom: 1.4rem;

    border-radius: 10px;

    background: #fff4f4;

    border: 1px solid #f3d5d5;

    color: #a43d3d;

    font-size: 0.8rem;

    line-height: 1.5;
}


.hv-alert-icon {

    color: #d35454;

    margin-top: 1px;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.hv-form-group {

    margin-bottom: 1.25rem;
}


.hv-form-group label {

    display: block;

    margin-bottom: 7px;

    color: #344258;

    font-size: 0.8rem;

    font-weight: 700;
}


/* Password label */

.hv-password-label {

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.hv-password-label a {

    color: #427AB5;

    font-size: 0.72rem;

    font-weight: 600;

    text-decoration: none;
}


.hv-password-label a:hover {

    color: #315e92;

    text-decoration: underline;
}


/* =========================================================
   INPUT
   ========================================================= */

.hv-input-wrapper {

    position: relative;
}


.hv-input-wrapper>i {

    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #9aa7b7;

    font-size: 0.82rem;

    pointer-events: none;

    transition: color 0.2s ease;
}


.hv-input-wrapper input {

    width: 100%;

    box-sizing: border-box;

    height: 48px;

    padding:
        0 44px 0 40px;

    border: 1px solid #dce3eb;

    border-radius: 9px;

    background: #fbfcfe;

    color: #263449;

    font-size: 0.84rem;

    outline: none;

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.hv-input-wrapper input::placeholder {

    color: #a9b2bf;
}


.hv-input-wrapper input:focus {

    background: white;

    border-color: #6e9bd2;

    box-shadow:
        0 0 0 3px rgba(66, 122, 181, 0.10);
}


.hv-input-wrapper:focus-within>i {

    color: #427AB5;
}


/* Password toggle */

.hv-password-toggle {

    position: absolute;

    right: 10px;

    top: 50%;

    transform: translateY(-50%);

    width: 32px;

    height: 32px;

    border: none;

    background: transparent;

    color: #9aa7b7;

    cursor: pointer;

    border-radius: 6px;
}


.hv-password-toggle:hover {

    color: #427AB5;

    background: #f1f5f9;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.hv-login-options {

    margin: 0.2rem 0 1.4rem;
}


.hv-checkbox {

    display: inline-flex !important;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: #69778a !important;

    font-size: 0.76rem !important;

    font-weight: 500 !important;

    margin: 0 !important;
}


.hv-checkbox input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.hv-checkmark {

    width: 17px;

    height: 17px;

    border: 1px solid #ccd5df;

    border-radius: 4px;

    background: white;

    position: relative;

    transition: all 0.2s ease;
}


.hv-checkbox input:checked+.hv-checkmark {

    background: #427AB5;

    border-color: #427AB5;
}


.hv-checkbox input:checked+.hv-checkmark::after {

    content: "";

    position: absolute;

    width: 5px;

    height: 9px;

    border:
        solid white;

    border-width:
        0 2px 2px 0;

    transform:
        rotate(45deg);

    left: 5px;

    top: 2px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.hv-login-submit {

    width: 100%;

    height: 49px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 9px;

    background:
        linear-gradient(135deg,
            #427AB5,
            #526fc0);

    color: white;

    font-size: 0.86rem;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(66, 122, 181, 0.22);

    transition: all 0.25s ease;
}


.hv-login-submit i {

    font-size: 0.7rem;

    transition: transform 0.2s ease;
}


.hv-login-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(66, 122, 181, 0.30);
}


.hv-login-submit:hover i {

    transform: translateX(3px);
}


.hv-login-submit:active {

    transform: translateY(0);
}


/* =========================================================
   REGISTER
   ========================================================= */

.hv-login-register {

    margin-top: 1.7rem;

    padding-top: 1.4rem;

    border-top: 1px solid #edf0f4;

    text-align: center;

    color: #7b8797;

    font-size: 0.77rem;
}


.hv-login-register a {

    color: #427AB5;

    font-weight: 700;

    text-decoration: none;

    margin-left: 4px;
}


.hv-login-register a:hover {

    text-decoration: underline;
}


/* =========================================================
   SECURITY NOTICE
   ========================================================= */

.hv-login-security {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 1.5rem;

    color: #9aa5b3;

    font-size: 0.68rem;
}


.hv-login-security i {

    color: #6e9bd2;

    font-size: 0.72rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .hv-login-page {

        padding: 2rem 1rem;

        min-height: calc(100vh - 70px);
    }


    .hv-login-wrapper {

        grid-template-columns: 1fr;

        max-width: 480px;

        min-height: auto;
    }


    .hv-login-brand {

        display: none;
    }


    .hv-login-form-panel {

        padding: 2.5rem 2rem;
    }


    .hv-mobile-logo {

        display: flex;

        width: 46px;

        height: 46px;

        align-items: center;

        justify-content: center;

        margin-bottom: 1rem;

        border-radius: 12px;

        background:
            linear-gradient(135deg,
                #427AB5,
                #6549bb);

        color: white;

        font-weight: 900;

        font-size: 0.9rem;
    }

}


@media (max-width: 450px) {

    .hv-login-page {

        padding: 1rem 0.7rem;
    }


    .hv-login-wrapper {

        border-radius: 16px;
    }


    .hv-login-form-panel {

        padding: 2rem 1.3rem;
    }


    .hv-login-heading h2 {

        font-size: 1.45rem;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hv-login-submit,
    .hv-input-wrapper input,
    .hv-password-toggle,
    .hv-checkmark {

        transition: none;
    }

}