/* ==========================================
   ECOTRACK - PROFESSIONAL STYLE SHEET
   Premium Design System
   ========================================== */

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== DESIGN TOKENS ===== */
:root {
    /* Primary Color Palette - Sophisticated Green */
    --primary-900: #1a4731;      /* Deepest Green */
    --primary-800: #1e5f4b;      /* Dark Teal */
    --primary-700: #2e7d32;      /* Forest Green */
    --primary-600: #3c9e4c;      /* Medium Green */
    --primary-500: #4caf50;      /* Primary Green */
    --primary-400: #6fbf73;      /* Soft Green */
    --primary-300: #a5d6a7;      /* Light Green */
    --primary-200: #c8e6c9;      /* Lighter Green */
    --primary-100: #e8f5e9;      /* Pale Green */
    
    /* Secondary Colors */
    --admin-700: #b71c1c;        /* Deep Red */
    --admin-600: #c62828;         /* Admin Red */
    --admin-500: #d32f2f;         /* Bright Red */
    --admin-400: #ef5350;         /* Soft Red */
    
    --user-700: #1d7669;          /* Deep Teal */
    --user-600: #2e8b7d;          /* Medium Teal */
    --user-500: #4ecdc4;          /* Primary Teal */
    --user-400: #7adbd4;          /* Light Teal */
    
    /* Status Colors */
    --success: #2e7d32;            /* Success Green */
    --success-light: #e8f5e9;      /* Success Background */
    --warning: #ed6c02;            /* Warning Orange */
    --warning-light: #fff3e0;      /* Warning Background */
    --info: #0288d1;               /* Info Blue */
    --info-light: #e1f5fe;         /* Info Background */
    --error: #d32f2f;              /* Error Red */
    --error-light: #ffebee;        /* Error Background */
    
    /* Neutral Colors */
    --gray-900: #212121;           /* Almost Black */
    --gray-800: #424242;           /* Very Dark Gray */
    --gray-700: #616161;           /* Dark Gray */
    --gray-600: #757575;           /* Medium Dark Gray */
    --gray-500: #9e9e9e;           /* Medium Gray */
    --gray-400: #bdbdbd;           /* Light Gray */
    --gray-300: #e0e0e0;           /* Lighter Gray */
    --gray-200: #eeeeee;           /* Very Light Gray */
    --gray-100: #f5f5f5;           /* Off White */
    --white: #ffffff;               /* Pure White */
    
    /* Backgrounds */
    --bg-primary: #f8faf9;          /* Main Background */
    --bg-secondary: #ffffff;        /* Card Background */
    --bg-gradient: linear-gradient(135deg, #1a4731 0%, #2e7d32 50%, #4caf50 100%);
    --bg-gradient-user: linear-gradient(135deg, #1d7669 0%, #2e8b7d 50%, #4ecdc4 100%);
    --bg-gradient-admin: linear-gradient(135deg, #b71c1c 0%, #c62828 50%, #d32f2f 100%);
    
    /* Shadows - Multiple Layers for Depth */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Border Radius */
    --radius-sm: 0.375rem;          /* 6px */
    --radius-md: 0.5rem;            /* 8px */
    --radius-lg: 0.75rem;           /* 12px */
    --radius-xl: 1rem;              /* 16px */
    --radius-2xl: 1.5rem;           /* 24px */
    --radius-full: 9999px;           /* Pill shape */
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
}

/* ===== GLOBAL STYLES ===== */
body {
    background: var(--gray-100);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ===== HEADER SECTION (Home Page) ===== */
.header {
    text-align: center;
    color: var(--white);
    padding: var(--space-16) var(--space-6);
    background: var(--bg-gradient);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ===== ROLE SELECTOR (Home Page) ===== */
.role-selector {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin: var(--space-12) 0;
    flex-wrap: wrap;
}

.btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn:active {
    transform: translateY(0);
}

.admin {
    background: var(--admin-600);
    color: var(--white);
}

.admin:hover {
    background: var(--admin-700);
}

.user {
    background: var(--user-600);
    color: var(--white);
}

.user:hover {
    background: var(--user-700);
}

/* ===== FEATURES SECTION (Home Page) ===== */
.features {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: var(--space-12) auto;
}

.feature-card {
    background: var(--white);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    width: 320px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== NAVIGATION BARS ===== */
.user-nav, .admin-nav {
    padding: var(--space-4) var(--space-6);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
    z-index: 100;
}

.user-nav {
    background: rgba(46, 139, 125, 0.95);
}

.admin-nav {
    background: rgba(198, 40, 40, 0.95);
}

.nav-links {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== CONTAINERS ===== */
.container, .dashboard, .reports-container, .rewards-container {
    max-width: 1400px;
    margin: var(--space-8) auto;
    padding: 0 var(--space-6);
}

/* ===== CARDS ===== */
.stat-card, .idea-card, .report-card, .reward-card, .officer-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before, .idea-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-card:hover::before, .idea-card:hover::before {
    opacity: 1;
}

.stat-card:hover, .idea-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-5);
    margin: var(--space-6) 0;
}

.stat-card {
    text-align: center;
    cursor: pointer;
    border-left: 4px solid var(--primary-600);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: var(--space-2);
    line-height: 1;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ACTION BUTTONS GRID ===== */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.action-btn {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== FORMS ===== */
.form-container {
    max-width: 500px;
    margin: var(--space-8) auto;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--gray-100);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-100);
}

/* ===== IDEA CARDS GRID ===== */
.ideas-grid, .centers-grid, .rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
    margin: var(--space-6) 0;
}

.idea-header {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    padding: var(--space-4);
    border-bottom: 2px solid var(--primary-200);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.idea-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.idea-meta {
    display: flex;
    gap: var(--space-4);
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: var(--space-3);
    padding: var(--space-2) 0;
    border-top: 1px dashed var(--gray-300);
    border-bottom: 1px dashed var(--gray-300);
}

.materials {
    background: var(--gray-100);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    margin: var(--space-3) 0;
    border-left: 3px solid var(--primary-400);
}

.steps-list {
    margin: var(--space-3) 0 var(--space-3) var(--space-5);
    color: var(--gray-700);
}

.steps-list li {
    margin: var(--space-2) 0;
    font-size: 0.9375rem;
}

/* ===== BUTTONS ===== */
.save-btn, .btn-primary, .btn-secondary, .btn-danger {
    padding: var(--space-3) var(--space-5);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.save-btn {
    background: var(--user-500);
    color: var(--white);
    width: 100%;
    margin-top: var(--space-4);
}

.save-btn:hover:not(:disabled) {
    background: var(--user-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.save-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-primary {
    background: var(--primary-600);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
}

.btn-danger {
    background: var(--error);
    color: var(--white);
}

/* ===== CATEGORY BADGES ===== */
.idea-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-plastic { background: var(--info-light); color: var(--info); }
.category-paper { background: var(--warning-light); color: var(--warning); }
.category-glass { background: var(--success-light); color: var(--success); }
.category-clothes { background: #f3e5f5; color: #7b1fa2; }
.category-ewaste { background: var(--error-light); color: var(--error); }
.category-kitchen { background: #fff8e1; color: #ff8f00; }
.category-furniture { background: #efebe9; color: #5d4037; }

/* ===== STATUS BADGES ===== */
.status-badge, .badge {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending, .badge-pending { 
    background: var(--warning-light); 
    color: var(--warning); 
}

.status-progress, .badge-progress { 
    background: var(--info-light); 
    color: var(--info); 
}

.status-resolved, .badge-resolved { 
    background: var(--success-light); 
    color: var(--success); 
}

/* ===== TABLES ===== */
table {
    width: 100%;
    background: var(--white);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

th {
    background: var(--primary-700);
    color: var(--white);
    padding: var(--space-4);
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--gray-100);
}

/* ===== LOADING SPINNER ===== */
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: var(--space-8) auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: var(--space-4) 0;
}

.progress-fill {
    height: 100%;
    background: var(--bg-gradient);
    transition: width 0.5s ease;
    border-radius: var(--radius-full);
}

/* ===== MESSAGES ===== */
.error-message {
    background: var(--error-light);
    color: var(--error);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    display: none;
    border-left: 4px solid var(--error);
    font-weight: 500;
}

.success-message {
    background: var(--success-light);
    color: var(--success);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    display: none;
    border-left: 4px solid var(--success);
    font-weight: 500;
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: var(--space-12);
    background: var(--white);
    border-radius: var(--radius-xl);
    color: var(--gray-500);
    grid-column: 1 / -1;
    box-shadow: var(--shadow-md);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--gray-600);
    margin-bottom: var(--space-3);
    font-size: 1.5rem;
}

/* ===== FILTER BUTTONS ===== */
.filter-bar {
    display: flex;
    gap: var(--space-2);
    margin: var(--space-5) 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-5);
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== SEARCH BOX ===== */
.search-box {
    width: 100%;
    padding: var(--space-3) var(--space-5);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 1rem;
    margin: var(--space-4) 0;
    transition: all var(--transition-fast);
    background: var(--white);
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .user-nav, .admin-nav {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
        position: static;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .ideas-grid, .centers-grid {
        grid-template-columns: 1fr;
    }
    
    .role-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
    }
    
    .modal-content {
        padding: var(--space-5);
        margin: var(--space-4);
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: var(--space-4);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .form-container {
        padding: var(--space-5);
        margin: var(--space-4);
    }
    
    .btn {
        width: 100%;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .nav, .action-buttons, .filter-bar, .search-box {
        display: none;
    }
    
    body {
        background: white;
        padding: 0;
    }
    
    .card, .stat-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}