body {
    background: #f3f3f3;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
}

.page-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    padding: 18px 0;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 18px;
}

.page-header h3 {
    font-weight: 600;
}

.search-area {
    position: relative;
    width: 310px;
}

.search-dropdown {
    position: absolute;
    top: 42px;
    right: 0;
    background: #fff;
    border: 1px solid #bbb;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    z-index: 200;
}

.search-item {
    padding: 7px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-item:hover {
    background: #efefef;
}

.kpi-card {
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px;
    min-height: 86px;
}

.kpi-card .value {
    font-size: 1.45rem;
    font-weight: 600;
    color: #0d6efd;
}

.kpi-card .label {
    font-size: 0.85rem;
    color: #555;
}

.card {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.card-header {
    background: #e9ecef;
    font-weight: 600;
    padding: 8px 12px;
}

.chart-card .card-body {
    height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 470px;
    border: none;
}

.detail-panel .card-body {
    max-height: 400px;
    overflow-y: auto;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 10px;
}

.clickable-row {
    cursor: pointer;
}

@media (max-width: 768px) {
    .page-header {
        display: block;
    }

    .search-area {
        width: 100%;
        margin-top: 12px;
    }
}
