﻿
/* =========================================================
       LOGIN PAGE
       ========================================================= */
.login-shell {
    width: min(100%, 1000px);
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .08);
}


/* =========================================================
       LEFT LOGIN BRANDING
       ========================================================= */

.login-aside {
    position: relative;
    min-height: 600px;
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    background: linear-gradient( 145deg, #041536 0%, #061D4C 58%, #0A315D 100% );
    overflow: hidden;
}


    /* decorative glow */

    .login-aside::before {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        right: -150px;
        top: -130px;
        border-radius: 50%;
        background: rgba(25, 183, 165, .10);
        pointer-events: none;
    }


    /* second decorative shape */

    .login-aside::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        left: -150px;
        bottom: -150px;
        border-radius: 50%;
        border: 45px solid rgba(255, 255, 255, .035);
        pointer-events: none;
    }


    /* keep content above decorations */

    .login-aside > * {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   LOGIN BRAND
   ========================================================= */

.login-brand {
    width: fit-content;
    min-height: auto;
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    text-decoration: none !important;
    transition: opacity .2s ease, transform .2s ease;
}

    .login-brand:hover {
        opacity: .95;
        transform: translateY(-1px);
    }


/* =========================================================
   LOGIN LOGO
   ========================================================= */

.login-logo {
    display: block !important;
    width: 215px !important;
    height: 78px !important;
    max-width: 215px !important;
    max-height: 78px !important;
    min-width: 180px;
    object-fit: contain;
    object-position: left center;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none;
    background: transparent;
    transition: transform .2s ease, opacity .2s ease;
}

.login-brand:hover .login-logo {
    transform: scale(1.015);
}


/* =========================================================
   LOGO TAGLINE
   ========================================================= */

.login-logo-tagline {
    margin-top: -2px;
    margin-left: 2px;
    color: #19B7A5;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.4;
}

/* =========================================================
       EYEBROW
       ========================================================= */

.login-eyebrow {
    margin-bottom: 12px;
    color: var(--gi-teal);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.login-brand-content {
    margin-top: 48px;
}
/* =========================================================
       LOGIN TITLE
       ========================================================= */

.login-aside h1 {
    max-width: 390px;
    margin: 0 0 18px;
    color: #FFFFFF;
    font-size: 2.35rem;
    line-height: 1.10;
    font-weight: 800;
    letter-spacing: -.045em;
}


/* =========================================================
       LOGIN DESCRIPTION
       ========================================================= */

.login-aside p {
    max-width: 350px;
    margin: 0;
    color: #C8D6E8;
    font-size: .94rem;
    line-height: 1.7;
}


/* =========================================================
       SECURITY FOOTER
       ========================================================= */

.login-aside-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #AEBFD5;
    font-size: .78rem;
    font-weight: 500;
}


/* security icon */

.login-security-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gi-teal);
    background: rgba(25, 183, 165, .11);
    border: 1px solid rgba(25, 183, 165, .16);
    border-radius: 9px;
    font-size: .82rem;
}


/* =========================================================
       LOGIN PANEL
       ========================================================= */

.login-panel {
    padding: 54px 56px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
}


/* =========================================================
       LOGIN HEADER
       ========================================================= */

.login-panel-header {
    margin-bottom: 32px;
}


.login-panel h2 {
    margin: 0 0 8px;
    color: var(--gi-navy);
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.035em;
}


.login-panel-header p {
    margin: 0;
    color: var(--gi-muted);
    font-size: .90rem;
}


/* =========================================================
       PAGE EYEBROW
       ========================================================= */

.page-eyebrow {
    color: var(--gi-teal-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}


/* =========================================================
       FORM LABELS
       ========================================================= */

.login-field .form-label {
    margin-bottom: 7px;
    color: #344054;
    font-size: .80rem;
    font-weight: 650;
}


/* =========================================================
       INPUT WRAPPER
       ========================================================= */

.input-with-icon {
    position: relative;
}


    /* =========================================================
       INPUT ICON
       ========================================================= */

    .input-with-icon i {
        position: absolute;
        left: 16px;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
        color: #98A2B3;
        font-size: .88rem;
        pointer-events: none;
        transition: color .18s ease;
    }


    /* =========================================================
       INPUT
       ========================================================= */

    .input-with-icon .form-control {
        height: 50px;
        padding-left: 45px;
        padding-right: 14px;
        color: var(--gi-ink);
        background: #FFFFFF;
        border: 1px solid #D0D5DD;
        border-radius: 9px;
        font-size: .88rem;
        box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
        transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    }


        .input-with-icon .form-control::placeholder {
            color: #98A2B3;
        }


    /* focus */

    .input-with-icon:focus-within i {
        color: var(--gi-teal-dark);
    }


    .input-with-icon .form-control:focus {
        color: var(--gi-ink);
        background: #FFFFFF;
        border-color: var(--gi-teal);
        box-shadow: 0 0 0 3px rgba(25, 183, 165, .11);
        outline: none;
    }


/* =========================================================
       VALIDATION
       ========================================================= */

.login-validation {
    padding: 10px 12px;
    background: rgba(220, 38, 38, .05);
    border: 1px solid rgba(220, 38, 38, .12);
    border-radius: 8px;
}


/* =========================================================
       LOGIN OPTIONS
       ========================================================= */

.login-options {
    margin-top: 12px;
    margin-bottom: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


    /* remember checkbox */

    .login-options .form-check {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }


    .login-options .form-check-input {
        width: 15px;
        height: 15px;
        margin-top: 0;
        border-color: #D0D5DD;
        cursor: pointer;
    }


        .login-options .form-check-input:checked {
            background-color: var(--gi-teal);
            border-color: var(--gi-teal);
        }


    .login-options .form-check-label {
        color: #667085;
        font-size: .76rem;
        cursor: pointer;
    }


/* =========================================================
       HELP LINK
       ========================================================= */

.login-help {
    color: var(--gi-teal-dark) !important;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .18s ease;
}


    .login-help:hover {
        color: var(--gi-navy) !important;
    }


/* =========================================================
       SIGN IN BUTTON
       ========================================================= */

.login-submit {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #FFFFFF !important;
    background: var(--gi-teal);
    border: 1px solid var(--gi-teal);
    border-radius: 9px;
    font-size: .86rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(25, 183, 165, .18);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}


    .login-submit:hover {
        color: #FFFFFF !important;
        background: var(--gi-teal-dark);
        border-color: var(--gi-teal-dark);
        box-shadow: 0 8px 18px rgba(25, 183, 165, .23);
        transform: translateY(-1px);
    }


    .login-submit i {
        font-size: .78rem;
        transition: transform .18s ease;
    }


    .login-submit:hover i {
        transform: translateX(3px);
    }


/* =========================================================
       LOGIN PANEL FOOTER
       ========================================================= */

.login-panel-footer {
    margin-top: 27px;
    padding-top: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #98A2B3;
    border-top: 1px solid #EAECF0;
    font-size: .70rem;
}


    .login-panel-footer i {
        color: var(--gi-teal-dark);
        font-size: .68rem;
    }

/* =========================================================
       LOGIN RESPONSIVE
       ========================================================= */

@@media (max-width: 991.98px) {
    .login-shell {
        width: min(100%, 560px);
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .login-aside {
        min-height: auto;
        padding: 34px 34px 32px;
    }

    .login-brand {
        margin-bottom: 35px;
    }

    .login-logo {
        width: 175px !important;
        height: 60px !important;
        max-width: 175px !important;
        max-height: 60px !important;
    }

    .login-aside h1 {
        font-size: 1.85rem;
    }

    .login-aside p {
        max-width: 100%;
    }

    .login-aside-footer {
        margin-top: 30px;
    }

    .login-panel {
        padding: 40px 34px 34px;
    }
}


/* =========================================================
       SMALL MOBILE
       ========================================================= */

@@media (max-width: 575px) {
    .login-shell {
        width: calc(100% - 24px);
        border-radius: 15px;
    }

    .login-aside {
        padding: 28px 24px 26px;
    }

    .login-brand {
        min-height: 58px;
        margin-bottom: 28px;
    }

    .login-logo {
        width: 155px !important;
        height: 52px !important;
        max-width: 155px !important;
        max-height: 52px !important;
    }

    .login-aside h1 {
        font-size: 1.65rem;
    }

    .login-aside p {
        font-size: .86rem;
    }

    .login-panel {
        padding: 32px 24px 28px;
    }

        .login-panel h2 {
            font-size: 1.55rem;
        }

    .login-options {
        align-items: flex-start;
    }
}

