@import url(CustomLogin.css);

:root {
    --indigo-2: #3B1475;
    --gold: #F2B33D;
    --orange: #F2984B;
    --green: #8FD14F;
    --btn: #26096B;
    --ink: #1B1433;
    --ink-2: #5C5473;
    --ink-3: #938CA8;
    --line: #E3DCEF;
    --danger: #d9534f;
    --lg-grad: linear-gradient(128deg, #22084A 0%, #341268 46%, #5B1E6E 74%, #8B3450 100%);
    --lg-glow: radial-gradient(90% 90% at 96% 4%, rgba(226, 110, 80, .55) 0%, rgba(226, 110, 80, 0) 58%);
    z-index: -1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    margin: 0;
    background: #22084A;
    color: var(--ink);
    font-family: "Lato", "Segoe UI", system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.lgpage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

/* Left Side Brand Banner */
.lgbrand {
    position: relative;
    background: var(--lg-grad);
    color: #fff;
    overflow: hidden;
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

    .lgbrand::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--lg-glow);
        pointer-events: none;
    }

    .lgbrand > * {
        position: relative;
        z-index: 1;
    }

.lgring {
    position: absolute;
    z-index: 0 !important;
    left: -300px;
    bottom: -360px;
    width: 640px;
    height: 640px;
    opacity: .75;
    pointer-events: none;
}

    .lgring svg {
        width: 100%;
        height: 100%;
        animation: lgspin 240s linear infinite;
    }

@keyframes lgspin {
    to {
        transform: rotate(360deg);
    }
}

.lgwelcome {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, .88);
}

.lgword {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

    .lgword .sbi {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
        border-radius: 50%;
        box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
    }

    .lgword h1 {
        font-size: 72px;
        font-weight: 900;
        letter-spacing: -.025em;
        line-height: 1;
        color: #fff;
    }

        .lgword h1 b {
            color: var(--gold);
            font-weight: 900;
        }

.lgtagwrap {
    display: inline-block;
    margin-top: 34px;
}

.lgtag {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -.005em;
}

    .lgtag .o {
        color: var(--orange);
    }

    .lgtag .w {
        color: #fff;
    }

    .lgtag .g {
        color: var(--green);
    }

.lgline {
    position: relative;
    height: 3px;
    margin-top: 16px;
    width: 100%;
}

    .lgline i {
        position: absolute;
        inset: 0;
        border-radius: 3px;
        background: linear-gradient(90deg, #F2984B 0%, #FFFFFF 55%, #8FD14F 100%);
        clip-path: inset(0 100% 0 0);
        animation: lgdraw 3.8s cubic-bezier(.55, .05, .25, 1) infinite;
    }

    .lgline b {
        position: absolute;
        top: 50%;
        left: 0;
        width: 16px;
        height: 16px;
        margin: -8px 0 0 -8px;
        background: #fff;
        clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, .95));
        opacity: 0;
        animation: lgtip 3.8s cubic-bezier(.55, .05, .25, 1) infinite;
    }

@keyframes lgdraw {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }

    58% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

    86% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}

@keyframes lgtip {
    0% {
        left: 0;
        opacity: 1;
        transform: rotate(0);
    }

    58% {
        left: 100%;
        opacity: 1;
        transform: rotate(180deg);
    }

    66% {
        left: 100%;
        opacity: 0;
        transform: rotate(200deg);
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.lgvalues {
    margin-top: 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    max-width: 520px;
}

    .lgvalues span {
        font-family: "IBM Plex Mono", monospace;
        font-size: 10.5px;
        font-weight: 500;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .78);
        border: 1px solid rgba(255, 255, 255, .26);
        border-radius: 20px;
        padding: 6px 12px;
    }

.lgfoot .lgdisclaimer {
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 1.5;
    color: var(--ink-3);
}

/* Right Side Form Sheet */
.lgsheet {
    position: relative;
    background: #fff;
    border-radius: 44px 0 0 44px;
    margin-left: -44px;
    z-index: 0;
    display: flex;
    flex-direction: column;
    padding: 34px 64px 32px;
    min-height: 100vh;
}

.lgtoplink {
    align-self: flex-end;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .lgtoplink:hover {
        color: var(--indigo-2);
    }

    .lgtoplink svg {
        width: 16px;
        height: 16px;
    }

.lgform {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 0;
}

.lgeyebrow {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.lgsheet h2 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.015em;
    color: var(--ink);
    margin-top: 6px;
    line-height: 1.15;
}

.lgfield {
    position: relative;
    margin-top: 24px;
}

    .lgfield label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--ink-2);
    }

.lgcontrol {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--line);
    transition: border-color .15s;
}

.lgfield:focus-within .lgcontrol {
    border-color: var(--indigo-2);
}

.lgfield input,
.lgfield select {
    flex: 1;
    border: 0;
    background: none;
    outline: 0;
    font-size: 18px;
    color: var(--ink);
    padding: 10px 0 9px;
    min-width: 0;
    width: 100%;
}

.lgeye {
    border: 0;
    background: none;
    color: var(--ink-3);
    padding: 6px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border-radius: 8px;
}

    .lgeye:hover {
        color: var(--indigo-2);
    }

    .lgeye svg {
        width: 22px;
        height: 22px;
    }

.validation-msg {
    display: none;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--danger);
}

    .validation-msg.visible {
        display: block;
    }

.input-invalid .lgcontrol {
    border-color: var(--danger) !important;
}

.lggo {
    margin-top: 22px;
    width: 100%;
    border: 0;
    border-radius: 16px;
    background: var(--btn);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 17px;
    cursor: pointer;
    box-shadow: 0 18px 30px -16px rgba(38, 9, 107, .75);
    transition: transform .12s, background .12s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .lggo:hover {
        transform: translateY(-1px);
        background: #2F0C82;
    }

.lgrow {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.lgforgot {
    font-size: 14px;
    font-weight: 900;
    color: var(--btn);
    text-decoration: none;
}

    .lgforgot:hover {
        text-decoration: underline;
    }

.lgpens {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #FFF4EE;
    border: 1px solid #F6D9C9;
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 12.5px;
    color: #8A3B1E;
}

.d-none {
    display: none
}

.lgfoot {
    margin: 0 auto;
    max-width: 420px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--ink-3);
    line-height: 1.7;
}

    .lgfoot b {
        color: var(--ink-2);
        font-weight: 700;
    }

    .lgfoot .apm {
        font-family: "IBM Plex Mono", monospace;
        font-size: 10.5px;
        letter-spacing: .06em;
    }

/* Captcha Styles */
.captcha-container {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

    .captcha-container input {
        border-bottom: 2px solid var(--line);
        border-top: 0;
        border-left: 0;
        border-right: 0;
        padding: 8px 0;
        font-size: 16px;
        outline: none;
        width: 110px;
    }

.captchaRefreshBtn {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 4px;
}

    .captchaRefreshBtn img {
        width: 20px;
        height: 20px;
    }

@media (max-width: 900px) {
    .lgpage {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .lgbrand {
        min-height: 0;
        padding: 28px 26px 84px;
    }

    .lgring {
        display: none;
    }

    .lgword h1 {
        font-size: 48px;
    }

    .lgword .sbi {
        width: 40px;
        height: 40px;
    }

    .lgtagwrap {
        margin-top: 20px;
    }

    .lgtag {
        font-size: 20px;
    }

    .lgvalues,
    .lgdisclaimer {
        display: none;
    }

    .lgsheet {
        border-radius: 34px 34px 0 0;
        margin: -52px 0 0;
        padding: 22px 26px 28px;
        min-height: 0;
    }

        .lgsheet h2 {
            font-size: 28px;
        }

    .lgtoplink {
        align-self: flex-start;
        margin-bottom: 6px;
    }
}

/* Hide browser default eye icon in Edge/IE */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide native webkit password reveal icon if enabled */
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}
