/* ===========================================================
   LOGIN PAGE
=========================================================== */

.login-page {
    background: #12100e;
}


/* ===========================================================
   LOGIN INTRO
=========================================================== */

.login-intro {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px;
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #1d1916bf 0%,
            #1d1916 100%
        ),
        url('../img/background/sheet-bg.webp');

    background-size: cover;
    background-position: center;
}

.login-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 480px;
}

.login-content h1 {
    margin-bottom: 30px;

    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    line-height: 1.2;

    color: #ffd98a;
}

.login-content p {
    margin-bottom: 0;

    color: #eee;
    font-size: 18px;
    line-height: 1.8;
}


/* ===========================================================
   LOGIN FORM WRAPPER
=========================================================== */

.login-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 60px 60px;

    background:
        linear-gradient(
            -135deg,
            #1d1916 0%,
            #12100e 100%
        );
}


/* ===========================================================
   LOGIN CARD
=========================================================== */

.login-card {
    width: 100%;
    max-width: 480px;

    padding: 32px;

    border: 1px solid rgba(255, 217, 138, .2);
    border-radius: 25px;

    background:
        linear-gradient(
            -135deg,
            #1d1916 0%,
            #12100e 100%
        );
}

.login-card h2 {
    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    text-align: center;

    color: var(--white);
}

.login-card > p {
    color: #bbb;
}

.login-card label {
    padding-bottom: 5px;

    color: #bbb;
    font-weight: 500;
}


/* ===========================================================
   LOGIN INPUT
=========================================================== */

.login-card .form-control {
    padding: 12px;

    border: 1px solid #514333;
    border-radius: 12px;

    background: #180f09;
    color: #fff;
}

.login-card .form-control:focus {
    border-color: #d4a64a;

    background: #180f09;
    color: #fff;

    box-shadow: 0 0 0 .2rem rgba(212, 166, 74, .2);
}

.login-card .form-control::placeholder {
    color: #777;
}


/* ===========================================================
   PASSWORD
=========================================================== */

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

.password-wrapper button {
    position: absolute;
    top: 50%;
    right: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    padding: 0;

    transform: translateY(-50%);

    background: transparent;
    color: #bbb;

    transition: .3s;
}

.password-wrapper button:hover {
    color: #ffd98a;
}


/* ===========================================================
   REMEMBER CHECKBOX
=========================================================== */

.login-card .form-check-label {
    color: #bbb;
}

.login-card .form-check-input {
    border: 1px solid #514333;

    background: #180f09;
}

.login-card .form-check-input:checked {
    border-color: #d4a64a;

    background-color: #d4a64a;
}


/* ===========================================================
   LOGIN LINKS
=========================================================== */

.login-card a {
    color: #d4a64a;
    text-decoration: none;

    transition: .3s;
}

.login-card a:hover {
    color: #ffd98a;
}


/* ===========================================================
   LOGIN BUTTON
=========================================================== */

.btn-login-beda {
    width: 100%;

    border: none;
    padding: 14px;

    border-radius: 50px;

    background: #d4a64a;
    color: #12100e;

    font-weight: 600;

    transition: .3s;
}

.btn-login-beda:hover {
    background: #ffd98a;
    transform: translateY(-3px);
}


/* ===========================================================
   DIVIDER
=========================================================== */

.divider {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 20px 0 14px;

    color: var(--text);
}

.divider::before,
.divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: var(--border);
    opacity: .7;
}

.divider span {
    color: var(--text);

    font-size: .9rem;
    letter-spacing: .5px;

    white-space: nowrap;

    opacity: .7;
}


/* ===========================================================
   AUTH HELPER
=========================================================== */

.auth-helper {
    margin-bottom: 12px;

    color: #9f9f9f;

    font-size: .92rem;
    line-height: 1.6;
    text-align: center;
}

.auth-helper:last-child {
    margin-bottom: 0;
}

.auth-helper a {
    color: #d4a64a;
    font-weight: 600;
    text-decoration: none;

    transition: .3s;
}

.auth-helper a:hover {
    color: #ffd98a;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ===========================================================
   USER BUTTON & DROPDOWN
=========================================================== */

.btn-user {
    padding: 10px 18px;

    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;

    background: rgba(255, 255, 255, .08);
    color: #fff;

    transition: .3s;
}

.btn-user:hover,
.btn-user:focus {
    background: rgba(255, 255, 255, .15);
    color: #ffd98a;
}

.dropdown-menu {
    padding: 10px 0;

    border: none;
    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.dropdown-item {
    padding: 10px 18px;

    transition: .2s;
}

.dropdown-item:hover {
    background: #f8f3ea;
    color: #d4a64a;
}


/* ===========================================================
   LOGIN RESPONSIVE
=========================================================== */


/* ===========================================================
   TABLET
=========================================================== */

@media (max-width: 991.98px) {

    .login-page {
        min-height: 100vh;
    }

    .login-page .row {
        min-height: auto !important;
    }


    /* =========================
       INTRO
    ========================= */

    .login-intro {
        min-height: 380px;

        padding: 70px 45px;

        justify-content: center;
    }

    .login-content {
        max-width: 650px;

        text-align: center;
    }

    .login-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .login-content p {
        max-width: 560px;

        margin: 18px auto 0;

        font-size: .85rem;
        line-height: 1.7;
    }


    /* =========================
       INTRO INFO
    ========================= */

    .intro-info {
        margin-top: 22px;
    }

    .intro-info div {
        justify-content: center;

        font-size: .75rem;
    }


    /* =========================
       FORM WRAPPER
    ========================= */

    .login-form-wrapper {
        min-height: auto;

        padding: 50px 40px 70px;
    }


    /* =========================
       LOGIN CARD
    ========================= */

    .login-card {
        width: 350px;
        max-width: 350px;

        margin: 0 auto;

        padding: 32px 24px;
    }

    .login-card h2 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .login-card > p {
        font-size: .72rem;
        line-height: 1.5;
    }


    /* =========================
       LABEL & INPUT
    ========================= */

    .login-card label {
        display: block;

        margin-bottom: 6px;

        font-size: .68rem;
    }

    .login-card .form-control {
        min-height: 42px;

        padding: 9px 12px;

        border-radius: 9px;

        font-size: .7rem;
    }


    /* =========================
       PASSWORD
    ========================= */

    .password-wrapper .form-control {
        padding-right: 42px;
    }

    #togglePassword {
        top: 3px;
        right: 3px;

        width: 36px;
        height: 36px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: .8rem;
    }


    /* =========================
       REMEMBER
    ========================= */

    .login-card > form > .d-flex {
        gap: 10px;

        margin-bottom: 18px !important;
    }

    .login-card .form-check-label {
        font-size: .62rem;
    }

    .login-card > form > .d-flex > a {
        font-size: .62rem;

        white-space: nowrap;
    }


    /* =========================
       BUTTON
    ========================= */

    .btn-login-beda {
        min-height: 42px;

        border-radius: 9px;

        font-size: .72rem;
    }


    /* =========================
       DIVIDER
    ========================= */

    .login-card .divider {
        margin-top: 20px !important;
        margin-bottom: 16px !important;
    }

    .login-card .divider span {
        font-size: .6rem;
    }


    /* =========================
       AUTH HELPER
    ========================= */

    .auth-helper {
        margin-bottom: 8px;

        font-size: .62rem;
        line-height: 1.5;
    }
}


/* ===========================================================
   MOBILE
=========================================================== */

@media (max-width: 767.98px) {

    .login-page {
        min-height: auto;
    }

    .login-page .container-fluid {
        padding: 0;
    }

    .login-page .row {
        margin: 0;

        min-height: auto !important;
    }


    /* =========================
       INTRO
    ========================= */

    .login-intro {
        min-height: 310px;

        padding: 65px 20px 45px;

        justify-content: center;
    }

    .login-content {
        max-width: 400px;

        text-align: center;
    }

    .login-content h1 {
        margin-bottom: 14px;

        font-size: 2rem;
        line-height: 1.2;
    }

    .login-content p {
        max-width: 330px;

        margin: 0 auto;

        font-size: .72rem;
        line-height: 1.65;
    }


    /* =========================
       INTRO INFO
    ========================= */

    .intro-info {
        margin-top: 18px;
    }

    .intro-info div {
        justify-content: center;

        font-size: .62rem;
        line-height: 1.5;

        text-align: center;
    }

    .intro-info i {
        font-size: .8rem;
    }


    /* =========================
       FORM WRAPPER
    ========================= */

    .login-form-wrapper {
        min-height: auto;

        padding: 35px 16px 50px;
    }


    /* =========================
       LOGIN CARD
    ========================= */

    .login-card {
        width: 100%;
        max-width: 350px;

        padding: 28px 20px;

        border-radius: 18px;
    }

    .login-card h2 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .login-card > p {
        font-size: .7rem;
        line-height: 1.5;
    }


    /* =========================
       LABEL & INPUT
    ========================= */

    .login-card label {
        display: block;

        margin-bottom: 6px;

        font-size: .68rem;
    }

    .login-card .form-control {
        min-height: 42px;

        padding: 9px 12px;

        border-radius: 9px;

        font-size: .7rem;
    }


    /* =========================
       PASSWORD
    ========================= */

    .password-wrapper .form-control {
        padding-right: 42px;
    }

    #togglePassword {
        top: 15px;
        right: 3px;

        width: 36px;
        height: 36px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: .8rem;
    }


    /* =========================
       REMEMBER
    ========================= */

    .login-card > form > .d-flex {
        gap: 10px;

        margin-bottom: 18px !important;
    }

    .login-card .form-check-label {
        font-size: .62rem;
    }

    .login-card > form > .d-flex > a {
        font-size: .62rem;

        white-space: nowrap;
    }


    /* =========================
       BUTTON
    ========================= */

    .btn-login-beda {
        min-height: 42px;

        border-radius: 9px;

        font-size: .72rem;
    }


    /* =========================
       DIVIDER
    ========================= */

    .login-card .divider {
        margin-top: 20px !important;
        margin-bottom: 16px !important;
    }

    .login-card .divider span {
        font-size: .6rem;
    }


    /* =========================
       AUTH HELPER
    ========================= */

    .auth-helper {
        margin-bottom: 8px;

        font-size: .62rem;
        line-height: 1.5;
    }
}


/* ===========================================================
   SMALL MOBILE
=========================================================== */

@media (max-width: 575.98px) {

    /* =========================
       INTRO
    ========================= */

    .login-intro {
        min-height: 275px;

        padding: 55px 16px 40px;
    }

    .login-content h1 {
        font-size: 1.7rem;
    }

    .login-content p {
        max-width: 290px;

        font-size: .66rem;
    }

    .intro-info div {
        font-size: .56rem;
    }


    /* =========================
       FORM WRAPPER
    ========================= */

    .login-form-wrapper {
        padding: 28px 12px 40px;
    }


    /* =========================
       LOGIN CARD
    ========================= */

    .login-card {
        width: 100%;
        max-width: 350px;

        padding: 24px 16px;

        border-radius: 16px;
    }

    .login-card h2 {
        font-size: 1.5rem;
    }


    /* =========================
       LABEL & INPUT
    ========================= */

    .login-card label {
        font-size: .6rem;
    }

    .login-card .form-control {
        min-height: 40px;

        padding: 8px 10px;

        font-size: .64rem;
    }


    /* =========================
       BUTTON
    ========================= */

    .btn-login-beda {
        min-height: 40px;

        font-size: .66rem;
    }


    /* =========================
       DIVIDER
    ========================= */

    .login-card .divider span {
        font-size: .57rem;
    }


    /* =========================
       AUTH HELPER
    ========================= */

    .auth-helper {
        font-size: .58rem;
        line-height: 1.5;
    }
}