/* =========================================================
   ROOT
========================================================= */

:root {

    --amber: #E59805;
    --amber-2: #ffb82e;

    --bg: #111315;
    --bg2: #17191c;

    --white: #ffffff;
    --text: #f5f5f5;
    --muted: #8f959d;

    --border: rgba(255,255,255,0.095);

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html,
body {

    width: 100%;
    min-height: 100%;

}


body {

    font-family: 'Montserrat', sans-serif;

    color: var(--text);

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(229,152,5,0.12),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 85%,
            rgba(255,184,46,0.07),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            var(--bg),
            var(--bg2)
        );

    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    overflow-x: hidden;

}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.bg-glow-1 {

    position: fixed;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        rgba(229,152,5,0.055);

    filter: blur(70px);

    top: -220px;
    left: -180px;

    pointer-events: none;

}


.bg-glow-2 {

    position: fixed;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        rgba(255,184,46,0.035);

    filter: blur(70px);

    bottom: -180px;
    right: -120px;

    pointer-events: none;

}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.login-container {

    position: relative;

    width: 100%;
    max-width: 1050px;

    min-height: 620px;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    background:
        rgba(255,255,255,0.045);

    border:
        1px solid var(--border);

    border-radius: 30px;

    overflow: hidden;

    backdrop-filter:
        blur(25px);

    -webkit-backdrop-filter:
        blur(25px);

    box-shadow:

        0 40px 100px
        rgba(0,0,0,0.55),

        inset 0 1px 0
        rgba(255,255,255,0.055);

}


/* =========================================================
   BRAND PANEL
========================================================= */

.brand-panel {

    position: relative;

    padding: 52px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:

        linear-gradient(
            145deg,
            rgba(229,152,5,0.095),
            rgba(255,255,255,0.015)
        );

    border-right:
        1px solid rgba(255,255,255,0.07);

    overflow: hidden;

}


.brand-panel::before {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -260px;
    bottom: -280px;

    border-radius: 50%;

    border:
        1px solid rgba(229,152,5,0.16);

    box-shadow:

        0 0 0 45px
        rgba(229,152,5,0.025),

        0 0 0 90px
        rgba(229,152,5,0.018);

    pointer-events: none;

}


.brand-panel::after {

    content: "";

    position: absolute;

    width: 200px;
    height: 1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--amber),
            transparent
        );

    top: 155px;
    left: -30px;

    transform:
        rotate(-35deg);

    opacity: 0.45;

    pointer-events: none;

}


/* =========================================================
   BRAND
========================================================= */

.brand-top {

    position: relative;

    z-index: 2;

    text-align: center;

}


.brand-logo {

    width: 100%;

    max-width: 500px;

    margin:
        0 auto 24px;

}


.brand-logo img {

    width: 100%;

    height: auto;

    max-height: 120px;

    object-fit: contain;

    display: block;

}


.brand-description {

    margin:
        20px auto 0;

    max-width: 390px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.9;

    font-weight: 500;

}


/* =========================================================
   LOGIN PANEL
========================================================= */

.login-panel {

    padding:
        50px 58px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        rgba(10,12,14,0.25);

}


/* =========================================================
   LOGIN HEADER
========================================================= */

.login-header {

    margin-bottom: 25px;

}


.login-header .eyebrow {

    color: var(--amber-2);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 12px;

}


/*
   New HTML uses .login-kicker
*/

.login-kicker {

    display: inline-block;

    color: var(--amber-2);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 12px;

}


.login-header h2 {

    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -0.8px;

    font-weight: 800;

}


.login-header p {

    margin-top: 10px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;

}


/* =========================================================
   LOGIN CONTENT
========================================================= */

.login-content {

    animation:
        fadeIn 0.3s ease;

}


@keyframes fadeIn {

    from {

        opacity: 0;

        transform:
            translateY(5px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   ROLE TITLE
========================================================= */

.role-title {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    padding-bottom: 17px;

    border-bottom:
        1px solid rgba(255,255,255,0.065);

}


.role-title-icon {

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(229,152,5,0.10);

    border:
        1px solid rgba(229,152,5,0.18);

    color:
        var(--amber-2);

    font-size: 13px;

}


.role-title-text {

    min-width: 0;

}


.role-title-text > span {

    display: block;

    margin-bottom: 3px;

    color:
        rgba(255,255,255,0.30);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.4px;

}


.role-title-text h3 {

    font-size: 13px;

    font-weight: 800;

    color:
        #eeeeee;

}


.role-title-text p {

    margin-top: 3px;

    color:
        #6f767e;

    font-size: 8px;

    font-weight: 500;

}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {

    margin-bottom: 16px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color:
        #c9cdd2;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.8px;

    text-transform: uppercase;

}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.input-wrapper {

    position: relative;

    width: 100%;

}


/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {

    position: absolute;

    left: 16px;

    top: 50%;

    transform:
        translateY(-50%);

    color:
        #686f77;

    font-size: 12px;

    pointer-events: none;

    transition:
        color 0.2s ease;

}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper input {

    width: 100%;

    height: 50px;

    padding:
        0 46px 0 44px;

    border-radius: 13px;

    border:
        1px solid rgba(255,255,255,0.085);

    outline: none;

    background:
        rgba(0,0,0,0.20);

    color:
        var(--white);

    font-family: inherit;

    font-size: 11px;

    font-weight: 500;

    transition:

        border-color 0.25s ease,

        background 0.25s ease,

        box-shadow 0.25s ease;

}


.input-wrapper input::placeholder {

    color:
        #60666e;

}


.input-wrapper input:hover {

    border-color:
        rgba(255,255,255,0.14);

}


.input-wrapper input:focus {

    border-color:
        rgba(229,152,5,0.65);

    background:
        rgba(0,0,0,0.28);

    box-shadow:

        0 0 0 3px
        rgba(229,152,5,0.07);

}


.input-wrapper:focus-within .input-icon {

    color:
        var(--amber-2);

}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {

    position: absolute;

    right: 12px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    background:
        transparent;

    color:
        #686f77;

    cursor: pointer;

    padding: 5px;

    font-size: 12px;

    transition:
        color 0.2s ease,
        background 0.2s ease;

}


.password-toggle:hover {

    color:
        var(--amber-2);

    background:
        rgba(229,152,5,0.06);

    border-radius: 8px;

}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {

    width: 100%;

    height: 52px;

    margin-top: 7px;

    border: none;

    border-radius: 13px;

    cursor: pointer;

    color:
        #141414;

    background:

        linear-gradient(
            110deg,
            var(--amber),
            var(--amber-2)
        );

    font-family: inherit;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.9px;

    text-transform: uppercase;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    box-shadow:

        0 12px 30px
        rgba(229,152,5,0.17);

    transition:

        transform 0.25s ease,

        box-shadow 0.25s ease,

        background 0.25s ease;

}


.login-button i {

    font-size: 10px;

    transition:
        transform 0.25s ease;

}


.login-button:hover {

    transform:
        translateY(-2px);

    box-shadow:

        0 16px 38px
        rgba(229,152,5,0.25);

}


.login-button:hover i {

    transform:
        translateX(3px);

}


.login-button:active {

    transform:
        translateY(0);

}


/* =========================================================
   CUSTOMER ACCESS
   NO CARD
========================================================= */

.customer-access {

    width: 100%;

    margin-top: 24px;

}


/* =========================================================
   CUSTOMER DIVIDER
========================================================= */

.customer-access-divider {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

}


.customer-access-divider span {

    flex: 1;

    height: 1px;

    background:

        rgba(255,255,255,0.065);

}


.customer-access-divider p {

    color:
        #5f666e;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


/* =========================================================
   CUSTOMER CONTENT
========================================================= */

.customer-access-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

}


/* =========================================================
   CUSTOMER TEXT
========================================================= */

.customer-access-text {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.customer-access-label {

    color:
        var(--amber-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.customer-access-text strong {

    color:
        rgba(255,255,255,0.88);

    font-size: 11px;

    font-weight: 700;

}


.customer-access-text p {

    color:
        #666d75;

    font-size: 8px;

    line-height: 1.5;

}


/* =========================================================
   CUSTOMER BUTTON
========================================================= */

.customer-access-button {

    flex-shrink: 0;

    min-width: 100px;

    height: 38px;

    padding:
        0 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border:
        1px solid rgba(229,152,5,0.32);

    border-radius: 10px;

    color:
        var(--amber-2);

    background:
        rgba(229,152,5,0.025);

    text-decoration: none;

    font-family: inherit;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    transition:

        background 0.25s ease,

        border-color 0.25s ease,

        transform 0.25s ease,

        box-shadow 0.25s ease;

}


.customer-access-button i {

    font-size: 9px;

    transition:
        transform 0.25s ease;

}


.customer-access-button:hover {

    background:
        rgba(229,152,5,0.08);

    border-color:
        rgba(229,152,5,0.60);

    transform:
        translateY(-1px);

    box-shadow:
        0 7px 18px rgba(229,152,5,0.08);

}


.customer-access-button:hover i {

    transform:
        translateX(3px);

}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {

    margin-top: 22px;

    padding-top: 18px;

    border-top:
        1px solid rgba(255,255,255,0.065);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}


.login-footer span {

    color:
        #646b73;

    font-size: 8px;

    font-weight: 500;

}


.login-footer span:first-child {

    display: flex;

    align-items: center;

    gap: 6px;

}


.login-footer i {

    color:
        var(--amber);

    font-size: 8px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    body {

        padding: 20px;

    }


    .login-container {

        max-width: 720px;

        grid-template-columns: 1fr;

        min-height: auto;

    }


    .brand-panel {

        padding: 35px;

        min-height: 280px;

        border-right: none;

        border-bottom:
            1px solid rgba(255,255,255,0.07);

    }


    .brand-description {

        max-width: 600px;

    }


    .login-panel {

        padding:
            40px 45px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    body {

        padding: 12px;

        align-items: flex-start;

        padding-top: 20px;

        padding-bottom: 20px;

    }


    .login-container {

        width: 100%;

        border-radius: 22px;

    }


    .brand-panel {

        min-height: 220px;

        padding:
            28px 24px;

    }


    .brand-logo {

        max-width: 220px;

        margin-bottom: 18px;

    }


    .brand-logo img {

        max-height: 80px;

    }


    .brand-description {

        margin-top: 13px;

        font-size: 10px;

        line-height: 1.7;

    }


    .login-panel {

        padding:
            32px 24px;

    }


    .login-header {

        margin-bottom: 22px;

    }


    .login-header h2 {

        font-size: 25px;

    }


    .login-header p {

        font-size: 10px;

    }


    .role-title {

        margin-bottom: 17px;

    }


    .role-title-text h3 {

        font-size: 12px;

    }


    .role-title-text p {

        font-size: 8px;

    }


    .customer-access {

        margin-top: 22px;

    }


    .customer-access-content {

        align-items: center;

    }


    .customer-access-text strong {

        font-size: 10px;

    }


    .customer-access-text p {

        font-size: 7.5px;

    }


    .customer-access-button {

        min-width: 92px;

        height: 36px;

        padding:
            0 11px;

        font-size: 7.5px;

    }


    .login-footer {

        margin-top: 20px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .brand-panel {

        padding:
            24px 20px;

    }


    .login-panel {

        padding:
            28px 20px;

    }


    .brand-logo {

        max-width: 190px;

    }


    .brand-logo img {

        max-height: 70px;

    }


    .login-header h2 {

        font-size: 23px;

    }


    .login-header p {

        font-size: 9px;

    }


    .input-wrapper input {

        height: 48px;

    }


    .login-button {

        height: 48px;

    }


    .customer-access-content {

        align-items: flex-start;

    }


    .customer-access-text {

        max-width: 190px;

    }


    .customer-access-button {

        min-width: 82px;

        height: 34px;

        padding:
            0 9px;

    }


    .login-footer {

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

    }
}
