/**
 * Authentication Pages
 * Clean, minimal design following AI UX Playground style
 */

/* ============================================
   Layout
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--color-white);
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.auth-sidebar {
    width: 480px;
    background: var(--color-gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(38, 166, 154, 0.15) 0%, transparent 50%);
}

.auth-sidebar-content {
    position: relative;
    color: var(--color-white);
    max-width: 360px;
}

.auth-sidebar-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

.auth-sidebar-text {
    font-size: var(--font-size-base);
    color: var(--color-gray-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.auth-sidebar-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--color-gray-300);
}

.auth-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

/* ============================================
   Form Container
   ============================================ */
.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-logo {
    font-size: var(--font-size-xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-8);
    display: block;
}

.auth-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
}

.auth-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-gray-500);
}

/* ============================================
   Form
   ============================================ */
.auth-form {
    margin-bottom: var(--space-6);
}

.auth-form .form-group {
    margin-bottom: var(--space-5);
}

.auth-form .form-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-medium);
    color: var(--color-gray-700);
    margin-bottom: var(--space-2);
}

.auth-form .form-control {
    height: 48px;
    font-size: var(--font-size-base);
}

.auth-form .btn {
    height: 48px;
    font-size: var(--font-size-base);
    font-weight: var(--font-semibold);
}

.auth-note {
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-align: center;
    line-height: var(--leading-relaxed);
}

/* ============================================
   Footer
   ============================================ */
.auth-footer {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-gray-100);
}

.auth-footer-text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
}

.auth-footer-link {
    color: var(--color-gray-900);
    font-weight: var(--font-medium);
}

.auth-footer-link:hover {
    color: var(--color-primary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
    .auth-sidebar {
        display: none;
    }
    
    .auth-main {
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .auth-container {
        max-width: 100%;
    }
    
    .auth-header {
        margin-bottom: var(--space-6);
    }
    
    .auth-title {
        font-size: var(--font-size-xl);
    }
}
