.auth-section {
    width: 100%;
    display: grid;
    grid-template: 100% / 55% 45%;
    height: 100vh;
    position: relative; 

}

.auth-section>div {
    width: 100%;
    height: 100%;
}

.auth-content {
    background-image: url('/assets/auth/auth-bg.png');
    background-size: 100% 100%;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    gap: 2em; 
    padding: 0 3em;

    p {
        color: white; 
        font-family: var(--primary-font);
        font-size: 2em;
    }

    .auth-title {
        color: var(--primary-color);
        font-weight: 500;
    }


    .auth-side-title, .auth-description {
        font-weight: 300;
    }

    .auth-description {
        font-size: 1.5em;
        text-align: center;
    }

   
}


.auth-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2em;
    justify-content: center;
    align-items: center;
    padding: 3em 0;
    height: auto;

}

.auth-wrapper h2 {
    text-align: center;
    color: var(--alt-black);
    font-family: var(--secondary-font);
}


.forgot-password {
    text-decoration: none;
}

.auth-wrapper form {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2em;


    .form-group {
        display: flex;
        flex-direction: column;
        gap: .5em;
        position: relative;
        label {
            color: var(--alt-black);
        }
        
        
        label,
        input {
            font-family: var(--secondary-font);
            font-weight: 400;

        }

        input {
            padding: .7em 2em;
            outline: none;
            border-radius: 8px;
            border: solid 1px gray;
            width: 300px;
            background: var(--background-color-5);
            color: var(--alt-black);

        }



        .eye-btn {
            color: dimgray;
            position: absolute;
            top: 37.5px;
            right: 20px;
        }

        .forgot-password {
            color: var(--primary-color);
            font-family: var(--secondary-font);
            font-size: .8em;
            position: absolute;
            right: 10px;

        }


    }

    .form-group:nth-child(2) {
        input {
            padding-right: 3em;
        }
    }

    button:not(.eye-btn) {
        padding: .7em 3em;
        background-color: var(--primary-color);
        font-family: var(--secondary-font);
        color: white;
    }

    .alternate-option {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;

        p {
            font-family: var(--secondary-font);
            padding: .6em 2em;
            background: var(--background-color-6);
            color: #999DA3;
        }
    }

    .alternate-option::before {
        width: 100%;
        content: '';
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 0;
        border: solid 0.003em #d1d1d1;
    }

    .error {
        color: var(--primary-color);
        font-size: 0.8rem;
        font-family: var(--secondary-font);
    }


    .continue-with-google {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1em;

        text-decoration: none;
        color: var(--alt-black);
        background: var(--background-color-6);
        padding: .6em;
        font-size: .9em;
        font-family: var(--secondary-font);

    }

    .keep-me-signed {
        flex-direction: row;
        gap: 1em;
        width: 100%;

        input {
            padding: 8px;

        }

        label {
            font-size: .9em;
            font-weight: 300;
        }

    }

}


input:focus {
    border: 1px solid var(--primary-color) !important;
}

.eye-btn:hover {
    color: var(--primary-color) !important; 
} 


/* Hide the default checkbox */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px !important;
    height: 16px;
    cursor: pointer;
    border-radius: 3px !important;
    position: relative;
}


/* Style the checkbox when checked */
input[type="checkbox"]:checked {
    border: 1px solid var(--primary-color) !important;

    background-color: var(--checkbox-color) !important;
    border-color: var(--primary-color);
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);

}


.darkmode-btn {
    border-color: white; 
    color: white; 
}


.main-redirect {
    color: var(--primary-color);
    font-weight: bold;
    font-family: var(--secondary-font);
    text-decoration: none;
    text-align: center;
}
/* Media Queries for the auth page */

@media screen and (max-width: 1368px) {
    
}

@media screen and (max-width: 992px) {
    .auth-content {
        font-size: .9em;
    }
}

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

    .auth-content {
       display: none; 
    }

    .auth-section {
        grid-template: 100% / 100%;
    }

    .back-btn {
        color: var(--alt-black) !important;
    }
    
.darkmode-btn {
    border-color: var(--alt-black); 
    color: var(--alt-black); 
}
}
@media screen and (max-width: 576px) {
}
@media screen and (max-width: 400px) {
} 



