* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-weight: bold;
    font-size: 20px;
}

.menu-toggle {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 35px 8px 15px;
    border: none;
    border-radius: 20px;
    width: 250px;
    outline: none;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.user-menu:hover {
    background: rgba(255,255,255,0.2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-weight: bold;
}

/* Layout */
.container {
    display: flex;
    height: calc(100vh - 70px);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: transform 0.3s;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.menu-item {
    margin: 5px 15px;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu-item a:hover {
    background: #f0f0f0;
    color: #667eea;
}

.menu-item.active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.menu-section {
    padding: 15px 20px 5px;
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submenu {
    list-style: none;
    margin-left: 20px;
    display: none;
}

.menu-item.has-submenu.open .submenu {
    display: block;
}

.submenu li a {
    padding: 8px 15px;
    font-size: 14px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f5f5f5;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

/* Dashboard Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.stat-card.blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.stat-card.green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.stat-card.red {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.stat-card.yellow {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
}

.stat-card.purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border-radius: 10px;
}

.stat-card.blue .stat-icon {
    background: #2196f3;
    color: white;
}

.stat-card.green .stat-icon {
    background: #4caf50;
    color: white;
}

.stat-card.red .stat-icon {
    background: #f44336;
    color: white;
}

.stat-card.yellow .stat-icon {
    background: #ff9800;
    color: white;
}

.stat-card.purple .stat-icon {
    background: #9c27b0;
    color: white;
}

.stat-details h3 {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
}

.stat-details .stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.stat-details .stat-label {
    font-size: 13px;
    color: #777;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Card */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Map */
#map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-legend {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.map-legend h4 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
    font-size: 13px;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.legend-marker.red {
    background: #f44336;
}

.legend-marker.yellow {
    background: #ff9800;
}

/* Chart */
#statusChart {
    max-height: 350px;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table thead {
    background: #f8f9fa;
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
    font-size: 14px;
    border-bottom: 2px solid #e0e0e0;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.red {
    background: #ffebee;
    color: #c62828;
}

.status-badge.green {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.yellow {
    background: #fff9c4;
    color: #f57c00;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.login-header p {
    color: #777;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: #667eea;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Responsive */
/* Mobile Responsif - Smartphone (max-width: 480px) */
@media (max-width: 480px) {
    /* Header - force mobile layout */
    .header {
        padding: 12px !important;
        gap: 8px !important;
    }
    
    .search-box input {
        width: 0 !important;
        padding: 0 !important;
        visibility: hidden !important;
    }
    
    .user-menu > span {
        display: none !important;
    }
    
    .user-menu i:last-child {
        display: none !important;
    }
    
    .refresh-btn {
        font-size: 16px;
        padding: 6px;
    }
    
    .notification-icon {
        padding: 5px;
    }
    
    /* Container & Sidebar */
    .container {
        height: calc(100vh - 60px);
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 60px;
        height: calc(100vh - 60px);
        width: 280px;
        z-index: 999;
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
        box-shadow: 2px 0 20px rgba(0,0,0,0.3);
    }
    
    .sidebar-menu {
        padding: 15px 0;
    }
    
    .menu-item {
        margin: 3px 8px;
    }
    
    .menu-item a {
        padding: 10px 12px;
        font-size: 13px;
        gap: 10px;
    }
    
    .menu-section {
        padding: 12px 15px 3px;
        font-size: 11px;
    }
    
    /* Main Content */
    .main-content {
        padding: 15px;
        width: 100%;
    }
    
    main {
        padding: 15px;
    }
    
    .page-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Quick Actions */
    .quick-actions {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .quick-action-btn {
        padding: 12px;
        font-size: 12px;
    }
    
    .quick-action-btn i {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .quick-action-btn span {
        font-size: 11px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .stat-card {
        padding: 15px !important;
        gap: 12px !important;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .row {
        gap: 12px;
    }
    
    /* Cards */
    .card {
        border-radius: 10px;
        overflow: hidden;
    }
    
    .card-header {
        padding: 12px;
    }
    
    .card-header h3 {
        font-size: 14px;
        margin: 0;
    }
    
    .card-body {
        padding: 12px;
        font-size: 13px;
    }
    
    /* Tables */
    table {
        font-size: 12px;
    }
    
    thead th {
        padding: 8px 5px;
        font-size: 11px;
    }
    
    tbody td {
        padding: 8px 5px;
        word-break: break-word;
    }
    
    /* Modals */
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 15px;
        font-size: 16px;
    }
    
    .modal-body {
        padding: 15px;
        font-size: 13px;
    }
    
    .modal-footer {
        padding: 12px;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 8px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Buttons */
    button {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .btn-group {
        gap: 8px;
    }
    
    .btn-group button {
        flex: 1;
    }
    
    /* Charts & Stats */
    .stat-item {
        padding: 12px;
        font-size: 12px;
    }
    
    .stat-item-label {
        font-size: 12px;
    }
    
    .stat-item-value {
        font-size: 18px;
    }
    
    /* Notification Modal */
    #notificationModal {
        padding: 10px !important;
    }
    
    #notificationModal > div {
        max-width: 95% !important;
        max-height: 80vh !important;
    }
    
    #notificationModal h2 {
        font-size: 16px;
    }
    
    /* Footer */
    .footer {
        padding: 15px;
        font-size: 12px;
        text-align: center;
    }
    
    /* Headings */
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 15px;
    }
    
    /* Links and text */
    a {
        font-size: 13px;
    }
    
    /* Overflow handling */
    .card-body {
        overflow-x: auto;
    }
    
    /* Spinner */
    .spinner {
        width: 30px;
        height: 30px;
    }
}

/* Tablet Responsif (768px - 1024px) */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 70px;
        height: calc(100vh - 70px);
        z-index: 999;
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-box input {
        width: 150px;
    }
    
    main {
        padding: 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    /* Adjust tables for tablet */
    table {
        font-size: 13px;
    }
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.action-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.action-card i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.action-card span {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

/* Refresh Button */
.refresh-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.refresh-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(180deg);
}

/* Additional Stats */
.card-body {
    padding: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item-label {
    font-size: 14px;
    color: #666;
}

.stat-item-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Row utility */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

/* Search Result Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.search-result-subtitle {
    font-size: 12px;
    color: #666;
}

/* Footer */
.footer {
    background: white;
    padding: 15px 30px;
    text-align: center;
    color: #777;
    font-size: 13px;
    border-top: 1px solid #e0e0e0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close {
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.close:hover {
    transform: scale(1.2);
}

.modal-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form Styles */
.modal-content form {
    padding: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea,
.form-control {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: #f44336;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn i {
    font-size: 14px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
}

/* Action Buttons */
.btn-action {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 2px;
    font-size: 13px;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.btn-action.btn-info {
    background: #2196f3;
    color: white;
}

.btn-action.btn-warning {
    background: #ff9800;
    color: white;
}

.btn-action.btn-danger {
    background: #f44336;
    color: white;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    min-width: 100%;
}

.data-table td {
    white-space: nowrap;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.detail-item label {
    display: block;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-item span {
    display: block;
    color: #333;
    font-size: 14px;
}

/* Checkbox Styles */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Responsive Tables */
@media (max-width: 1200px) {
    .data-table {
        font-size: 13px;
    }
    
    .btn-action {
        padding: 5px 8px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-responsive {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px;
    }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    text-align: center;
    white-space: nowrap;
}

.badge-success {
    background-color: #2ecc71;
    color: white;
}

.badge-warning {
    background-color: #f39c12;
    color: white;
}

.badge-danger {
    background-color: #e74c3c;
    color: white;
}

.badge-secondary {
    background-color: #95a5a6;
    color: white;
}

.badge-info {
    background-color: #3498db;
    color: white;
}

.badge-primary {
    background-color: #667eea;
    color: white;
}

/* Detail Section */
.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    color: #555;
    font-size: 16px;
}

.detail-section h4 i {
    margin-right: 8px;
    color: #667eea;
}

/* Form Section */
.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h4 {
    margin: 0 0 15px 0;
    color: #555;
    font-size: 16px;
}

.form-section h4 i {
    margin-right: 8px;
    color: #667eea;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Filters Row */
.filters-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

/* Custom Marker Styles (for Leaflet) */
.custom-marker {
    background: none;
    border: none;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

