/* ============================================================================
  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 */
    }
}
/**
 * UpThread Dashboard Styles
 * Matches the LinkedIn-inspired homepage design
 */

/* ═══════════════════════════════════════════════════════════════════════════
   VARIABLES (Same as homepage)
   ═══════════════════════════════════════════════════════════════════════════ */

: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;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
    background: var(--linkedin-white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 36px;
    width: auto;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--linkedin-blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--linkedin-gray-100);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--linkedin-gray-100);
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--linkedin-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sidebar-link {
    display: block;
    padding: 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: var(--linkedin-gray-100);
    color: var(--text-primary);
}

.sidebar-link.primary {
    background: var(--linkedin-blue);
    color: white;
}

.sidebar-link.primary:hover {
    background: var(--linkedin-blue-dark);
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-icon {
    font-size: 20px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.activity-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.tip-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.btn-secondary-small {
    display: inline-block;
    padding: 8px 16px;
    background: var(--linkedin-gray-100);
    color: var(--linkedin-blue);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-secondary-small:hover {
    background: var(--linkedin-gray-200);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════════════════ */

.content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.welcome-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.welcome-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--linkedin-blue);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

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

.btn-connect-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0077b5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-connect-linkedin:hover {
    background: #006399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stat-icon {
    font-size: 20px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-change {
    font-size: 12px;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.neutral {
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--linkedin-blue);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--linkedin-gray-100);
}

/* ═══════════════════════════════════════════════════════════════════════════
   POSTS GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
}

.post-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--linkedin-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
}

.post-company {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.post-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.post-menu {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.post-menu:hover {
    background: var(--linkedin-gray-100);
}

.post-preview {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tag {
    background: var(--linkedin-gray-100);
    color: var(--linkedin-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.post-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.btn-action {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover {
    background: var(--linkedin-gray-100);
    border-color: var(--text-secondary);
}

.btn-action.primary {
    background: var(--linkedin-blue);
    color: white;
    border-color: var(--linkedin-blue);
}

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

.btn-action.danger {
    color: var(--danger);
    border-color: var(--danger);
}

.btn-action.danger:hover {
    background: #FFF5F5;
}

.post-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* ═══════════════════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════════════════ */

.empty-state {
    background: white;
    border-radius: 12px;
    padding: 80px 40px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-primary-large {
    background: var(--linkedin-blue);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 24px;
    transition: all 0.2s;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

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

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

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-right {
        gap: 12px;
    }

    .nav-link {
        display: none;
    }

    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}
/* 
 * Additional Dashboard Styles
 * Add this to your dashboard.css file
 * 
 * WHY THESE STYLES:
 * - Makes post cards look professional
 * - Adds hover effects for better UX
 * - Ensures responsive layout
 */

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Individual Post Card */
.post-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Post Header */
.post-header {
    margin-bottom: 12px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.post-destination {
    font-weight: 600;
    color: #0077b5;
}

.post-time {
    color: #999;
}

/* Post Content */
.post-content {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    margin: 12px 0;
    white-space: pre-wrap;
}

/* Post Stats */
.post-stats {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 12px 0;
    font-size: 13px;
    color: #666;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Post Actions */
.post-actions {
    margin-top: 12px;
}

.btn-secondary-small {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-secondary-small:hover {
    background: #e0e0e0;
}

/* Activity Items */
.activity-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.2s;
}

.activity-item:hover {
    background: #e9ecef;
}

.activity-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.activity-time {
    font-size: 12px;
    color: #999;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 8px;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
}

.btn-primary-large {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-primary-large:hover {
    background: #5568d3;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
}

.btn-secondary {
    padding: 8px 16px;
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
/* ============================================================================
   DASHBOARD IMPROVEMENTS - ADD THESE STYLES TO dashboard.css
   ============================================================================ */

/* LinkedIn Updates Notice (Sidebar) */
.linkedin-updates-notice {
    background: #f0f7ff;
    border-left: 4px solid #0077b5;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.linkedin-updates-notice .notice-icon {
    font-size: 18px;
    margin-bottom: 4px;
}

.linkedin-updates-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #333;
    font-size: 14px;
}

.linkedin-updates-notice p {
    margin: 0 0 6px 0;
    color: #666;
    line-height: 1.4;
}

.linkedin-updates-notice .sync-time {
    font-style: italic;
    color: #888;
    font-size: 12px;
}

/* ============================================================================
   PREMIUM LOCKED CARDS STYLES
   ============================================================================ */

/* Base premium locked card */
.stat-card.premium-locked {
    position: relative;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.stat-card.premium-locked:hover {
    border-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.15);
    transform: translateY(-2px);
}

/* Grey out content */
.stat-card.premium-locked .stat-icon {
    opacity: 0.3;
}

.stat-card.premium-locked .stat-label {
    opacity: 0.5;
}

.stat-card.premium-locked .stat-value {
    opacity: 0.3;
    color: #999;
}

.stat-card.premium-locked .stat-change {
    opacity: 0.5;
}

/* Premium Lock Badge */
.premium-lock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Tooltip */
.premium-tooltip {
    position: fixed;
    background: #333;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10000;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    transition: opacity 0.2s;
}

.premium-tooltip::before {
    content: '🔒 ';
}

.premium-tooltip.visible {
    display: block;
}

/* Loading shimmer (keep existing) */
.loading-shimmer {
    width: 80px;
    height: 36px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Destination Selector (keep existing) */
.destination-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.destination-select:hover {
    border-color: #0077b5;
}

.destination-select:focus {
    outline: none;
    border-color: #0077b5;
    box-shadow: 0 0 0 3px rgba(0, 119, 181, 0.1);
}

.destination-select option {
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .premium-tooltip {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .premium-lock-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .linkedin-updates-notice {
        font-size: 12px;
    }
}

/* ============================================================================
   DASHBOARD CENTERING FIX
   Add this to your dashboard.css (or replace existing .dashboard-container)
   ============================================================================ */

.dashboard-container {
    max-width: 1400px;  /* Maximum width constraint */
    margin: 0 auto;     /* Center the container */
    padding: 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.content {
    max-width: 100%;    /* Don't exceed grid column */
    width: 100%;
}

/* Welcome Section - ensure it doesn't stretch too wide */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    max-width: 100%;
}

/* Posts Grid - ensure proper sizing */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .dashboard-container {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 968px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .sidebar {
        display: none; /* Hide sidebar on mobile */
    }
}
/* ============================================================================
   USER MENU / DROPDOWN FIX - ADD THIS TO END OF dashboard.css
   ============================================================================ */

/* Top Bar */
.topbar {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 36px;
    width: auto;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-link {
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover {
    background: #f3f2ef;
    color: #0a66c2;
}

.nav-link.active {
    background: #e7f3ff;
    color: #0a66c2;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu-btn:hover {
    background: #f3f2ef;
    border-color: #0a66c2;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0a66c2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* User Dropdown - CRITICAL: Hidden by default */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0a66c2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.dropdown-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.user-name-large {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.dropdown-email {
    font-size: 13px;
    color: #666;
}

.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 12px 0;
}

.user-dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 12px 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-link {
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f3f2ef;
}

.dropdown-link:hover {
    background: #f3f2ef;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .topbar-container {
        padding: 12px 16px;
    }
    
    .user-name {
        display: none;
    }
}