/* Base Styles */
:root {
    --primary: #3b82f6;
    --secondary: #1e40af;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --light: #f8fafc;
    --dark: #1e293b;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--dark);
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    background: var(--secondary);
    color: white;
    padding: 1rem;
    text-align: center;
}

.app-nav {
    display: flex;
    background: var(--primary);
    padding: 0.5rem;
    gap: 0.5rem;
}

.app-nav button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.section {
    padding: 1rem;
    background: white;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
}

.hidden {
    display: none !important;
}

.kpi-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.chart-container {
    margin-top: 1rem;
    height: 300px;
}
