/* auth.css */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 1rem;
}

.auth-form {
    background-color: var(--card-bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color-primary);
    font-size: 1.75rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color-secondary);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't affect the width */
}

.auth-form .primary-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.auth-form .primary-btn:hover {
    background-color: var(--primary-color-dark);
}

.auth-form p.or-text {
    margin: 1.5rem 0;
    font-weight: 500;
    color: var(--text-color-secondary);
}

.auth-form .auth-link {
    display: block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-form .auth-link:hover {
    text-decoration: underline;
}

/* Optional: Add responsive adjustments */
@media (max-width: 480px) {
    .auth-form {
        padding: 1.5rem;
    }
}