/* Authentication Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    max-width: 450px;
    width: 100%;
}

.auth-card h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-sage);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.9rem;
    border: 2px solid var(--light-sage);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-sage);
    box-shadow: 0 0 0 3px rgba(139, 155, 135, 0.1);
}

.auth-btn {
    padding: 1rem;
    background: var(--primary-sage);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-btn:hover {
    background: var(--dark-sage);
    transform: translateY(-2px);
    box-shadow: var(--soft-shadow);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary-sage);
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--dark-sage);
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 45px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.toggle-password:hover {
    opacity: 0.7;
}

.eye-icon {
    font-size: 1.2rem;
    user-select: none;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
        margin: 1rem;
    }

    .auth-card h2 {
        font-size: 1.5rem;
    }
}
