/* static/css/auth/login.css */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
    padding: 2rem 1rem; /* Add padding for smaller screens */
    background-color: var(--color-background-light);
}

.auth-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow for card */
    width: 100%;
    max-width: 400px; /* Max width for desktop */
    text-align: center;
}

.auth-title {
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Align labels/inputs left within the card */
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 208, 90, 0.2); /* Light primary shadow on focus */
}

.btn-block {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 0.75rem; /* More rounded button */
    margin-top: 1.5rem;
}

.auth-link-text {
    margin-top: 1.5rem;
    color: var(--color-text-dark);
}

.auth-link-text a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .auth-card {
        padding: 1.5rem;
        border-radius: 0.75rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    .auth-title {
        font-size: 1.75rem;
    }
    .auth-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .form-control {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
    }
    .btn-block {
        padding: 0.9rem;
        font-size: 1rem;
    }
}
