:root {
    --navy-950: #061827;
    --navy-900: #082033;
    --navy-800: #0b2a3d;
    --green-600: #13984c;
    --green-500: #20b95e;
    --green-100: #d9f8e5;
    --ink-900: #07182d;
    --ink-700: #35455e;
    --ink-500: #78859a;
    --line: #ccd5e1;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink-900);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #f8fafb;
}

button,
input {
    font: inherit;
}

.login-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(202, 210, 218, .35), transparent 31rem),
        #fbfcfd;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    width: min(100%, 72rem);
    min-height: min(44rem, calc(100vh - 4rem));
    display: grid;
    grid-template-columns: 37.2% 62.8%;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1rem 2.5rem rgba(11, 31, 48, .18);
}

.login-brand-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 4rem 4.1rem 2.25rem;
    color: #fff;
    background:
        radial-gradient(circle at 81% 71%, rgba(20, 134, 103, .22), transparent 29%),
        linear-gradient(145deg, #061827 0%, #082237 55%, #07343a 100%);
}

.login-brand-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -5rem;
    bottom: 4.5rem;
    width: 24rem;
    height: 24rem;
    opacity: .045;
    border: 3rem solid #1cc064;
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(-20deg);
}

.one-brand-logo {
    display: block;
    width: min(100%, 14.5rem);
    height: auto;
}

.brand-content h1 {
    margin: 2.7rem 0 2.35rem;
    font-size: 1.42rem;
    font-weight: 720;
    line-height: 1.34;
    letter-spacing: -.025em;
}

.feature-list {
    display: grid;
    gap: 1.35rem;
}

.feature-item,
.security-note {
    display: flex;
    align-items: flex-start;
    gap: .95rem;
}

.feature-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .72rem;
    color: #21cb67;
    background: rgba(10, 170, 91, .15);
}

.feature-icon svg,
.feature-icon i,
.security-icon svg,
.security-icon i {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    font-size: 1.25rem;
    line-height: 1;
}

.feature-item > span:last-child,
.security-note > span:last-child,
.remember-note > span:last-child {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.25;
}

.feature-item small {
    margin-top: .28rem;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    line-height: 1.5;
}

.security-note {
    margin-left: -2.25rem;
    margin-right: -4.1rem;
    margin-bottom: -2.25rem;
    padding: 1.45rem 2.25rem 2.25rem;
    background: rgba(3, 20, 34, .26);
}

.security-icon {
    display: grid;
    color: #1fc566;
    place-items: center;
}

.security-note strong {
    font-size: .78rem;
    line-height: 1.35;
}

.security-note small {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    line-height: 1.55;
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 3.4rem 4rem 1.9rem;
    background:
        radial-gradient(circle at 95% 8%, rgba(233, 236, 239, .5), transparent 20rem),
        #fff;
}

.login-form-wrap {
    width: min(100%, 28.5rem);
    margin: auto;
}

.login-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.login-heading h2 {
    margin: 0;
    color: var(--ink-900);
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -.035em;
}

.login-heading p {
    margin: .45rem 0 0;
    color: var(--ink-700);
    font-size: .88rem;
}

.login-form {
    display: grid;
    gap: 1.25rem;
}

.form-field {
    display: grid;
    gap: .45rem;
}

.form-field label {
    color: #101b2c;
    font-size: .82rem;
    font-weight: 650;
}

.input-shell {
    height: 3.15rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 0 .95rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    background: rgba(255, 255, 255, .72);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.input-shell:focus-within {
    border-color: var(--green-500);
    box-shadow: 0 0 0 .2rem rgba(32, 185, 94, .12);
}

.input-shell > svg,
.input-shell > i {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
    fill: var(--ink-500);
    color: var(--ink-500);
    font-size: 1.2rem;
    line-height: 1;
}

.input-shell input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--ink-900);
    background: transparent;
    font-size: .86rem;
}

.input-shell input::placeholder {
    color: #8490a4;
    opacity: 1;
}

.password-toggle {
    display: grid;
    flex: 0 0 auto;
    padding: .3rem;
    border: 0;
    color: var(--ink-500);
    background: transparent;
    place-items: center;
    cursor: pointer;
}

.password-toggle svg,
.password-toggle i {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    font-size: 1.25rem;
    line-height: 1;
}

.forgot-password {
    justify-self: end;
    color: #087b39;
    font-size: .76rem;
    font-weight: 650;
    text-decoration: none;
}

.forgot-password:hover {
    color: #05632d;
}

.btn-login {
    height: 3.05rem;
    margin-top: -.2rem;
    border: 0;
    border-radius: .62rem;
    color: #fff;
    background: linear-gradient(180deg, #20ad58, #087d3d);
    box-shadow: 0 .38rem .85rem rgba(12, 133, 64, .17);
    font-size: .98rem;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 .55rem 1rem rgba(12, 133, 64, .22);
}

.remember-note {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--ink-700);
}

.remember-checkbox {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    margin-top: .08rem;
    accent-color: var(--green-600);
    cursor: pointer;
}

.remember-note strong {
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.2;
}

.remember-note small {
    margin-top: .25rem;
    color: #66748a;
    font-size: .7rem;
}

.field-validation-error {
    color: #b42318;
    font-size: .78rem;
}

.login-footer {
    margin-top: 2.15rem;
    color: #65738a;
    font-size: .68rem;
    text-align: center;
}

.internal-page {
    min-height: 100vh;
    display: grid;
    padding: 2rem;
    background: linear-gradient(145deg, var(--navy-950), #0a3b3d);
    place-items: center;
}

.internal-card {
    width: min(100%, 36rem);
    padding: 3rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .25);
    text-align: center;
}

.internal-card h1 {
    margin: 0 0 1rem;
    color: var(--ink-900);
}

.internal-card p {
    color: var(--ink-700);
}

.internal-card a {
    display: inline-block;
    margin-top: 1rem;
    padding: .75rem 1.4rem;
    border-radius: .55rem;
    color: #fff;
    background: var(--green-600);
    text-decoration: none;
}

.internal-logout {
    margin-top: 1rem;
    padding: .75rem 1.4rem;
    border: 0;
    border-radius: .55rem;
    color: #fff;
    background: var(--green-600);
}

.password-page-logo {
    width: min(100%, 19rem);
    margin: 0 auto 2rem;
    padding: 1.25rem;
    border-radius: .75rem;
    background: var(--navy-900);
}

@media (max-width: 1100px) {
    .login-shell {
        padding: 1.5rem;
    }

    .login-card {
        min-height: calc(100vh - 3rem);
        grid-template-columns: 41% 59%;
    }

    .login-brand-panel {
        padding-right: 3.2rem;
        padding-left: 3.2rem;
    }

    .security-note {
        margin-right: -3.2rem;
    }

}

@media (max-width: 820px) {
    .login-shell {
        padding: 0;
    }

    .login-card {
        min-height: 100vh;
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .login-brand-panel {
        padding: 2.25rem;
    }

    .brand-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .brand-content h1 {
        margin: 2.25rem 0 0;
        font-size: 1.45rem;
        text-align: center;
    }

    .one-brand-logo {
        width: 16rem;
    }

    .feature-list,
    .security-note {
        display: none;
    }

    .login-form-panel {
        padding: 3.5rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .login-brand-panel {
        padding: 1.7rem 1rem;
    }

    .brand-content h1 {
        margin-top: 1.6rem;
        font-size: 1.2rem;
    }

    .one-brand-logo {
        width: 13.5rem;
    }

    .login-form-panel {
        justify-content: flex-start;
        padding-top: 2.75rem;
    }

    .login-heading h2 {
        font-size: 1.65rem;
    }

    .login-heading p {
        font-size: .9rem;
    }

    .login-form {
        gap: 1.45rem;
    }

    .input-shell {
        height: 3.5rem;
    }

    .login-footer {
        margin-top: 2.5rem;
    }
}
