/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Apply Outfit font globally */
body {
    font-family: var(--bs-font-family) !important;
}

/* Make sure the body takes full height */
body,
html {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#loginForm {
    display: none;
    animation: fadeIn 2s ease-in-out;
    z-index: 9999;
}

#loginForm.show {
    display: block;
    opacity: 1;
}

/* Fullscreen image container */
.login-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    /* Ensures full-screen effect */
}

.login-image {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    /* Ensures full-screen effect */
    cursor: pointer;
}

/* Login Form - Initially hidden */
.login-form-container {
    position: fixed;
    top: 0;
    right: -50%;
    /* Hidden off-screen */
    width: 40%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 2s ease-in-out;
    place-items: center;
    display: grid !important;
    font-family: var(--bs-font-family) !important;

}

/* Show the form when class "show" is added */
.login-form-container.show {
    right: 0;
}

#loginTrigger {
    pointer-events: auto;
    /* Ensure the element is clickable */
    z-index: 9999;
    /* Ensure the element is on top */
    position: relative;
    /* Ensure z-index works */
}

/* Styling for the form */
.login-form {
    width: 100%;
    padding: 70px;
    /* top: 20%; */
    position: absolute;
    font-family: var(--bs-font-family) !important;
    background: white;

}

/* Ensure labels are above inputs */
.form-label {
    display: block;
    margin-bottom: 5px;
    /* Add some spacing between label and input */
    color: #232323 !important;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


/* Colors */
.text-black {
    font-family: var(--bs-font-family) !important;
    /* color: var(--Text-color---main, #232323); */

}

.text-green {
    color: var(--Primary-Color--main, #0A6F5F);
    font-family: var(--bs-font-family) !important;
}

.text-green:hover {
    color: var(--Primary-Color--main, #0A6F5F);
}

/* Green Sign-In Button */
.btn-sign-in-green {
    background-color: var(--Primary-Color--main, #0A6F5F) !important;
    color: white !important;
    font-weight: bold !important;
    height: 44px;
}

.btn-sign-in-green:hover {
    background-color: var(--Primary-Color--main, #0A6F5F) !important;
    color: white !important;
    height: 44px;

}


/* Mobile-specific styles */
@media (max-width: 480px) {
    .login-bg {
        display: block !important;
        /* Ensure the image is visible on mobile */
        width: 100%;
        /* Image takes full width on mobile */

    }

    .login-form-container {
        width: 100% !important;
        /* Form takes full width on mobile */
        right: -100%;
        /* Fully hidden for mobile */
        background: radial-gradient(circle at top left, #e6f4e6 10%, transparent 50%), radial-gradient(circle at bottom right, #e6f4e6 10%, transparent 50%), #ffffff;
    }

    .login-form {
        width: 90%;
        /* Increase width to 90% of the screen */
        max-width: none;
        /* Remove max-width restriction */
        max-height: none;
        /* Remove max-height restriction */
        padding: 10px;
        /* Add padding for better spacing */
        margin: 0 auto;
        /* Center the form horizontally */
        background: white;

    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 1024px) {
    .login-form-container {
        width: 80%;
        height: 56%;
        border-radius: 24px !important;
        background: white !important;
        top: 22%;
        transition: all;
        left: 10%;
    }
}

/* Desktop */

.hero-image {
    background-image: url("../img/Login-image.svg");
    background-color: #0f0f0f;
    width: 100vw;
    /* Use viewport width */
    height: 100vh;
    /* Use viewport height */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    /* Ensure it covers the entire viewport */
    top: 0;
    left: 0;
    object-fit: cover;
    /* Ensures full-screen effect */
}

.superhero-image {
    background-image: url("../img/168c711fb2bf32a403cdec1f9ca23999c0b080bc.jpg");
    background-color: #0f0f0f;
    width: 100vw;
    /* Use viewport width */
    height: 100vh;
    /* Use viewport height */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    /* Ensure it covers the entire viewport */
    top: 0;
    left: 0;
    object-fit: cover;
    /* Ensures full-screen effect */
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 99;
}

label {
    font-size: 16px !important;
}

.modal {
    z-index: 9999 !important;
}

.modal-backdrop,
.modal-backdrop-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000054 !important;
    /* Adjust opacity for the dull effect */
    z-index: 999;
    /* Ensure it appears above the background but below the modal */
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show the backdrop when modal is active */
.modal-backdrop.active,
.modal-backdrop-container.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .login-form-container,
    #loginForm {
        animation: none;
    }

    .modal-backdrop-container.active {
        border-radius: 20px;
    }
}

.remember-check{
    margin-top: 12px;
}

.forgot-loginbutton{
    margin-top: 12px;
}

.loginform-section{
    margin-top: 25px;
}

.loginform-signin{
    margin-top: 12px;
}

.loginform-label{
    color: rgba(123, 123, 123, 1);
    font-weight: 500;
    font-size: 18px;
}

.loginform-content{
    max-width: 450px;
    height: 285px;
    border-radius: 12px !important;
}

.loginform-header{
    padding: unset !important;
    padding-top: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.loginforgot-label{
    color: rgba(35, 35, 35, 0.6) !important;
    font-style: 'outfit', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.login-signin{
    margin-top: unset !important;
}

.login-email-label{
    margin-top: 6px !important;
}

.loginpassword-section{
    margin-top: -9px;
}

