/* CSS Variables are now inherited from main.css */

body::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/static/authentication/images/study_group.72c208c32fff.jpg") no-repeat center center;
    background-size: cover;
    z-index: -2;
}

body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #0a486ff7, #021521ae);
    z-index: -1;
}


/* Auth Form Styles */

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 90vw;
}

/* Auth Form Styles */
.auth-form {
    max-width: 450px;
    width: 100%;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 0 15px 0 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1.75rem;
}

.auth-form .form-control {
    border: 1.5px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 0 8px 0 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--light-grey);
}

.auth-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(44, 40, 167, 0.1);
    background-color: var(--white);
}

.auth-form .form-label {
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 0.75rem;
    margin-top: 1.25rem;
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 0 8px 0 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .btn-primary:hover {
    background-color: var(--hover-green);
    border-color: var(--hover-green);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.15);
}

.auth-form .form-check {
    margin: 0.75rem 0;
}

.auth-form .form-check-label {
    color: var(--dark-grey);
    font-weight: 400;
    font-size: 0.9rem;
}

.auth-form .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.auth-form a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.auth-form a:hover {
    color: var(--hover-green);
    text-decoration: underline;
}

.auth-form .invalid-feedback {
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.auth-form .alert {
    margin-bottom: 1.25rem;
    border-radius: 0 8px 0 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--primary-green);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}