/* assets/css/style.css */

:root {
    --brand-primary: #5071E6;
    --brand-dark: #161F40;
    --brand-success: #49c988;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.kpi-value {
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    color: var(--brand-dark);
}

.kpi-label {
    font-size: 0.875rem; /* 14px */
    color: var(--text-secondary);
}

.section-title {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 1.5rem; /* 24px */
    margin-bottom: 1.5rem; /* 24px */
}

.chart-container {
    height: 280px;
    margin-top: 2rem; /* 32px */
}

.card {
    background-color: var(--bg-white);
    border-radius: 0.75rem; /* 12px */
    padding: 2rem; /* 32px */
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.header-card {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 0.75rem; /* 12px */
    padding: 1rem; /* 16px */
}

.summary-card {
    background-color: #f1f5f9;
    border-radius: 0.75rem; /* 12px */
    padding: 1rem; /* 16px */
    text-align: center;
}

.overview-card {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 1.5rem; /* 24px */
    border-radius: 0.75rem; /* 12px */
    text-align: center;
}

#toast-container {
    position: fixed;
    bottom: 1.5rem; /* 24px */
    right: 1.5rem; /* 24px */
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* 12px */
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    padding: 1rem; /* 16px */
    border-radius: 0.5rem; /* 8px */
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: toast-in 0.5s forwards;
}

@keyframes toast-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
