//
// _authentication.scss
//

// Authentication
.auth-box {
    @extend .position-relative;
    padding: 50px;
    min-height: 100vh;

    .card-body {
        padding: 40px;
    }
}

// Auth Brand Logo (Light & Dark Mode)
.auth-brand {
    margin-bottom: 2rem;

    .logo-dark {
        display: block;
    }

    .logo-light {
        display: none;
    }
}

// Auth Page Side Image
.card-side-img {
    //background-image: url("./assets/images/auth.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.auth-overlay {
    background: linear-gradient(to top, #313a46, rgba(49,58,70, 0.8), rgba(49,58,70, 0.5));
}

// Dark mode
html[data-bs-theme="dark"] {
    .auth-brand {
        .logo-light {
            display: block;
        }

        .logo-dark {
            display: none;
        }
    }
}

// Responsive
@include media-breakpoint-up(md) {
    .auth-box-form {
        max-width: 405px;
    }
    .auth-sub-text {
        max-width: 300px;
    }
}
