:root {
    --primary: #155eef;
    --primary-dark: #0b47c9;
    --primary-light: #eaf1ff;

    --dark: #101828;
    --text: #344054;
    --muted: #667085;

    --border: #d0d5dd;

    --background: #f8fafc;

    --success: #12b76a;
    --danger: #f04438;

    --white: #ffffff;
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    min-height: 100%;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--dark);
}


.login-wrapper {
    display: grid;
    grid-template-columns: 52% 48%;
    min-height: 100vh;
}


/* =========================================================
   LEFT SECTION
========================================================= */

.login-brand-section {
    position: relative;
    overflow: hidden;

    display: flex;

    min-height: 100vh;

    background:
        linear-gradient(
            145deg,
            #071b4d 0%,
            #0b3da8 50%,
            #155eef 100%
        );

    color: var(--white);
}


.login-brand-section::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 255, 255, .12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 255, 255, .08),
            transparent 25%
        );
}


.brand-content {
    position: relative;
    z-index: 5;

    width: 100%;

    padding: 55px 70px;

    display: flex;
    flex-direction: column;
}


.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: white;
    text-decoration: none;

    font-size: 21px;
    font-weight: 700;

    width: fit-content;
}


.brand-icon {
    width: 47px;
    height: 47px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .14);

    border:
        1px solid
        rgba(255, 255, 255, .20);

    backdrop-filter: blur(10px);

    font-size: 22px;
}


.brand-description {
    max-width: 620px;

    margin-top: auto;
    margin-bottom: auto;
}


.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 50px;

    background:
        rgba(255, 255, 255, .12);

    border:
        1px solid
        rgba(255, 255, 255, .18);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .6px;

    margin-bottom: 28px;
}


.brand-description h1 {
    max-width: 600px;

    font-size: clamp(
        42px,
        4.5vw,
        70px
    );

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 700;

    margin-bottom: 24px;
}


.brand-description h1 span {
    color: #8db7ff;
}


.brand-description > p {
    max-width: 540px;

    font-size: 18px;

    line-height: 1.8;

    color:
        rgba(255, 255, 255, .78);

    margin-bottom: 40px;
}


.brand-features {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}


.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .12);

    font-size: 18px;
}


.feature-item div {
    display: flex;
    flex-direction: column;
}


.feature-item strong {
    font-size: 14px;
}


.feature-item small {
    font-size: 11px;

    color:
        rgba(255, 255, 255, .62);

    margin-top: 2px;
}


.brand-footer {
    font-size: 12px;

    color:
        rgba(255, 255, 255, .55);
}


/* Decoration */

.brand-decoration {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, .09);
}


.decoration-one {
    width: 500px;
    height: 500px;

    right: -230px;
    top: -180px;
}


.decoration-two {
    width: 750px;
    height: 750px;

    right: -350px;
    bottom: -450px;
}


.decoration-three {
    width: 250px;
    height: 250px;

    left: -150px;
    bottom: 50px;
}


/* =========================================================
   RIGHT
========================================================= */

.login-form-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 60px;

    background: #ffffff;
}


.login-container {
    width: 100%;
    max-width: 430px;
}


.mobile-brand {
    display: none;
}


.login-header {
    margin-bottom: 35px;
}


.login-small-title {
    display: block;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.6px;

    margin-bottom: 12px;
}


.login-header h2 {
    font-size: 34px;

    font-weight: 700;

    letter-spacing: -1px;

    color: var(--dark);

    margin-bottom: 10px;
}


.login-header p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

    margin: 0;
}


/* =========================================================
   ALERT
========================================================= */

.custom-alert {
    border: 0;

    border-radius: 12px;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 13px;

    padding: 14px 16px;
}


.custom-alert i {
    font-size: 17px;
}


/* =========================================================
   FORM
========================================================= */

.form-group-custom {
    margin-bottom: 22px;
}


.form-label {
    display: block;

    font-size: 13px;

    font-weight: 600;

    color: var(--text);

    margin-bottom: 8px;
}


.input-wrapper {
    position: relative;
}


.input-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #98a2b3;

    font-size: 18px;
}


.form-control-custom {
    width: 100%;

    height: 54px;

    border:
        1px solid
        var(--border);

    border-radius: 11px;

    background: white;

    padding:
        0 50px
        0 48px;

    outline: none;

    color: var(--dark);

    font-size: 14px;

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}


.form-control-custom::placeholder {
    color: #98a2b3;
}


.form-control-custom:hover {
    border-color: #98a2b3;
}


.form-control-custom:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(21, 94, 239, .10);
}


.form-control-custom.is-invalid {
    border-color: var(--danger);
}


.password-toggle {
    position: absolute;

    right: 15px;
    top: 50%;

    transform:
        translateY(-50%);

    border: 0;

    background: transparent;

    color: #667085;

    cursor: pointer;

    font-size: 18px;

    padding: 5px;
}


/* =========================================================
   REMEMBER
========================================================= */

.remember-wrapper {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: -3px;

    margin-bottom: 25px;
}


.form-check-label {
    color: var(--muted);

    font-size: 13px;

    cursor: pointer;
}


.form-check-input {
    cursor: pointer;

    border-color: var(--border);
}


.form-check-input:checked {
    background-color: var(--primary);

    border-color: var(--primary);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    border: 0;

    width: 100%;

    height: 55px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(21, 94, 239, .24);

    transition:
        transform .2s,
        box-shadow .2s;
}


.login-button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 14px 30px
        rgba(21, 94, 239, .3);
}


.login-button:active {
    transform:
        translateY(0);
}


.login-button:disabled {
    opacity: .75;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   OTHER
========================================================= */

.back-home {
    text-align: center;

    margin-top: 26px;
}


.back-home a {
    text-decoration: none;

    font-size: 13px;

    color: var(--muted);

    font-weight: 500;

    transition: color .2s;
}


.back-home a:hover {
    color: var(--primary);
}


.back-home i {
    margin-right: 5px;
}


.security-information {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 35px;

    padding-top: 22px;

    border-top:
        1px solid
        #eaecf0;

    color: #98a2b3;

    font-size: 11px;
}


.security-information i {
    color: var(--success);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (
    max-width: 992px
) {

    .login-wrapper {
        display: block;
    }


    .login-brand-section {
        display: none;
    }


    .login-form-section {
        min-height: 100vh;

        padding:
            40px 25px;
    }


    .mobile-brand {
        display: flex;

        align-items: center;

        gap: 12px;

        margin-bottom: 50px;

        color: var(--dark);

        font-size: 18px;
    }


    .mobile-brand .brand-icon {
        width: 42px;
        height: 42px;

        background:
            var(--primary-light);

        color: var(--primary);

        border: 0;

        font-size: 19px;
    }

}


@media (
    max-width: 480px
) {

    .login-form-section {
        align-items: flex-start;

        padding:
            30px 20px;
    }


    .mobile-brand {
        margin-bottom: 45px;
    }


    .login-header h2 {
        font-size: 29px;
    }


    .login-header {
        margin-bottom: 30px;
    }

}