/* Modern auth styles for login/register forms */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    background: var(--color-bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-form-group {
    margin-bottom: 1.25rem;
}

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

.auth-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
    background: var(--color-bg-primary);
}

.auth-button {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-button--primary {
    background: var(--color-primary);
    color: white;
}

.auth-button--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

.auth-button--google {
    background: #4285F4;
    color: white;
    margin-bottom: 1rem;
    text-decoration: none;
}

.auth-button--reddit {
    background: #FF4500;
    color: white;
    text-decoration: none;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--color-text-secondary);
    font-weight: 500;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--color-border);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-error {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    color: #c33;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #c33;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-error svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

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

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}