/* styles/dashboard-modern.css - Mobile First Complete */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --transition: all 0.2s ease;
}

/* ===== BASE RESET & LAYOUT ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.5;
    font-size: 14px;
}

/* ===== HEADER STYLES ===== */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.25rem;
}

.brand-logo {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #374151;
}

.nav-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.nav-button-outline {
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-button-outline:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.user-menu, .auth-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== MAIN CONTENT AREA ===== */
.main-content {
    min-height: calc(100vh - 64px);
}

.content-wrapper {
    flex: 1;
}

/* ===== AUTH PAGES ===== */
.auth-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ===== DASHBOARD SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #475569;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    min-height: 44px;
    min-width: 44px;
}

/* User Profile */
.user-profile {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #475569;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #3b82f6;
    background: #475569;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.user-role {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.menu-item {
    margin: 0;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    min-height: 44px;
}

.menu-item.active a {
    background: #3b82f6;
    color: white;
    border-right: 3px solid #60a5fa;
}

.menu-item i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.badge {
    background: #ef4444;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    margin-left: auto;
}

/* Sidebar Actions */
.sidebar-actions {
    padding: 1.25rem 1rem;
    border-top: 1px solid #475569;
    border-bottom: 1px solid #475569;
}

.sidebar-actions h3 {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== DASHBOARD COMPONENTS ===== */
.mobile-header {
    background: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-container {
    padding: 1rem;
    flex: 1;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.welcome-section h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.welcome-section p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Main Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Sections */
.tasks-section,
.reports-section,
.quick-actions-section,
.progress-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
}

/* Task Cards */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
}

.task-card.urgent {
    border-left-color: var(--danger);
}

.task-card.high-priority {
    border-left-color: var(--warning);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.task-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.task-priority {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-high { background: var(--danger); color: white; }
.priority-medium { background: var(--warning); color: white; }
.priority-low { background: var(--success); color: white; }

.task-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.8rem;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    min-height: 36px;
}

.btn-block {
    width: 100%;
    margin-bottom: 0.5rem;
    justify-content: center;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.action-card {
    background: linear-gradient(135deg, #fff, var(--gray-100));
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Progress */
.progress-bar {
    background: var(--gray-200);
    border-radius: 6px;
    height: 6px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Weekly Progress */
.weekly-progress-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.weekly-progress-title {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: center;
}

.progress-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.progress-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.85rem;
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: #1f2937;
    color: #f9fafb;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #d1d5db;
    font-size: 1.125rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

.footer-bottom p {
    text-align: center;
    color: #9ca3af;
    margin: 0;
}

/* ===== MODALS & COMPONENTS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% 1rem;
    padding: 0;
    border-radius: var(--radius);
    width: auto;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1.25rem;
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Manager Dashboard Components */
.manager-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.week-selector-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.reports-container {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.report-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.report-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.report-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.report-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* AI Analysis Components */
.ai-analysis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ai-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.ai-card-header {
    background: var(--gray-100);
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.ai-card-content {
    padding: 1rem;
}

/* Table Styles */
.table-responsive {
    border-radius: 0.375rem;
}

.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-container > * {
    animation: fadeIn 0.4s ease-out;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet Breakpoint */
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .sidebar {
        position: static;
        left: 0;
        width: 280px;
    }
    
    .main-content {
        margin-left: 0;
        display: flex;
        flex-direction: row;
    }
    
    .mobile-header {
        display: none;
    }
    
    .dashboard-container {
        padding: 1.5rem;
        flex: 1;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .task-meta {
        flex-direction: row;
        gap: 1rem;
    }
    
    .manager-actions {
        flex-direction: row;
    }
    
    .week-selector-container {
        flex-direction: row;
        align-items: center;
    }
    
    .report-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .report-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 90%;
        max-width: 600px;
    }
    
    .ai-analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Header adjustments for tablet */
    .header-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .brand-text {
        font-size: 1.125rem;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .dashboard-container {
        padding: 2rem;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .quick-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .welcome-section h1 {
        font-size: 2.5rem;
    }
    
    .ai-analysis-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile menu for small screens */
@media (max-width: 640px) {
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #0f172a;
        --dark: #f8fafc;
        --gray-100: #1e293b;
        --gray-200: #334155;
        --gray-800: #f8fafc;
    }

    body {
        background: linear-gradient(135deg, #1e3a8a 0%, #7e22ce 100%);
    }
    
    .stat-card,
    .tasks-section,
    .reports-section,
    .quick-actions-section,
    .progress-section,
    .weekly-progress-card,
    .modal-content,
    .ai-card,
    .report-card {
        background: rgba(30, 41, 59, 0.95);
        color: var(--dark);
        border-color: var(--gray-700);
    }
    
    .task-card {
        background: var(--gray-100);
    }
    
    .footer {
        background: #0f172a;
    }
}

/* ===== PWA SPECIFIC ===== */
@media (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-header {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }
}/* ===== HEADER STYLES ===== */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.25rem;
}

.brand-logo {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.brand-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #374151;
}

.nav-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.nav-button-outline {
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-button-outline:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.user-menu, .auth-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Main Content Area */
.main-content {
    min-height: calc(100vh - 64px);
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: #1f2937;
    color: #f9fafb;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #d1d5db;
    font-size: 1.125rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

.footer-bottom p {
    text-align: center;
    color: #9ca3af;
    margin: 0;
}

/* ===== AUTH PAGES ===== */
.auth-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

.auth-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .brand-text {
        font-size: 1.125rem;
    }
    
    .footer-container {
        padding: 2rem 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .header-nav {
        display: none;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
}