@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: #f4f7fc;
    color: #172033;
    overflow-x: hidden;
}


/* =========================================================
   MAIN LOGIN
========================================================= */

.modern-login-page {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 52% 48%;

    background: #ffffff;
}


/* =========================================================
   LEFT BRAND PANEL
========================================================= */

.login-brand-panel {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(37, 99, 235, .32),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(0, 210, 255, .16),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #04144d 0%,
            #073b9c 48%,
            #06163e 100%
        );

    color: #ffffff;
}


/* =========================================================
   GRID EFFECT
========================================================= */

.brand-grid {
    position: absolute;
    inset: 0;

    opacity: .14;

    background-image:
        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 92%
        );
}


/* =========================================================
   DECORATIVE ORBS
========================================================= */

.brand-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(.2px);
}

.orb-one {
    width: 420px;
    height: 420px;

    right: -180px;
    top: -170px;

    border: 1px solid rgba(255,255,255,.12);

    box-shadow:
        inset 0 0 80px rgba(255,255,255,.03);
}

.orb-two {
    width: 260px;
    height: 260px;

    left: -120px;
    bottom: 80px;

    background:
        radial-gradient(
            circle,
            rgba(37,211,255,.14),
            transparent 68%
        );
}

.orb-three {
    width: 90px;
    height: 90px;

    right: 14%;
    top: 22%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.12),
            transparent 68%
        );
}


/* =========================================================
   BRAND INNER
========================================================= */

.brand-inner {
    position: relative;

    z-index: 5;

    width: min(760px, 86%);

    min-height: 100vh;

    margin: auto;

    padding:
        55px 0 35px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   BRAND TOP
========================================================= */

.brand-top {
    display: flex;
    align-items: center;

    gap: 14px;
}


/* =========================================================
   BRAND MARK
========================================================= */

.brand-mark {
    position: relative;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark-inner {
    width: 54px;
    height: 54px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #18d9c7,
            #0879ff
        );

    color: #ffffff;

    font-size: 28px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.24),
        inset 0 1px 1px rgba(255,255,255,.35);
}

.brand-pulse {
    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    right: -1px;
    top: 0;

    background: #54f29d;

    border: 2px solid #07378c;

    box-shadow:
        0 0 0 5px rgba(84,242,157,.10);
}


/* =========================================================
   BRAND NAME
========================================================= */

.brand-name {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.brand-name strong {
    font-family: 'Poppins', sans-serif;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: -.4px;
}

.brand-name small {
    font-size: 10px;

    font-weight: 500;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    color: #a9c6f7;
}


/* =========================================================
   BRAND MAIN
========================================================= */

.brand-main {
    margin-top: auto;
    margin-bottom: auto;

    padding: 70px 0 55px;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 8px 13px;

    border-radius: 30px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);

    color: #cfe0ff;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.15px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #48e897;

    box-shadow:
        0 0 0 4px rgba(72,232,151,.12);
}


/* =========================================================
   BRAND HEADING
========================================================= */

.brand-main h1 {
    max-width: 690px;

    margin-top: 25px;
    margin-bottom: 22px;

    font-family: 'Poppins', sans-serif;

    font-size: clamp(42px, 4vw, 66px);

    line-height: 1.08;

    letter-spacing: -2.5px;

    font-weight: 700;
}

.brand-main h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #9bdcff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* =========================================================
   BRAND DESCRIPTION
========================================================= */

.brand-description {
    max-width: 610px;

    color: #bdd2f4;

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 35px;
}


/* =========================================================
   FEATURES
========================================================= */

.brand-features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.brand-feature {
    min-height: 86px;

    padding: 14px;

    display: flex;
    align-items: center;

    gap: 11px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.055);

    border:
        1px solid rgba(255,255,255,.09);

    backdrop-filter: blur(12px);

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.brand-feature:hover {
    transform: translateY(-5px);

    background:
        rgba(255,255,255,.095);

    border-color:
        rgba(255,255,255,.18);
}


/* =========================================================
   FEATURE ICON
========================================================= */

.feature-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #ffffff;

    font-size: 16px;
}

.feature-icon.blue {
    background:
        linear-gradient(
            145deg,
            #3d91ff,
            #1262ed
        );
}

.feature-icon.purple {
    background:
        linear-gradient(
            145deg,
            #9c57ff,
            #6930d8
        );
}

.feature-icon.green {
    background:
        linear-gradient(
            145deg,
            #36d875,
            #0b9b49
        );
}

.brand-feature strong {
    display: block;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 3px;
}

.brand-feature span {
    display: block;

    color: #9fbbe5;

    font-size: 8px;

    line-height: 1.4;
}


/* =========================================================
   BRAND BOTTOM
========================================================= */

.brand-bottom {
    display: flex;
    align-items: center;

    gap: 18px;

    color: #a9c3eb;
}

.brand-stat {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.brand-stat strong {
    font-size: 13px;

    color: #ffffff;

    font-weight: 700;
}

.brand-stat span {
    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.brand-stat-divider {
    width: 1px;
    height: 25px;

    background:
        rgba(255,255,255,.15);
}

.brand-copyright {
    margin-left: auto;

    font-size: 9px;

    color: #789bd2;
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.login-form-panel {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(37,99,235,.065),
            transparent 25%
        ),
        #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;
}


/* =========================================================
   FORM CONTAINER
========================================================= */

.login-form-container {
    width: 100%;
    max-width: 475px;

    animation:
        loginEnter .7s ease both;
}

@keyframes loginEnter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   MOBILE BRAND
========================================================= */

.mobile-brand {
    display: none;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.login-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 7px 11px;

    border-radius: 7px;

    background: #edf5ff;

    color: #1764d8;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .9px;
}

.login-badge i {
    font-size: 9px;
}


.login-heading h2 {
    margin-top: 22px;

    font-family: 'Poppins', sans-serif;

    font-size: 39px;

    line-height: 1.15;

    letter-spacing: -1.5px;

    color: #14213d;

    font-weight: 700;
}

.login-heading h2 span {
    color: #2169ed;
}

.login-heading p {
    margin-top: 10px;

    color: #718096;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   ALERT
========================================================= */

.modern-alert {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 12px 14px;

    margin-top: 25px;

    border-radius: 12px;

    border: 1px solid;
}

.modern-alert .alert-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-alert strong,
.modern-alert span {
    display: block;
}

.modern-alert strong {
    font-size: 10px;

    margin-bottom: 2px;
}

.modern-alert span {
    font-size: 9px;
}

.success-alert {
    background: #effcf5;
    border-color: #c9f2db;
    color: #16834c;
}

.success-alert .alert-icon {
    background: #d6f7e5;
}

.error-alert {
    background: #fff3f4;
    border-color: #ffd5d9;
    color: #d92d42;
}

.error-alert .alert-icon {
    background: #ffe0e3;
}


/* =========================================================
   FORM
========================================================= */

.modern-login-form {
    margin-top: 35px;
}

.modern-form-group {
    margin-bottom: 22px;
}

.modern-form-group label {
    display: block;

    margin-bottom: 9px;

    color: #293750;

    font-size: 12px;

    font-weight: 700;
}

.modern-input {
    position: relative;

    width: 100%;
}

.modern-input input {
    width: 100%;

    height: 56px;

    padding:
        0 48px 0 48px;

    border-radius: 12px;

    border:
        1px solid #dce4ef;

    background:
        #f8faff;

    color: #24324a;

    font-family: 'Inter', sans-serif;

    font-size: 13px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        transform .25s ease;
}

.modern-input input::placeholder {
    color: #a0aec0;
}

.modern-input input:hover {
    border-color: #c6d3e4;
}

.modern-input input:focus {
    background: #ffffff;

    border-color: #3478ed;

    box-shadow:
        0 0 0 4px rgba(52,120,237,.09);

    transform: translateY(-1px);
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-leading-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    width: 20px;

    color: #3979df;

    font-size: 15px;

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.modern-password-toggle {
    position: absolute;

    right: 13px;
    top: 50%;

    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 8px;

    background: transparent;

    color: #91a0b6;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.modern-password-toggle:hover {
    background: #edf4ff;

    color: #236be0;
}

.modern-password-toggle:focus {
    outline: none;
}


/* =========================================================
   ERROR
========================================================= */

.modern-error {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-top: 7px;

    color: #dc3545;

    font-size: 10px;
}


/* =========================================================
   OPTIONS
========================================================= */

.modern-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 4px;
    margin-bottom: 25px;
}

.remember-option {
    display: inline-flex !important;
    align-items: center;

    gap: 8px;

    margin: 0 !important;

    color: #66758c !important;

    font-size: 11px !important;

    font-weight: 500 !important;

    cursor: pointer;
}

.remember-option input {
    display: none;
}

.custom-checkbox {
    width: 17px;
    height: 17px;

    border-radius: 5px;

    border: 1.5px solid #cbd6e4;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: transparent;

    font-size: 8px;

    transition: .2s;
}

.remember-option input:checked + .custom-checkbox {
    background: #2169ed;

    border-color: #2169ed;

    color: #ffffff;
}

.forgot-link {
    color: #2169ed;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

    transition: color .2s;
}

.forgot-link:hover {
    color: #124bb5;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.modern-login-button {
    position: relative;

    width: 100%;
    height: 57px;

    border: none;

    border-radius: 13px;

    padding: 0;

    overflow: hidden;

    cursor: pointer;

    background:
        linear-gradient(
            100deg,
            #1464e8 0%,
            #3479ef 50%,
            #1256d2 100%
        );

    color: #ffffff;

    box-shadow:
        0 13px 28px rgba(33,105,237,.22);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.modern-login-button::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -50px;
    top: -50px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);
}

.modern-login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 34px rgba(33,105,237,.30);
}

.modern-login-button:active {
    transform: translateY(0);
}

.login-button-content {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .2px;
}

.login-button-icon {
    width: 29px;
    height: 29px;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255,255,255,.16);

    font-size: 11px;

    transition: transform .25s ease;
}

.modern-login-button:hover
.login-button-icon {
    transform: translateX(4px);
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.security-note {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 23px;

    padding: 12px 13px;

    border-radius: 11px;

    background: #f7faff;

    border: 1px solid #e8eef7;
}

.security-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f1ff;

    color: #2470df;

    font-size: 13px;
}

.security-note strong,
.security-note span {
    display: block;
}

.security-note strong {
    color: #344258;

    font-size: 9px;

    margin-bottom: 2px;
}

.security-note span {
    color: #8a97a9;

    font-size: 8px;
}


/* =========================================================
   FOOTER
========================================================= */

.modern-login-footer {
    margin-top: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #a0acbc;

    font-size: 9px;

    text-align: center;
}

.modern-login-footer strong {
    color: #3975d8;

    font-weight: 700;
}

.footer-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #c6d0dd;
}


/* =========================================================
   RESPONSIVE 1200
========================================================= */

@media (max-width: 1200px) {

    .modern-login-page {
        grid-template-columns: 48% 52%;
    }

    .brand-inner {
        width: 84%;
    }

    .brand-main h1 {
        font-size: 48px;
    }

    .brand-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .brand-feature {
        min-height: 65px;
    }

    .login-form-panel {
        padding: 40px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    body {
        overflow-y: auto;
    }

    .modern-login-page {
        display: flex;
        flex-direction: column;
    }

    .login-brand-panel {
        min-height: auto;

        height: auto;
    }

    .brand-inner {
        min-height: auto;

        padding:
            35px 0 30px;
    }

    .brand-main {
        margin: 0;

        padding:
            55px 0 45px;
    }

    .brand-main h1 {
        max-width: 700px;

        font-size: 52px;
    }

    .brand-description {
        max-width: 650px;
    }

    .brand-features {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .brand-feature {
        min-height: 80px;
    }

    .login-form-panel {
        min-height: auto;

        padding:
            60px 25px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;

        padding:
            28px 18px;
    }

    .login-form-container {
        max-width: 460px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;

        gap: 10px;

        margin-bottom: 45px;
    }

    .mobile-brand-icon {
        width: 44px;
        height: 44px;

        border-radius: 12px;

        display: flex;
        align-items: center;
        justify-content: center;

        background:
            linear-gradient(
                145deg,
                #18d9c7,
                #0879ff
            );

        color: #ffffff;

        font-size: 22px;

        box-shadow:
            0 8px 20px rgba(25,116,225,.20);
    }

    .mobile-brand strong,
    .mobile-brand small {
        display: block;
    }

    .mobile-brand strong {
        color: #17213a;

        font-family: 'Poppins', sans-serif;

        font-size: 17px;

        font-weight: 700;
    }

    .mobile-brand small {
        margin-top: 2px;

        color: #8290a5;

        font-size: 8px;

        letter-spacing: .7px;

        text-transform: uppercase;
    }

    .login-heading h2 {
        font-size: 34px;
    }

    .login-heading p {
        font-size: 12px;
    }

    .modern-login-form {
        margin-top: 30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .login-form-panel {
        padding:
            22px 15px;
    }

    .mobile-brand {
        margin-bottom: 35px;
    }

    .login-heading h2 {
        font-size: 30px;
    }

    .login-badge {
        font-size: 7px;
    }

    .modern-input input {
        height: 53px;

        font-size: 12px;
    }

    .modern-login-button {
        height: 54px;
    }

    .modern-login-footer {
        flex-wrap: wrap;

        line-height: 1.5;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}