@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 32rem),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    color: #111827;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-container {
    padding: 36px;
    min-height: 100vh;
}

.page-eyebrow {
    color: #2563eb;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    margin-bottom: 8px;
}

.page-title {
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #64748b;
    font-size: 17px;
    max-width: 720px;
    margin-bottom: 0;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.refresh-button {
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.last-refresh-text {
    color: #64748b;
    font-size: 13px;
}

.kpi-card {
    border: none;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    min-height: 150px;
}

.kpi-icon {
    font-size: 26px;
    margin-bottom: 12px;
}

.kpi-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.kpi-value {
    color: #0f172a;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.table-card {
    margin-top: 24px;
    border: none;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-title {
    color: #0f172a;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 0;
}

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table {
    border-collapse: separate !important;
    border-spacing: 0;
}

@media (max-width: 992px) {
    .app-container {
        padding: 22px;
    }

    .header-actions {
        align-items: flex-start;
        margin-top: 20px;
    }

    .page-title {
        font-size: 32px;
    }
}

.chart-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
    min-height: 480px;
}

.chart-card .card-body {
    padding: 18px;
}

.filter-card,
.insight-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.insight-list {
    margin: 0;
    padding-left: 20px;
}

.insight-item {
    margin-bottom: 10px;
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
}

.date-picker {
    width: 100%;
}

.DateRangePicker,
.DateRangePickerInput {
    width: 100%;
}

.DateInput {
    width: 46%;
}

.chart-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
}

.chart-card .card-body {
    padding: 18px;
}

.dashboard-tabs .nav-link {
    border: none;
    color: #475569;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 999px;
    margin-right: 8px;
}

.dashboard-tabs .nav-link.active {
    background: #2563eb;
    color: white;
}

.tab-content-wrapper {
    padding-top: 18px;
}

.management-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
}

.management-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.management-message {
    min-height: 42px;
}

.date-picker-single {
    width: 100%;
}

.DateInput {
    width: 100%;
}

.page-logo {
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 0 12px 0;
}
