/* ============================================================================
  Mobile responsive key breakpoints.
   ============================================================================ */

   /* Tablet */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        padding: 12px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none; /* Or make it a dropdown */
    }
}
/**
 * Authentication Pages Styles
 * Sign In / Sign Up pages matching UpThread design system
 */

/* ═══════════════════════════════════════════════════════════════════════════
   VARIABLES (Matching dashboard)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --linkedin-blue: #0A66C2;
    --linkedin-blue-dark: #004182;
    --linkedin-blue-light: #378FE9;
    --linkedin-white: #FFFFFF;
    --linkedin-gray-100: #F3F2EF;
    --linkedin-gray-200: #E9E5DF;
    --linkedin-gray-300: #00000099;
    --linkedin-gray-400: #00000066;
    --text-primary: #000000E6;
    --text-secondary: #00000099;
    --border-color: #00000014;
    --success: #057642;
    --danger: #CC1016;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--linkedin-gray-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEFT SIDE - BRANDING
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-left {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.auth-brand {
    margin-bottom: 60px;
}

.auth-logo {
    height: 48px;
    width: auto;
    margin-bottom: 32px;
}

.auth-logo-white {
    height: 40px;
    width: auto;
    margin-bottom: 32px;
    display: block;
}

.auth-left h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.auth-left p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Features List */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.feature-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RIGHT SIDE - FORM
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-right {
    background: var(--linkedin-white);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.auth-form-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.auth-subtitle a {
    color: var(--linkedin-blue);
    text-decoration: none;
    font-weight: 600;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   FORM STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-group input:hover {
    border-color: var(--linkedin-blue);
}

.form-group input:focus {
    outline: none;
    border-color: var(--linkedin-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.form-group input::placeholder {
    color: var(--linkedin-gray-300);
}

/* Form Row (Remember me + Forgot password) */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--linkedin-blue);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    font-size: 14px;
    color: var(--linkedin-blue);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Primary Button */
.btn-primary {
    background: var(--linkedin-blue);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 8px;
}

.btn-primary:hover {
    background: var(--linkedin-blue-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    background: var(--linkedin-gray-200);
    color: var(--linkedin-gray-300);
    cursor: not-allowed;
    box-shadow: none;
}

/* Error Message */
.error-message {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: var(--danger);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 8px;
}

/* Success Message */
.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: var(--success);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL AUTH
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-divider {
    display: flex;
    align-items: center;
    margin: 32px 0 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 16px;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-social:hover:not(:disabled) {
    background: var(--linkedin-gray-100);
    box-shadow: var(--shadow-sm);
}

.btn-social:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 24px;
    }
}

@media (max-width: 640px) {
    .auth-right {
        padding: 24px 20px;
    }

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

    .auth-form-container h2 {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}