/* Auth Page Specific Styles */
.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: var(--secondary-dark);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

.auth-subtitle {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
}

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

.auth-card .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.auth-card .form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--tertiary-dark);
    color: var(--text-white);
    transition: border-color 0.3s ease;
}

.auth-card .form-group input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    color: var(--accent-orange);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    position: relative;
    background: var(--secondary-dark);
    padding: 0 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.btn-google {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-google:hover {
    background: var(--tertiary-dark);
    color: var(--text-white);
    border-color: var(--accent-cyan);
}

.btn-google i {
    font-size: 1.2rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-gray);
}

.auth-switch a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    color: var(--accent-orange);
}

/* Error/Success Messages */
.auth-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: none;
}

.auth-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: block;
}

.auth-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    display: block;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
