/* Authentication Pages Styles */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(236, 72, 153, 0.05) 100%);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.auth-branding {
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: var(--spacing-xl);
}

.auth-brand .brand-icon {
    font-size: 2rem;
}

.auth-welcome {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-tagline {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    background: var(--color-surface);
}

.auth-card {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.auth-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.auth-header p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.auth-form {
    margin-bottom: var(--spacing-lg);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-border);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 var(--spacing-md);
    background: var(--color-surface);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.auth-footer a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--color-primary);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        background: var(--color-bg);
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: var(--spacing-lg);
    }

    .auth-card {
        max-width: 100%;
    }
}