/* ==========================================================
   CHINMUN ERP WEBSITE LOGIN CSS
   FILE:
   website/assets/css/login.css
========================================================== */


/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {

    --login-bg:
        #050816;

    --login-bg-soft:
        #0a1022;

    --login-card:
        rgba(
            12,
            19,
            40,
            0.88
        );

    --login-card-border:
        rgba(
            255,
            255,
            255,
            0.10
        );

    --login-text:
        #f8fafc;

    --login-muted:
        #9ca9c5;

    --login-blue:
        #3b82f6;

    --login-purple:
        #a855f7;

    --login-cyan:
        #22d3ee;

    --login-success:
        #22c55e;

    --login-danger:
        #ef4444;

}


/* ==========================================================
   LOGIN PAGE
========================================================== */

.website-login-page {

    position: relative;

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

    overflow: hidden;

    background:

        radial-gradient(
            circle at 10% 20%,
            rgba(
                59,
                130,
                246,
                0.12
            ),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(
                168,
                85,
                247,
                0.12
            ),
            transparent 30%
        ),

        var(
            --login-bg
        );

    padding:

        90px 0
        110px;

}


/* ==========================================================
   BACKGROUND ORBS
========================================================== */

.website-login-orb {

    position: absolute;

    border-radius: 50%;

    filter:
        blur(
            40px
        );

    pointer-events: none;

    opacity: 0.65;

}


.website-login-orb-one {

    width:
        340px;

    height:
        340px;

    top:
        -140px;

    left:
        -120px;

    background:

        rgba(
            59,
            130,
            246,
            0.20
        );

}


.website-login-orb-two {

    width:
        360px;

    height:
        360px;

    right:
        -150px;

    bottom:
        -130px;

    background:

        rgba(
            168,
            85,
            247,
            0.18
        );

}


/* ==========================================================
   LOGIN HERO
========================================================== */

.website-login-hero {

    position: relative;

    z-index: 2;

}


.website-login-hero-grid {

    display: grid;

    grid-template-columns:

        minmax(
            0,
            1fr
        )

        minmax(
            380px,
            520px
        );

    align-items: center;

    gap:
        80px;

}


/* ==========================================================
   LEFT CONTENT
========================================================== */

.website-login-content {

    max-width:
        680px;

}


.website-login-content .eyebrow {

    margin-bottom:
        22px;

}


.website-login-content h1 {

    margin:
        0;

    font-family:

        "Space Grotesk",
        sans-serif;

    font-size:

        clamp(
            2.8rem,
            5vw,
            5.2rem
        );

    line-height:
        1.06;

    letter-spacing:
        -0.055em;

    color:
        var(
            --login-text
        );

}


.website-login-content h1 span {

    background:

        linear-gradient(
            90deg,
            var(
                --login-blue
            ),
            var(
                --login-cyan
            ),
            var(
                --login-purple
            )
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;

}


.website-login-content > p {

    max-width:
        700px;

    margin:

        28px 0
        32px;

    color:
        var(
            --login-muted
        );

    font-size:
        1.08rem;

    line-height:
        1.85;

}


/* ==========================================================
   LOGIN OPEN BUTTON
========================================================== */

.website-login-open-btn {

    min-width:
        215px;

    border:
        none;

    cursor:
        pointer;

}


/* ==========================================================
   LOGIN BENEFITS
========================================================== */

.website-login-benefits {

    display: grid;

    gap:
        18px;

    margin-top:
        40px;

}


.website-login-benefit {

    display: flex;

    align-items: center;

    gap:
        14px;

    color:
        var(
            --login-muted
        );

    font-size:
        0.98rem;

}


.website-login-benefit-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width:
        32px;

    height:
        32px;

    border-radius:
        50%;

    color:
        #ffffff;

    background:

        linear-gradient(
            135deg,
            var(
                --login-blue
            ),
            var(
                --login-purple
            )
        );

    box-shadow:

        0 8px 30px
        rgba(
            59,
            130,
            246,
            0.25
        );

}


/* ==========================================================
   LOGIN PREVIEW CARD
========================================================== */

.website-login-preview {

    position: relative;

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    border-radius:
        28px;

    padding:
        30px;

    background:

        linear-gradient(
            145deg,
            rgba(
                18,
                28,
                58,
                0.95
            ),
            rgba(
                7,
                12,
                28,
                0.92
            )
        );

    box-shadow:

        0 30px 90px
        rgba(
            0,
            0,
            0,
            0.40
        );

    overflow: hidden;

}


.website-login-preview::before {

    content:
        "";

    position: absolute;

    width:
        220px;

    height:
        220px;

    top:
        -130px;

    right:
        -100px;

    border-radius:
        50%;

    background:

        rgba(
            59,
            130,
            246,
            0.18
        );

    filter:
        blur(
            20px
        );

}


/* ==========================================================
   PREVIEW HEADER
========================================================== */

.website-login-preview-top {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom:
        26px;

}


.website-login-preview-brand {

    display: flex;

    align-items: center;

    gap:
        12px;

}


.website-login-preview-brand strong {

    display: block;

    color:
        #ffffff;

    font-size:
        0.95rem;

}


.website-login-preview-brand span {

    display: block;

    margin-top:
        3px;

    color:
        var(
            --login-muted
        );

    font-size:
        0.78rem;

}


.website-login-live {

    display: inline-flex;

    align-items: center;

    gap:
        7px;

    padding:

        8px 12px;

    border-radius:
        999px;

    color:
        #bbf7d0;

    background:

        rgba(
            34,
            197,
            94,
            0.10
        );

    border:

        1px solid
        rgba(
            34,
            197,
            94,
            0.20
        );

    font-size:
        0.75rem;

}


.website-login-live::before {

    content:
        "";

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        var(
            --login-success
        );

}


/* ==========================================================
   PREVIEW TITLE
========================================================== */

.website-login-preview-title {

    position: relative;

    z-index: 2;

    margin:

        0 0
        24px;

    color:
        #ffffff;

    font-size:
        0.95rem;

    letter-spacing:
        0.08em;

}


/* ==========================================================
   PREVIEW WELCOME
========================================================== */

.website-login-preview-welcome {

    position: relative;

    z-index: 2;

    margin-bottom:
        26px;

}


.website-login-preview-welcome h3 {

    margin:

        0 0
        8px;

    color:
        #ffffff;

    font-size:
        1.45rem;

}


.website-login-preview-welcome p {

    margin:
        0;

    color:
        var(
            --login-muted
        );

}


/* ==========================================================
   PREVIEW STATS
========================================================== */

.website-login-preview-stats {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:

        repeat(
            2,
            1fr
        );

    gap:
        14px;

}


.website-login-preview-stat {

    padding:
        18px;

    border-radius:
        18px;

    background:

        rgba(
            255,
            255,
            255,
            0.045
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

}


.website-login-preview-stat span {

    display: block;

    margin-bottom:
        8px;

    color:
        var(
            --login-muted
        );

    font-size:
        0.75rem;

}


.website-login-preview-stat strong {

    color:
        #ffffff;

    font-size:
        1.2rem;

}


/* ==========================================================
   GLOBAL LOGIN MODAL
========================================================== */

.login-modal {

    position: fixed;

    inset:
        0;

    z-index:
        99999;

    display:
        none;

    align-items: center;

    justify-content: center;

    padding:
        24px;

    background:

        rgba(
            2,
            6,
            18,
            0.76
        );

    backdrop-filter:

        blur(
            12px
        );

    -webkit-backdrop-filter:

        blur(
            12px
        );

}


.login-modal.is-open {

    display:
        flex;

    animation:

        loginModalFade
        0.25s
        ease;

}


@keyframes loginModalFade {

    from {

        opacity:
            0;

    }

    to {

        opacity:
            1;

    }

}


/* ==========================================================
   MODAL DIALOG
========================================================== */

.login-modal-dialog {

    position: relative;

    width:
        100%;

    max-width:
        500px;

    max-height:
        calc(
            100vh - 40px
        );

    overflow-y:
        auto;

    border-radius:
        28px;

    background:

        linear-gradient(
            145deg,
            rgba(
                18,
                27,
                56,
                0.98
            ),
            rgba(
                7,
                12,
                28,
                0.98
            )
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    box-shadow:

        0 35px 120px
        rgba(
            0,
            0,
            0,
            0.65
        );

    animation:

        loginModalSlide
        0.30s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );

}


@keyframes loginModalSlide {

    from {

        opacity:
            0;

        transform:

            translateY(
                25px
            )

            scale(
                0.96
            );

    }

    to {

        opacity:
            1;

        transform:

            translateY(
                0
            )

            scale(
                1
            );

    }

}


/* ==========================================================
   MODAL GLOW
========================================================== */

.login-modal-dialog::before {

    content:
        "";

    position: absolute;

    width:
        240px;

    height:
        240px;

    top:
        -150px;

    right:
        -110px;

    border-radius:
        50%;

    background:

        rgba(
            59,
            130,
            246,
            0.20
        );

    filter:

        blur(
            30px
        );

    pointer-events:
        none;

}


.login-modal-dialog::after {

    content:
        "";

    position: absolute;

    width:
        180px;

    height:
        180px;

    bottom:
        -120px;

    left:
        -90px;

    border-radius:
        50%;

    background:

        rgba(
            168,
            85,
            247,
            0.15
        );

    filter:

        blur(
            35px
        );

    pointer-events:
        none;

}


/* ==========================================================
   MODAL CLOSE BUTTON
========================================================== */

.login-modal-close {

    position: absolute;

    z-index:
        10;

    top:
        18px;

    right:
        18px;

    display: flex;

    align-items: center;

    justify-content: center;

    width:
        42px;

    height:
        42px;

    padding:
        0;

    border:
        none;

    border-radius:
        50%;

    cursor:
        pointer;

    color:
        #ffffff;

    font-size:
        1.5rem;

    line-height:
        1;

    background:

        rgba(
            255,
            255,
            255,
            0.07
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    transition:

        transform
        0.25s
        ease,

        background
        0.25s
        ease;

}


.login-modal-close:hover {

    transform:

        rotate(
            90deg
        );

    background:

        rgba(
            239,
            68,
            68,
            0.20
        );

}


/* ==========================================================
   MODAL CONTENT
========================================================== */

.login-modal-content {

    position: relative;

    z-index:
        2;

    padding:

        52px
        42px
        42px;

}


/* ==========================================================
   MODAL BRAND
========================================================== */

.login-modal-brand {

    display: flex;

    justify-content: center;

    margin-bottom:
        24px;

}


.login-modal-brand img {

    display: block;

    width:
        auto;

    max-width:
        180px;

    max-height:
        65px;

    object-fit:
        contain;

}


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

.login-modal-heading {

    text-align:
        center;

    margin-bottom:
        30px;

}


.login-modal-heading .login-modal-label {

    display: inline-block;

    margin-bottom:
        12px;

    color:
        var(
            --login-cyan
        );

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.16em;

}


.login-modal-heading h2 {

    margin:

        0 0
        10px;

    color:
        #ffffff;

    font-family:

        "Space Grotesk",
        sans-serif;

    font-size:
        2rem;

    letter-spacing:
        -0.04em;

}


.login-modal-heading p {

    margin:
        0;

    color:
        var(
            --login-muted
        );

    line-height:
        1.7;

}


/* ==========================================================
   LOGIN FORM
========================================================== */

.login-modal-form {

    display: grid;

    gap:
        20px;

}


/* ==========================================================
   FORM FIELD
========================================================== */

.login-form-field {

    display: grid;

    gap:
        9px;

}


.login-form-field label {

    color:
        #dbe4f4;

    font-size:
        0.88rem;

    font-weight:
        600;

}


.login-form-input-wrap {

    position: relative;

}


.login-form-field input {

    width:
        100%;

    height:
        56px;

    padding:

        0
        52px
        0
        18px;

    border-radius:
        14px;

    outline:
        none;

    color:
        #ffffff;

    font-family:
        inherit;

    font-size:
        0.95rem;

    background:

        rgba(
            255,
            255,
            255,
            0.055
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    transition:

        border-color
        0.25s
        ease,

        box-shadow
        0.25s
        ease,

        background
        0.25s
        ease;

}


.login-form-field input::placeholder {

    color:

        rgba(
            156,
            169,
            197,
            0.70
        );

}


.login-form-field input:focus {

    background:

        rgba(
            59,
            130,
            246,
            0.07
        );

    border-color:

        rgba(
            59,
            130,
            246,
            0.75
        );

    box-shadow:

        0 0 0 4px
        rgba(
            59,
            130,
            246,
            0.10
        );

}


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

.login-input-icon {

    position: absolute;

    top:
        50%;

    right:
        17px;

    transform:

        translateY(
            -50%
        );

    color:
        var(
            --login-muted
        );

    pointer-events:
        none;

}


/* ==========================================================
   PASSWORD BUTTON
========================================================== */

.login-password-toggle {

    position: absolute;

    top:
        50%;

    right:
        8px;

    transform:

        translateY(
            -50%
        );

    display: flex;

    align-items: center;

    justify-content: center;

    width:
        42px;

    height:
        42px;

    padding:
        0;

    border:
        none;

    border-radius:
        10px;

    cursor:
        pointer;

    color:
        var(
            --login-muted
        );

    background:
        transparent;

    transition:

        color
        0.2s
        ease,

        background
        0.2s
        ease;

}


.login-password-toggle:hover {

    color:
        #ffffff;

    background:

        rgba(
            255,
            255,
            255,
            0.07
        );

}


/* ==========================================================
   LOGIN OPTIONS
========================================================== */

.login-form-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap:
        16px;

    margin-top:
        -4px;

}


.login-remember {

    display: flex;

    align-items: center;

    gap:
        9px;

    color:
        var(
            --login-muted
        );

    font-size:
        0.84rem;

    cursor:
        pointer;

}


.login-remember input {

    width:
        17px;

    height:
        17px;

    accent-color:
        var(
            --login-blue
        );

}


.login-forgot-password {

    color:
        var(
            --login-cyan
        );

    font-size:
        0.84rem;

    font-weight:
        600;

    text-decoration:
        none;

}


.login-forgot-password:hover {

    color:
        #ffffff;

}


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

.login-submit-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap:
        10px;

    width:
        100%;

    min-height:
        58px;

    padding:

        0
        24px;

    border:
        none;

    border-radius:
        15px;

    cursor:
        pointer;

    color:
        #ffffff;

    font-family:
        inherit;

    font-size:
        1rem;

    font-weight:
        700;

    background:

        linear-gradient(
            90deg,
            #2563eb,
            #7c3aed,
            #a855f7
        );

    box-shadow:

        0 18px 40px
        rgba(
            59,
            130,
            246,
            0.22
        );

    transition:

        transform
        0.25s
        ease,

        box-shadow
        0.25s
        ease,

        filter
        0.25s
        ease;

}


.login-submit-btn:hover {

    transform:

        translateY(
            -2px
        );

    filter:

        brightness(
            1.08
        );

    box-shadow:

        0 24px 50px
        rgba(
            124,
            58,
            237,
            0.35
        );

}


.login-submit-btn:active {

    transform:

        translateY(
            0
        );

}


/* ==========================================================
   MODAL FOOTER
========================================================== */

.login-modal-footer {

    margin-top:
        24px;

    text-align:
        center;

}


.login-modal-footer p {

    margin:
        0;

    color:
        var(
            --login-muted
        );

    font-size:
        0.83rem;

    line-height:
        1.6;

}


/* ==========================================================
   LOGIN ERROR MESSAGE
========================================================== */

.login-modal-alert {

    display: flex;

    align-items: flex-start;

    gap:
        12px;

    margin-bottom:
        22px;

    padding:
        14px;

    border-radius:
        14px;

}


.login-modal-alert-error {

    color:
        #fecaca;

    background:

        rgba(
            239,
            68,
            68,
            0.10
        );

    border:

        1px solid
        rgba(
            239,
            68,
            68,
            0.22
        );

}


.login-modal-alert-success {

    color:
        #bbf7d0;

    background:

        rgba(
            34,
            197,
            94,
            0.10
        );

    border:

        1px solid
        rgba(
            34,
            197,
            94,
            0.22
        );

}


/* ==========================================================
   PREVENT BODY SCROLL
========================================================== */

body.login-modal-open {

    overflow:
        hidden;

}


/* ==========================================================
   LOGIN PAGE MODAL SUPPORT
========================================================== */

.website-login-page
.login-modal {

    position: fixed;

}


/* ==========================================================
   TABLET
========================================================== */

@media (
    max-width: 1100px
) {

    .website-login-hero-grid {

        grid-template-columns:
            1fr;

        gap:
            55px;

    }


    .website-login-content {

        max-width:
            760px;

    }


    .website-login-preview {

        max-width:
            600px;

    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (
    max-width: 768px
) {

    .website-login-page {

        padding:

            55px 0
            80px;

    }


    .website-login-content h1 {

        font-size:

            clamp(
                2.4rem,
                12vw,
                3.8rem
            );

    }


    .website-login-content > p {

        font-size:
            1rem;

    }


    .website-login-preview {

        padding:
            22px;

        border-radius:
            22px;

    }


    .login-modal {

        align-items:
            flex-end;

        padding:
            0;

    }


    .login-modal-dialog {

        max-width:
            100%;

        max-height:
            92vh;

        border-radius:

            28px
            28px
            0
            0;

    }


    .login-modal-content {

        padding:

            48px
            22px
            30px;

    }


    .login-modal-heading h2 {

        font-size:
            1.65rem;

    }


    .login-form-options {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            14px;

    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (
    max-width: 480px
) {

    .website-login-preview-stats {

        grid-template-columns:
            1fr;

    }


    .login-modal-content {

        padding:

            45px
            18px
            25px;

    }


    .login-modal-close {

        top:
            13px;

        right:
            13px;

        width:
            38px;

        height:
            38px;

    }


    .login-modal-brand img {

        max-width:
            145px;

        max-height:
            55px;

    }


    .login-form-field input {

        height:
            54px;

    }


    .login-submit-btn {

        min-height:
            56px;

    }

}


/* ==========================================================
   REDUCE MOTION
========================================================== */

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

    .login-modal,
    .login-modal-dialog,
    .login-modal-close,
    .login-submit-btn,
    .login-form-field input {

        animation:
            none !important;

        transition:
            none !important;

    }

}
/* ==========================================================
   CHINMUN ERP GLOBAL LOGIN MODAL
   HEADER.PHP CLASS COMPATIBILITY FIX
========================================================== */


/* ==========================================================
   MAIN MODAL
========================================================== */

.website-login-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* ==========================================================
   ACTIVE MODAL
========================================================== */

.website-login-modal.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


/* ==========================================================
   BACKDROP
========================================================== */

.website-login-modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(2, 5, 18, 0.84);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


/* ==========================================================
   MODAL BOX
========================================================== */

.website-login-modal-box {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 500px;

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

    padding: 34px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius:
        26px;

    color:
        #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(19, 27, 58, 0.98),
            rgba(6, 11, 29, 0.99)
        );

    box-shadow:
        0 40px 120px
        rgba(0, 0, 0, 0.65);

    transform:
        translateY(25px)
        scale(0.97);

    transition:
        transform 0.28s ease;

    scrollbar-width:
        thin;

    scrollbar-color:
        rgba(116, 168, 255, 0.35)
        transparent;
}


/* ==========================================================
   MODAL ACTIVE ANIMATION
========================================================== */

.website-login-modal.is-open
.website-login-modal-box {
    transform:
        translateY(0)
        scale(1);
}


/* ==========================================================
   MODAL SCROLLBAR
========================================================== */

.website-login-modal-box::-webkit-scrollbar {
    width: 6px;
}


.website-login-modal-box::-webkit-scrollbar-track {
    background:
        transparent;
}


.website-login-modal-box::-webkit-scrollbar-thumb {
    border-radius:
        10px;

    background:
        rgba(116, 168, 255, 0.35);
}


/* ==========================================================
   CLOSE BUTTON
========================================================== */

.website-login-modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 10;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius:
        12px;

    cursor:
        pointer;

    color:
        rgba(230, 238, 255, 0.78);

    font-size:
        28px;

    line-height:
        1;

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

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.website-login-modal-close:hover {
    color:
        #ffffff;

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

    transform:
        rotate(90deg);
}


/* ==========================================================
   MODAL HEADER
========================================================== */

.website-login-modal-header {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom:
        28px;

    padding-right:
        35px;
}


.website-login-modal-logo {
    width: 68px;
    height: 68px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        1px solid
        rgba(112, 168, 255, 0.18);

    border-radius:
        18px;

    background:
        rgba(72, 125, 255, 0.08);
}


.website-login-modal-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit:
        contain;

    padding:
        8px;
}


.website-login-modal-label {
    margin-bottom:
        8px;

    color:
        rgba(116, 168, 255, 0.88);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        0.18em;
}


.website-login-modal-header h2 {
    margin: 0;

    color:
        #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        30px;

    line-height:
        1.1;

    letter-spacing:
        -0.03em;
}


.website-login-modal-header p {
    margin:
        8px 0 0;

    color:
        rgba(220, 229, 255, 0.58);

    font-size:
        13px;

    line-height:
        1.6;
}


/* ==========================================================
   LOGIN FORM
========================================================== */

.website-login-modal
.website-login-form {
    display: grid;

    gap: 20px;
}


/* ==========================================================
   FORM FIELD
========================================================== */

.website-login-modal
.website-login-field {
    display: grid;

    gap: 9px;
}


.website-login-modal
.website-login-field label {
    color:
        rgba(236, 241, 255, 0.88);

    font-size:
        13px;

    font-weight:
        600;
}


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

.website-login-input-wrap {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height:
        54px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius:
        15px;

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

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


.website-login-input-wrap:focus-within {
    border-color:
        rgba(96, 154, 255, 0.70);

    background:
        rgba(72, 125, 255, 0.055);

    box-shadow:
        0 0 0 4px
        rgba(72, 125, 255, 0.09);
}


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

.website-login-input-icon {
    width: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size:
        15px;

    opacity:
        0.75;
}


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

.website-login-input-wrap input {
    width: 100%;

    min-height:
        52px;

    padding:
        0 14px 0 0;

    border:
        none;

    outline:
        none;

    color:
        #ffffff;

    font-family:
        "Inter",
        sans-serif;

    font-size:
        14px;

    background:
        transparent;
}


.website-login-input-wrap input::placeholder {
    color:
        rgba(202, 212, 238, 0.42);
}


/* ==========================================================
   PASSWORD TOGGLE
========================================================== */

.website-login-password-toggle {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        none;

    cursor:
        pointer;

    color:
        rgba(190, 205, 240, 0.72);

    font-size:
        16px;

    background:
        transparent;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.website-login-password-toggle:hover {
    color:
        #ffffff;

    transform:
        scale(1.08);
}


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

.website-login-modal
.website-login-submit {
    position: relative;

    width: 100%;

    min-height:
        56px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap:
        10px;

    margin-top:
        4px;

    padding:
        0 22px;

    border:
        1px solid
        rgba(133, 183, 255, 0.24);

    border-radius:
        16px;

    cursor:
        pointer;

    overflow:
        hidden;

    color:
        #ffffff;

    font-family:
        "Inter",
        sans-serif;

    font-size:
        14px;

    font-weight:
        700;

    background:
        linear-gradient(
            135deg,
            #356cff,
            #477cff 52%,
            #00bfa7
        );

    box-shadow:
        0 18px 40px
        rgba(37, 94, 255, 0.24);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


.website-login-modal
.website-login-submit:hover {
    transform:
        translateY(-2px);

    filter:
        brightness(1.07);

    box-shadow:
        0 24px 50px
        rgba(37, 94, 255, 0.32);
}


.website-login-modal
.website-login-submit span,
.website-login-modal
.website-login-submit i {
    position: relative;

    z-index:
        1;
}


.website-login-modal
.website-login-submit i {
    font-style:
        normal;

    font-size:
        18px;
}


/* ==========================================================
   FORM FOOTER / REGISTER
========================================================== */

.website-login-modal
.website-login-register {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin-top:
        4px;

    text-align:
        center;

    color:
        rgba(215, 225, 248, 0.56);

    font-size:
        12px;
}


.website-login-modal
.website-login-register a {
    color:
        #7daffe;

    font-weight:
        700;

    text-decoration:
        none;
}


.website-login-modal
.website-login-register a:hover {
    color:
        #a5c7ff;
}


/* ==========================================================
   SECURITY FOOTER
========================================================== */

.website-login-modal
.website-login-security {
    display: flex;

    align-items: center;
    justify-content: center;

    gap:
        8px;

    margin-top:
        2px;

    padding-top:
        18px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    color:
        rgba(205, 217, 244, 0.48);
}


.website-login-modal
.website-login-security small {
    font-size:
        11px;
}


/* ==========================================================
   BODY LOCK
========================================================== */

body.login-modal-open {
    overflow:
        hidden;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 640px) {

    .website-login-modal {
        align-items:
            flex-end;

        padding:
            10px;
    }


    .website-login-modal-box {
        max-width:
            100%;

        max-height:
            calc(100vh - 20px);

        padding:
            28px 18px 24px;

        border-radius:
            24px 24px 18px 18px;

        transform:
            translateY(100%);
    }


    .website-login-modal.is-open
    .website-login-modal-box {
        transform:
            translateY(0);
    }


    .website-login-modal-header {
        align-items:
            flex-start;

        gap:
            13px;

        margin-bottom:
            24px;
    }


    .website-login-modal-logo {
        width:
            58px;

        height:
            58px;

        border-radius:
            15px;
    }


    .website-login-modal-header h2 {
        font-size:
            25px;
    }


    .website-login-modal-header p {
        font-size:
            12px;
    }


    .website-login-modal-close {
        top:
            10px;

        right:
            10px;

        width:
            38px;

        height:
            38px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .website-login-modal-box {
        padding:
            25px 15px 20px;
    }


    .website-login-modal-header h2 {
        font-size:
            23px;
    }


    .website-login-input-wrap {
        min-height:
            52px;
    }


    .website-login-input-wrap input {
        min-height:
            50px;

        font-size:
            13px;
    }

}
/* ==========================================================
   GLASS LOGIN INPUTS
========================================================== */

.login-modal .form-control,
.login-modal input[type="text"],
.login-modal input[type="password"] {

    width:
        100%;

    height:
        58px;

    padding:
        0 18px;

    color:
        #f8fbff;

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

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius:
        0 14px 14px 0;

    outline:
        none;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.04),
        0 10px 30px
        rgba(0, 0, 0, 0.12);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

}


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

.login-modal input::placeholder {

    color:
        rgba(220, 230, 245, 0.45);

}


/* ==========================================================
   INPUT FOCUS GLASS EFFECT
========================================================== */

.login-modal input:focus {

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

    border-color:
        rgba(77, 129, 255, 0.75);

    box-shadow:
        0 0 0 4px
        rgba(70, 111, 255, 0.10),

        0 15px 35px
        rgba(0, 0, 0, 0.18);

}


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

.login-input-group {

    display:
        flex;

    align-items:
        center;

    width:
        100%;

    height:
        58px;

    overflow:
        hidden;

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

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius:
        14px;

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

}


/* ==========================================================
   INPUT GROUP FOCUS
========================================================== */

.login-input-group:focus-within {

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

    border-color:
        rgba(76, 128, 255, 0.75);

    box-shadow:
        0 0 0 4px
        rgba(71, 112, 255, 0.10),

        0 14px 35px
        rgba(0, 0, 0, 0.20);

}


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

.login-input-icon {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        58px;

    min-width:
        58px;

    height:
        58px;

    color:
        rgba(135, 164, 255, 0.9);

    border-right:
        1px solid
        rgba(255, 255, 255, 0.07);

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

    font-size:
        18px;

}


/* ==========================================================
   PASSWORD TOGGLE BUTTON
========================================================== */

.login-password-toggle {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        54px;

    min-width:
        54px;

    height:
        58px;

    padding:
        0;

    color:
        rgba(190, 205, 235, 0.75);

    background:
        transparent;

    border:
        none;

    border-left:
        1px solid
        rgba(255, 255, 255, 0.07);

    cursor:
        pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease;

}


.login-password-toggle:hover {

    color:
        #ffffff;

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

}


/* ==========================================================
   AUTOFILL FIX
========================================================== */

.login-modal input:-webkit-autofill,
.login-modal input:-webkit-autofill:hover,
.login-modal input:-webkit-autofill:focus {

    -webkit-text-fill-color:
        #f8fbff;

    -webkit-box-shadow:
        0 0 0 1000px
        rgba(18, 27, 52, 0.98)
        inset;

    transition:
        background-color 9999s ease-in-out 0s;

    border-color:
        rgba(255, 255, 255, 0.12);

}