html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: #F8FAFB;
    color: #0F2A3D;
    font-family: Rubik, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.auth-header {
    width: 100%;
    background: #fff;
    padding: 20px 30px;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.auth-header__inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-header__logo img {
    height: 42px;
    width: auto;
}

.auth-header__lang select {
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    color: #0F2A3D;
    background: #fff;
    cursor: pointer;
}

.auth-header__lang select:focus {
    outline: none;
}

.stage {
    max-width: 1230px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 48px 16px 72px;
    min-height: calc(100vh - 39px);
}

.col-left {
    display: none;
}

@media (min-width:992px) {
    .col-left {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 40px;
    }
}

.logo {
    margin-right: 60px;
    width: 250px;
    height: 250px;
}

.vline {
    width: 1px;
    height: 60vh;
    background: #E6EBF1;
    opacity: .9;
}

.col-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.card-auth {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    padding: 24px;
    background: none;
    display: flex;
    flex-direction: column;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.card-auth.reset-card .card-head {
    display: flex;
    align-items: center;
}

.card-auth.reset-card .card-head .h-auth {
    margin: 0;
    line-height: 1.2;
}

.card-auth.reset-card .card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-auth.reset-card .card-head .back {
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-auth {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.form-scroll {
    flex: 1;
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-control {
    height: 44px;
    border-color: #EAEFF4;
    font-size: 14px;
    padding: 10px 12px 10px 16px;
}

.form-control::placeholder {
    color: #8AA3B9;
}

/* TOAST */
#toast-container {
    position: fixed;
    top: 100px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1201;
}

#toast-container img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.lock-alert {
    max-width: 420px;
    border: 1px solid #E5EAF0;
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(14, 43, 68, .15);
    background: #F1FFF5;
    transition: opacity .25s, transform .25s;
}

.toast-error {
    border-radius: 8px;
    border: 1px solid var(--Palette-Red-300_border, #F76F6F);
    background: var(--Palette-Red-50_bg, #FEECEC);
}

.toast-success {
    border-radius: 8px;
    border: 1px solid var(--Palette-Green-600, #30B52D);
    background: var(--Palette-Green-50_bg, #EFFBEF);
}

.lock-alert.hide {
    opacity: 0;
    transform: translateY(-4px);
}

@keyframes up-in {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes up-out {
    to {
        opacity: 0;
        transform: translateY(-6px)
    }
}

.input-affix {
    position: relative;
    height: 44px;
}

.input-affix>.form-control {
    height: 100%;
    padding-right: 44px;
}

.btn-primary-alt {
    height: 44px;
    border: 1px solid #E29500;
    background: #FFBB00;
    border-radius: 6px;
    color: #0F2A3D;
    font-weight: 500;
}

.btn-primary-alt:hover {
    border: 1px solid #E29500;
    background: #FFC933;
}

.btn-primary-alt:disabled {
    border: 1px solid #EAEFF4;
    background: #EAEFF4;
    color: #94A2AF;
    opacity: 1;
    pointer-events: none;
}

.desc {
    color: #6B7785;
    font-size: 14px;
    margin-bottom: 16px;
}

.hidden {
    display: none !important;
}

.back {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 39px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    background: #fff;
    color: #7B8794;
    font-size: 12px;
    z-index: 10;
}

.footer span:first-child {
    font-weight: 700;
}

.mobile-bar {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 28px 20px;
    background: #fff;
}

.mobile-bar img {
    width: 140px;
    height: 38px;
}

.mb-3 {
    margin-bottom: 2rem !important;
}

@media (min-width:992px) {
    .mobile-bar {
        display: none;
    }

    .stage {
        min-height: calc(100vh - 72px);
        align-items: center;
        padding: 48px 16px 24px;
        gap: 32px;
    }

    .col-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .card-auth {
        margin: 0;
        width: 100%;
        max-width: 520px;
    }
}

@media (max-width:991.98px) {
    .stage {
        padding: 16px 12px 72px;
        justify-content: center;
    }

    .card-auth {
        max-width: 100%;
        margin-top: 100px;
    }

    .footer {
        position: static;
    }
}
