/* ============================================================================
   CENTRALIZED CSS FILE - Job Data Warehouse Analyze Section
   ============================================================================
   Extracted from: navigation.php, index.php, industry.php, layoffs.php,
   company_profile.php

   Table of Contents:
   1. Reset & Base Styles
   2. Navigation Styles
   3. Layout & Container Styles
   4. Card Components
   5. Typography & Headers
   6. Tables
   7. Forms & Filters
   8. Buttons
   9. KPI Cards & Statistics
   10. Charts & Visualizations
   11. Alert & Notification Styles
   12. Timeline Components
   13. Company & State Components
   14. Utility Classes
   15. Media Queries
   ============================================================================ */


/* ============================================================================
   1. RESET & BASE STYLES
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}


/* ============================================================================
   2. NAVIGATION STYLES
   ============================================================================ */

.analyze-nav {
    background: linear-gradient(135deg, #1e293b, #334155);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.nav-logo {
    font-size: 1.5rem;
}

.nav-title {
    display: none;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
}

.nav-icon {
    font-size: 1.125rem;
}

.nav-link span:last-child {
    display: none;
}

.nav-user {
    display: flex;
    align-items: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

.account-btn {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.account-btn:hover {
    background: rgba(59, 130, 246, 1);
}

.logout-btn {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 1);
}


/* ============================================================================
   3. LAYOUT & CONTAINER STYLES
   ============================================================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.main-content {
    padding: 2rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}


/* ============================================================================
   4. CARD COMPONENTS
   ============================================================================ */

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.card h2 {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: visible !important;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kpi-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 16px 16px 0 0;
}

.table-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow-x: auto;
}


/* ============================================================================
   5. TYPOGRAPHY & HEADERS
   ============================================================================ */

.header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.header-section {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

h1 {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 10px;
}

.subtitle {
    color: #718096;
    font-size: 16px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 100;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}


/* ============================================================================
   6. TABLES
   ============================================================================ */

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
    position: relative;
}

th:hover {
    background: #edf2f7;
}

th a {
    color: #2d3748;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

tr:hover {
    background: #f7fafc;
}

.sort-icon {
    font-size: 12px;
    color: #a0aec0;
}


/* ============================================================================
   7. FORMS & FILTERS
   ============================================================================ */

.filters {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.filters h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2d3748;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
}

.filter-label {
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0.9;
}

.filter-group select,
.filter-group input {
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.header-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
}


/* ============================================================================
   8. BUTTONS
   ============================================================================ */

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.back-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}


/* ============================================================================
   9. KPI CARDS & STATISTICS
   ============================================================================ */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.kpi-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.kpi-change {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kpi-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.chart-change {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.positive {
    color: #059669;
}

.negative {
    color: #dc2626;
}

.neutral {
    color: #64748b;
}

.data-quality {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.quality-score {
    font-size: 1.25rem;
    font-weight: 600;
    color: #059669;
}


/* ============================================================================
   10. CHARTS & VISUALIZATIONS
   ============================================================================ */

.charts-section {
    margin-bottom: 3rem;
    overflow: visible;
}

.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    overflow: visible;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-container {
    position: relative;
    height: 350px;
    z-index: 1;
}

.mini-chart {
    height: 200px;
}

/* Tooltip styles */
.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: help;
    position: relative;
    transition: all 0.2s;
}

.help-icon:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 16px;
    background: #1e293b;
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1.5;
    width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99999;
    pointer-events: none;
}

.help-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 18px);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #1e293b;
}

.data-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.source-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.source-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.source-period {
    font-size: 0.875rem;
    color: #64748b;
}


/* ============================================================================
   11. ALERT & NOTIFICATION STYLES
   ============================================================================ */

/* Beta Notice Banner */
.beta-notice-banner {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
    border-bottom: 2px solid #3b82f6 !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1) !important;
    width: 100%;
    display: block;
}

.beta-notice-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: block;
}

.beta-notice-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    flex-wrap: nowrap;
}

.beta-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
}

.beta-notice-text {
    font-size: 14px !important;
    color: #1e3a8a !important;
    line-height: 1.5 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    display: block;
    margin: 0;
}

.beta-notice-text strong {
    color: #1e40af !important;
    font-weight: 700 !important;
    display: inline;
}

.alert-section {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.alert-title {
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.alert-panel {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 2rem;
    margin-bottom: 2rem;
}

.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.alert-item {
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid;
}

.severity-high {
    background: #fef2f2;
    border-color: #ef4444;
}

.severity-medium {
    background: #fef3c7;
    border-color: #f59e0b;
}

.severity-low {
    background: #f0f9ff;
    border-color: #3b82f6;
}

.alert-type {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.alert-message {
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.alert-impact {
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.8;
}

.error-message {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 1rem;
    color: #991b1b;
    margin-bottom: 2rem;
}


/* ============================================================================
   12. TIMELINE COMPONENTS
   ============================================================================ */

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #667eea;
}

.timeline-date {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.timeline-location {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.timeline-details {
    color: #4a5568;
    font-size: 14px;
}

.timeline-reason {
    color: #718096;
    font-size: 13px;
    font-style: italic;
    margin-top: 8px;
}


/* ============================================================================
   13. COMPANY & STATE COMPONENTS
   ============================================================================ */

.company-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.company-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.top-company {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f7fafc;
    border-radius: 6px;
    margin-bottom: 10px;
}

.company-rank {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    min-width: 30px;
}

.company-info {
    flex: 1;
    padding: 0 15px;
}

.company-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 3px;
}

.company-meta {
    font-size: 12px;
    color: #718096;
}

.company-workers {
    font-size: 18px;
    font-weight: bold;
    color: #e53e3e;
}

.state-list {
    max-height: 400px;
    overflow-y: auto;
}

.state-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: #f7fafc;
    transition: all 0.2s;
}

.state-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.state-code {
    font-weight: bold;
    font-size: 14px;
    min-width: 50px;
    color: #2d3748;
}

.state-bar {
    flex: 1;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 15px;
}

.state-bar-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.state-workers {
    font-weight: bold;
    font-size: 14px;
    min-width: 60px;
    text-align: right;
}

.employer-trend {
    margin-bottom: 25px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.trend-employer-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.trend-stats {
    font-size: 14px;
    color: #718096;
}

.trend-timeline {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-top: 15px;
    height: 100px;
}

.trend-event {
    flex: 1;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
    min-width: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.trend-event:hover {
    filter: brightness(1.1);
    transform: translateY(-5px);
}

.trend-segment {
    width: 100%;
    border-top: 2px solid white;
    transition: all 0.2s;
}

.trend-segment:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top: none;
}

.trend-event-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
    min-width: 180px;
    max-width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
    margin-bottom: 5px;
    text-align: left;
}

.trend-event:hover .trend-event-tooltip {
    opacity: 1;
}

.trend-event-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2d3748;
}


/* ============================================================================
   14. UTILITY CLASSES
   ============================================================================ */

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-state {
    background: #edf2f7;
    color: #4a5568;
}

.map-legend {
    margin-top: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
}

.legend-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.legend-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legend-gradient {
    flex: 1;
    height: 20px;
    background: linear-gradient(to right, #fed7d7, #fc8181, #e53e3e, #9b2c2c);
    border-radius: 4px;
    margin: 0 10px;
}

.executive-summary {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 4px solid #3b82f6;
}

.summary-content {
    line-height: 1.8;
    color: #475569;
}

.summary-content p {
    margin-bottom: 0.75rem;
}

.summary-highlight {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid #3b82f6;
}

.footer {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.875rem;
}


/* ============================================================================
   15. MEDIA QUERIES
   ============================================================================ */

/* Navigation responsive */
@media (min-width: 640px) {
    .nav-title {
        display: inline;
    }
}

@media (min-width: 768px) {
    .nav-link span:last-child {
        display: inline;
    }

    .user-name {
        display: inline;
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

/* Charts and grids responsive */
@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}
