body {
    background: #f5f6f8;
    font-family: Arial, Helvetica, sans-serif;
}

.app-navbar,
.sidebar-header,
.btn-primary,
.card-header-custom {
    background-color: var(--primary-color) !important;
}

.top-link {
    color: white !important;
    padding: 8px 14px !important;
    border-radius: 8px;
}

.top-link.active,
.top-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.card-custom {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.card-header-custom {
    color: #fff;
    font-weight: 700;
}

.btn-primary {
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    opacity: 0.92;
}

.btn-secondary-custom {
    background: var(--secondary-color);
    color: #222;
    border: 1px solid #aaa;
}

.dashboard-box {
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    height: 100%;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.table-responsive {
    border-radius: 14px;
}

.table thead th {
    background: var(--primary-color);
    color: white;
    vertical-align: middle;
    white-space: nowrap;
}

.search-box {
    max-width: 360px;
}

.list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.map-frame {
    width: 100%;
    min-height: 500px;
    border: 0;
    border-radius: 16px;
}

.form-section {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

@media (max-width: 991.98px) {
    .search-box {
        max-width: 100%;
    }
}
