:root {
    --tbr-bg-auth: #F8F7FC;
    --tbr-bg-auth-wave-01: url('../svg/illustrations/auth/wave_light_01.svg');
    --tbr-bg-auth-wave-02: url('../svg/illustrations/auth/wave_light_02.svg');
}

[data-bs-theme="dark"] {
    --tbr-bg-auth: #0D0E12;
    --tbr-bg-auth-wave-01: url('../svg/illustrations/auth/wave_dark_01.svg');
    --tbr-bg-auth-wave-02: url('../svg/illustrations/auth/wave_dark_02.svg');
}

[data-bs-theme="light"] {
    --tbr-bg-auth: #F8F7FC;
    --tbr-bg-auth-wave-01: url('../svg/illustrations/auth/wave_light_01.svg');
    --tbr-bg-auth-wave-02: url('../svg/illustrations/auth/wave_light_02.svg');
}

html,
body {
    background-color: var(--tbr-bg-auth);
}

.tbr_auth--bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.tbr_auth--bg::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: var(--tbr-bg-auth-wave-01);
    background-size: initial;
    background-repeat: no-repeat;
    background-position: left bottom;
    z-index: 1;
}

.tbr_auth--bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: var(--tbr-bg-auth-wave-02);
    background-size: initial;
    background-repeat: no-repeat;
    background-position: top right;
    z-index: 1;
}

.tbr_auth--wrap {
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    margin: auto;
    padding: 0;
    z-index: 2;
}

.tbr_auth--aside {
    width: calc(100% - 500px);
    min-width: calc(100% - 500px);
    max-width: calc(100% - 500px);
    padding: 20px;
    margin: auto;
}

.tbr_auth--form {
    width: 500px;
    min-width: 500px;
    max-width: 500px;
    padding: 20px;
    margin: auto;
}

.tbr_auth--card {
    padding: 60px 70px 70px 70px;
    border-radius: 10px;
    background-color: var(--tbr-bg-secondary);
    box-shadow: 0px 35px 50px 0px rgba(82, 63, 105, 0.05);
}

.tbr_auth--image {
    width: 100%;
    height: auto;
}

.tbr_auth--image.tbr_dark { display: none; }
[data-bs-theme="light"] .tbr_auth--image.tbr_dark { display: none; }
[data-bs-theme="dark"] .tbr_auth--image.tbr_light { display: none; }
[data-bs-theme="dark"] .tbr_auth--image.tbr_dark { display: initial; }

@media only screen and (max-width: 992px) {
    .tbr_auth--wrap {
        flex-direction: column;
    }

    .tbr_auth--aside {
        display: none;
    }

    .tbr_auth--form {
        width: 100%;
        min-width: initial;
        max-width: 500px;
    }
}

@media only screen and (max-width: 480px) {
    .tbr_auth--card {
        padding: 42px 30px 50px;
    }
}

/* ===================================
 * Password meter styles.
=================================== */
.tbr_show_password {
    position: absolute;
    top: 299px;
    right: 25px;
}

.tbr_show_password:hover {
    cursor: pointer;
}

.password-field {
    position: relative;
}

.show-password {
    position: absolute;
    top: calc(50% - 12px);
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}