#map {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 300px;
}

/* Alert enhancements */
.alert {
    border: none;
    border-radius: 0.5rem;
}

.alert-info {
    background-color: #e7f3ff;
    border-left: 4px solid #0d6efd;
}

.alert-secondary {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
}

.alert-primary {
    background-color: #e7f1ff;
    border-left: 4px solid #0d6efd;
}

/* Card enhancements */
.card {
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-header {
    font-weight: 500;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Tabulator customizations */
.tabulator {
    border: none;
    border-radius: 0.375rem;
    overflow: hidden;
}

.tabulator .tabulator-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.tabulator .tabulator-header .tabulator-col {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.tabulator .tabulator-header .tabulator-col:last-child {
    border-right: none;
}

.tabulator .tabulator-tableholder .tabulator-table .tabulator-row {
    border-bottom: 1px solid #dee2e6;
}

.tabulator .tabulator-tableholder .tabulator-table .tabulator-row:hover {
    background-color: #f8f9fa;
}

.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-row-even {
    background-color: #fff;
}

.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-row-odd {
    background-color: #f8f9fa;
}

/* Links in table */
.tabulator .tabulator-cell a {
    color: #0d6efd;
    text-decoration: none;
}

.tabulator .tabulator-cell a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

#filter-title {
    text-align: center;
    margin: 10px 0;
    font-weight: bold;
}

/* Initially show the table automatically */
#emergencies-table {
    display: block;
}

/* Remove indentation from popup lists */
.popover .panel-body ul {
    padding-left: 0;
    list-style-type: none;
    margin: 0;
}

/* Custom vanilla JS popup styles */
.feature-popup {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 5px;
    min-width: 250px;
    max-width: 350px;
    cursor: move; /* Indicate draggable */
}

.feature-popup ul {
    padding-left: 0;
    list-style-type: none;
    margin: 0;
}

.feature-popup .panel-heading {
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
    padding-bottom: 3px;
}

.feature-popup .panel-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 3px 0;
}

.feature-popup .panel-body {
    padding: 5px 5px 0 5px;
}

.feature-popup .panel-default {
    margin-bottom: 0;
}

.feature-popup li {
    margin-bottom: 8px;
}

.feature-popup li:last-child {
    margin-bottom: 0;
}

.popup-close-btn {
    position: absolute;
    top: 2px;
    right: 5px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: #666;
}


