.base,
.main-page {
    min-height: 100vh;
    width: 100%;
}

.base {
    min-width: 0;
}

.body-color {
    background: #f4f7fb;
}

.auth-shell {
    background: #fff;
    display: grid;
    grid-template-columns: minmax(340px, .92fr) minmax(460px, 1.08fr);
    margin: 0 auto;
    min-height: 100vh;
    max-width: 1600px;
}

.auth-brand-panel {
    background: linear-gradient(145deg, #102c52 0%, #174878 58%, #1f6592 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(2.25rem, 5vw, 5rem);
    position: relative;
}

.auth-brand-panel::before,
.auth-brand-panel::after {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
}

.auth-brand-panel::before {
    height: 460px;
    right: -210px;
    top: 16%;
    width: 460px;
}

.auth-brand-panel::after {
    height: 320px;
    right: -140px;
    top: 25%;
    width: 320px;
}

.auth-brand,
.auth-mobile-brand {
    align-items: center;
    display: inline-flex;
    gap: .8rem;
    position: relative;
    text-decoration: none;
    width: fit-content;
    z-index: 1;
}

.auth-brand img {
    height: auto;
    width: 156px;
}

.auth-brand > span,
.auth-mobile-brand > span {
    border-left: 1px solid currentColor;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1;
    opacity: .8;
    padding: .35rem 0 .35rem .75rem;
    text-transform: uppercase;
}

.auth-brand-copy {
    max-width: 470px;
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.auth-brand-kicker,
.auth-form-kicker {
    color: #ffb184;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.auth-brand-copy h1 {
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.08;
    margin: 1rem 0;
}

.auth-brand-copy p {
    color: rgba(255, 255, 255, .75);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
    max-width: 390px;
}

.auth-brand-footer {
    color: rgba(255, 255, 255, .55);
    font-size: .78rem;
    position: relative;
    z-index: 1;
}

.auth-form-panel {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
}

.auth-form-wrap {
    max-width: 430px;
    width: 100%;
}

.auth-mobile-brand {
    display: none;
}

.auth-form-heading {
    margin-bottom: 2rem;
}

.auth-form-kicker {
    color: #e45a21;
}

.auth-form-heading h2 {
    color: #182230;
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.04em;
    margin: .55rem 0 .5rem;
}

.auth-form-heading p {
    color: #667085;
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}

.auth-alert {
    align-items: center;
    background: #fff1f0;
    border: 1px solid #ffd9d5;
    border-radius: .75rem;
    color: #b42318;
    display: flex;
    font-size: .88rem;
    gap: .6rem;
    margin-bottom: 1.25rem;
    padding: .8rem .9rem;
}

.auth-alert svg {
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.auth-field label {
    color: #344054;
    font-size: .88rem;
    font-weight: 600;
}

.auth-label-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.auth-label-row a {
    color: #3b7ddd;
    font-size: .82rem;
    font-weight: 600;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .form-control {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: .7rem;
    box-shadow: none;
    color: #182230;
    height: 52px;
    padding: .75rem 3rem .75rem 2.85rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-input-wrap .form-control::placeholder {
    color: #98a2b3;
}

.auth-input-wrap .form-control:focus {
    border-color: #6aa0ec;
    box-shadow: 0 0 0 4px rgba(59, 125, 221, .12);
}

.auth-field-icon {
    color: #98a2b3;
    height: 18px;
    left: 1rem;
    pointer-events: none;
    position: absolute;
    top: 17px;
    width: 18px;
    z-index: 2;
}

.auth-password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: .4rem;
    color: #667085;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: .55rem;
    top: 8px;
    width: 36px;
}

.auth-password-toggle:hover {
    background: #f2f4f7;
    color: #344054;
}

.auth-password-toggle svg {
    height: 18px;
    width: 18px;
}

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

.auth-submit {
    align-items: center;
    background: #2f70cf;
    border: 0;
    border-radius: .7rem;
    box-shadow: 0 5px 12px rgba(47, 112, 207, .18);
    color: #fff;
    display: flex;
    font-size: .95rem;
    font-weight: 700;
    justify-content: center;
    margin-top: .25rem;
    min-height: 52px;
    position: relative;
    transition: background .15s ease, transform .15s ease;
    width: 100%;
}

.auth-submit:hover {
    background: #245fb5;
    color: #fff;
    transform: translateY(-1px);
}

.auth-submit svg {
    height: 18px;
    position: absolute;
    right: 1rem;
    width: 18px;
}

.auth-support-note {
    align-items: center;
    color: #8490a2;
    display: flex;
    font-size: .78rem;
    gap: .5rem;
    justify-content: center;
    margin-top: 2rem;
    text-align: center;
}

.auth-support-note svg {
    color: #6eaa80;
    flex: 0 0 16px;
    height: 16px;
    width: 16px;
}

/* Digunakan halaman lupa kata sandi. */
.auth.container {
    max-height: 100%;
    padding-top: 144px;
}

.auth-image-container {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
    max-height: 64px;
}

.auth-image-container img {
    height: 64px;
}

.input-flex {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.input-flex input {
    width: 100% !important;
}

@media (max-width: 899.98px) {
    .auth-shell {
        display: block;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 2rem 1.25rem;
    }

    .auth-mobile-brand {
        color: #344054;
        display: inline-flex;
        margin-bottom: 3rem;
    }

    .auth-mobile-brand img {
        height: auto;
        width: 138px;
    }
}

@media (max-width: 420px) {
    .auth-form-panel {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .auth-form-heading {
        margin-bottom: 1.5rem;
    }
}
