/* Main CSS styles for the application */

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --success: #198754;
    --success-dark: #157347;
    --info: #0dcaf0;
    --info-dark: #0ba5d1;
    --warning: #ffc107;
    --warning-dark: #e6ac00;
    --danger: #dc3545;
    --danger-dark: #bb2d3b;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Mukta', sans-serif;
    background-color: #f5f5f5;
}

/* Header styles */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sidebar styles */
.sidebar {
    padding: 20px 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    border-right: 1px solid #dee2e6;
    width: 240px;
    height: 100%;
}

.sidebar .nav-link {
    padding: 8px 20px;
    color: #333;
    border-radius: 0;
}

.sidebar .nav-link.active {
    color: var(--primary);
    background-color: rgba(13, 110, 253, 0.1);
    border-left: 3px solid var(--primary);
}

.sidebar .nav-link:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Main content area */
main {
    padding-top: 20px;
}

/* Card styles */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

/* Table styles */
.table {
    font-size: 0.9rem;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Map styles */
.leaflet-container {
    background-color: #f8f9fa;
}

/* Status badges */
.badge {
    font-weight: 500;
    padding: 5px 8px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sidebar {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}