/* Auth Container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 3rem 0;
    background: var(--background);
}

.auth-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 4rem 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

/* Auth Form */
.auth-form .form-group {
    margin-bottom: 2rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.auth-form input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.auth-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-links {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-links p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Validation */
.auth-form input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--error-color);
}

.auth-form input:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--success-color);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
}

.password-strength.weak .password-strength-fill {
    background: var(--error-color);
    width: 33%;
}

.password-strength.medium .password-strength-fill {
    background: var(--warning-color);
    width: 66%;
}

.password-strength.strong .password-strength-fill {
    background: var(--success-color);
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    max-width: 20px;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #007bff;
    text-decoration: underline;
}