@charset "UTF-8";

body {
    font-family: 'Inter', sans-serif;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.kpi-card {
    transition: all 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.1);
}

.filter-btn {
    transition: all 0.15s ease;
}

.btn-ghost {
    transition: all 0.15s ease;
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.04);
}

.export-dropdown {
    min-width: 140px;
}

[x-cloak] {
    display: none !important;
}

.source-dot {
    font-size: 6px;
}

aside .custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

aside .custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

aside .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

aside .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.55);
}

.flatpickr-calendar {
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    padding: 6px;
}

.flatpickr-months .flatpickr-month {
    height: 36px;
}

.flatpickr-current-month {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    padding-top: 4px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700;
}

span.flatpickr-weekday {
    font-size: 10px;
    font-weight: 900;
    color: #94a3b8;
    text-transform: uppercase;
    padding: 6px 0;
}

.flatpickr-day {
    border-radius: 0.5rem;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    max-width: 36px;
    height: 32px;
    line-height: 32px;
}

.flatpickr-day:hover {
    background: #ecfdf5;
    border-color: #d1fae5;
    color: #059669;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.flatpickr-day.today {
    border-color: #d1fae5;
}

.flatpickr-day.today:hover {
    background: #ecfdf5;
}

.flatpickr-day.prev-monthDay,
.flatpickr-day.next-monthDay {
    color: #cbd5e1;
}

@media print {
    .no-print,
    nav,
    footer,
    .action-buttons,
    .history-section {
        display: none !important;
    }

    .chatgpt-container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .printable-card {
        border: none !important;
        box-shadow: none !important;
    }

    section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }

    body {
        background: white !important;
        font-size: 12pt;
    }

    @page {
        margin: 10mm;
    }
}

@media print {
    body.print-report * {
        visibility: hidden;
    }

    body.print-report .financial-report-print,
    body.print-report .financial-report-print * {
        visibility: visible;
    }

    body.print-report .financial-report-print {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}

.map-panel {
    min-height: 400px;
    z-index: 1;
    height: 450px;
}

.map-panel-lg {
    height: 650px;
}

.custom-marker {
    background: transparent !important;
    border: none !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 1.25rem !important;
    padding: 6px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-popup-tip {
    box-shadow: none !important;
}

.map-popup {
    min-width: 220px;
}

.map-marker-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.tone-green {
    color: #10b981;
}

.tone-amber {
    color: #f59e0b;
}

.tone-red {
    color: #ef4444;
}

.tone-slate {
    color: #94a3b8;
}

.tone-bg-green {
    background-color: #10b981;
}

.tone-bg-amber {
    background-color: #f59e0b;
}

.tone-bg-red {
    background-color: #ef4444;
}

.tone-bg-slate {
    background-color: #94a3b8;
}