* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    display: flex;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background-color: #282A2F;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    transition: margin-left 0.3s ease;
    overflow: hidden;
}

/* Side Navbar Styles */
.side-navbar {
    width: 48px;
    height: 100vh;
    background-color: #282A2F;
    position: fixed;
    left: 0;
    top: 0;
    overflow: visible; /* Changed from hidden to visible to allow text overflow */
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Remove expanded navbar styles */
.side-navbar.expanded {
    width: 48px;
}

/* Hamburger Menu Button - only visual, no functionality */
.menu-toggle {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    position: relative;
    width: 18px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background-color: #94a3b8;
    position: absolute;
    left: 0;
    border-radius: 2px;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #94a3b8;
    border-radius: 2px;
}

/* Remove all expanded state styles */
.side-navbar.expanded,
.side-navbar.expanded + .container,
.side-navbar.expanded ~ .container .news-container,
.side-navbar.expanded ~ .container .info-container,
.side-navbar.expanded ~ .settings-container.show {
    width: 48px;
    margin-left: 48px;
    left: 48px;
}

/* Remove all hover effects */
.menu-toggle:hover .hamburger span,
.menu-toggle:hover .hamburger::before,
.menu-toggle:hover .hamburger::after {
    background-color: #94a3b8;
}

/* Remove all expanded state adjustments */
.side-navbar.expanded + .container,
.side-navbar.expanded ~ .container .news-container,
.side-navbar.expanded ~ .container .info-container,
.side-navbar.expanded ~ .settings-container.show {
    margin-left: 48px;
    left: 48px;
}

.side-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-navbar li {
    margin: 0;
    padding: 0;
}

.side-navbar a {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #94a3b8;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative; /* Added for tooltip positioning */
}

.side-navbar .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    min-width: 24px;
}

.side-navbar .icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
    transition: all 0.2s ease;
}

.side-navbar .text {
    position: absolute;
    left: 100%;
    background: #1a1a1a;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Show text on hover */
.side-navbar a:hover .text {
    opacity: 1;
    visibility: visible;
}

/* Add arrow to tooltip */
.side-navbar .text::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 5px 5px 5px 0;
    border-color: transparent #1a1a1a transparent transparent;
}

/* Adjust container margin */
.container {
    margin-left: 48px;
}

/* Adjust other containers */
.news-container,
.info-container,
.settings-container.show {
    left: 48px;
}

/* Map Container */
#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Reset any previous positioning */
.news-container,
.news-container.show,
.side-navbar ~ .container .news-container,
.side-navbar ~ .container .news-container.show,
.side-navbar.expanded ~ .container .news-container,
.side-navbar.expanded ~ .container .news-container.show {
    position: fixed !important;
    transform: none !important;
    margin: 0 !important;
}

/* News Container - Popup Style */
.news-container {
    position: fixed !important;
    top: 20px;
    left: 60px;
    height: 60vh;
    width: 280px;
    background: #282A2F;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    transform: none !important;
    transition: none !important;
    visibility: hidden;
    opacity: 0;
}

/* Show state */
.news-container.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* When being dragged */
.news-container.dragging {
    opacity: 0.9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    cursor: move !important;
}

/* News Feed Container */
#auto-news-feed {
    height: calc(100% - 65px);
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
    cursor: default;
}

/* News Feed Scrollbar */
#auto-news-feed::-webkit-scrollbar {
    width: 6px;
}

#auto-news-feed::-webkit-scrollbar-track {
    background: #1a1f2e;
    border-radius: 3px;
}

#auto-news-feed::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

#auto-news-feed::-webkit-scrollbar-thumb:hover {
    background: #60a5fa;
}

/* News Item Styles */
.news-item {
    background: #1e2024;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: default;
}

.news-item:hover {
    background: #252930;
    border-color: rgba(59, 130, 246, 0.3);
}

.news-item h3 {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-item h3 a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.news-item h3 a:hover {
    color: #60a5fa;
}

.news-item p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #64748b;
}

.news-meta .source {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.news-meta .date {
    color: #94a3b8;
    font-size: 12px;
}

/* News Container Header */
.news-container h2 {
    color: #e2e8f0;
    margin: -15px -15px 15px -15px;
    padding: 15px;
    background: #282A2F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    border-radius: 12px 12px 0 0;
    user-select: none;
    touch-action: none;
}

/* Close button style */
.news-container .close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.news-container .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.news-container .close-btn svg {
    width: 20px;
    height: 20px;
}

/* Remove auto tag */
.news-meta .auto-tag {
    display: none;
}

/* Attack Details Styles */
.attack-details {
    background: #252930;
    border-radius: 8px;
    padding: 14px;
    margin: 12px 0;
    border-left: 3px solid #3b82f6;
}

.attack-details div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.attack-details div:last-child {
    margin-bottom: 0;
}

/* Casualties and Weapon Info Styles */
.casualties, .weapon-info {
    background: #252930;
    border-radius: 8px;
    padding: 14px;
    margin: 12px 0;
    color: #94a3b8;
    font-size: 13px;
    border-left: 3px solid #10b981;
}

.weapon-info {
    border-left-color: #8b5cf6;
}

.casualties div, .weapon-info {
    display: flex;
    gap: 15px;
}

.casualties div span {
    color: #10b981;
    font-weight: 500;
}

/* Animation for new items */
@keyframes newsItemAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    animation: newsItemAppear 0.5s ease forwards;
}

/* Empty state styling */
.news-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.news-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #3b82f6;
}

.news-empty-state p {
    font-size: 16px;
    color: #94a3b8;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    color: #333;
    margin-bottom: 10px;
}

/* Marker Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.leaflet-marker-icon.pulsing {
    animation: pulse 1.5s infinite;
}

/* Custom Tooltip Style */
.custom-tooltip {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    color: white;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.custom-tooltip .leaflet-tooltip-tip {
    display: none;
}

.marker-tooltip {
    text-align: center;
}

.marker-tooltip strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.marker-tooltip .coordinates {
    font-size: 11px;
    opacity: 0.9;
}

/* Modern Incident Popup Style */
.incident-popup {
    background: #1e2024;
    border-radius: 8px;
    overflow: hidden;
}

.incident-popup .leaflet-popup-content-wrapper {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.incident-popup .leaflet-popup-content {
    margin: 0;
    width: 100% !important;
    padding: 0;
}

.incident-header {
    padding: 16px;
    background: #1e2024;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.incident-header h3 {
    color: white;
    font-size: 0.95em;
    margin: 0;
    padding: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.incident-body {
    padding: 12px;
    background: white;
}

.target-info {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.target-info .label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.target-info .value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Military facility indicator */
.specific-target[data-type="military"] {
    border-left-color: #f44336;
}

/* Nuclear facility indicator */
.specific-target[data-type="nuclear"] {
    border-left-color: #ff9800;
}

/* Civilian area indicator */
.specific-target[data-type="civilian"] {
    border-left-color: #4CAF50;
}

/* Infrastructure indicator */
.specific-target[data-type="infrastructure"] {
    border-left-color: #9c27b0;
}

.attack-stats {
    margin: 0 0 12px 0;
}

.stat-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-box .label {
    font-size: 0.7em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.stat-box .value {
    font-size: 0.95em;
    color: #e74c3c;
    font-weight: 600;
}

.weapon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 12px 0;
}

.weapon-tag {
    background: #e2e3e5;
    color: #383d41;
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 500;
    transition: all 0.2s ease;
}

.weapon-tag:hover {
    background: #d6d8db;
    transform: translateY(-1px);
}

.weapon-details,
.impact-radius {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
}

.weapon-details .label,
.impact-radius .label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weapon-details .value,
.impact-radius .value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.custom-popup.dark-mode .weapon-details,
.custom-popup.dark-mode .impact-radius {
    background: #252d3b;
}

.custom-popup.dark-mode .weapon-details .label,
.custom-popup.dark-mode .impact-radius .label {
    color: #94a3b8;
}

.custom-popup.dark-mode .weapon-details .value,
.custom-popup.dark-mode .impact-radius .value {
    color: #e2e8f0;
}

.popup-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.edit-button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.edit-button:hover {
    background-color: #1d4ed8;
}

.custom-popup.dark-mode .edit-button {
    background-color: #3b82f6;
}

.custom-popup.dark-mode .edit-button:hover {
    background-color: #2563eb;
}

.incident-footer {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 0 0 6px 6px;
    border-top: 1px solid #eee;
}

.incident-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.75em;
}

.incident-meta .coordinates {
    font-family: monospace;
    background: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.85em;
}

.incident-meta .timestamp {
    font-weight: 500;
}

.incident-popup .leaflet-popup-tip {
    background: #e74c3c;
}

/* Remove all button related styles */
.refresh-button,
.clear-button,
.delete-button,
.button-group {
    display: none;
}

/* Data Entry Form Styles */
.data-entry-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
}

.data-entry-form h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group.half {
    flex: 0.5;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #2a2a2a;
    color: #fff;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.submit-button,
.cancel-button {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.submit-button {
    background: #4a90e2;
    color: white;
}

.submit-button:hover {
    background: #357abd;
}

.cancel-button {
    background: #666;
    color: white;
}

.cancel-button:hover {
    background: #555;
}

/* Multiple select styling */
.form-group select[multiple] {
    height: 150px;
    padding: 8px;
    background: #2a2a2a;
}

.form-group select[multiple] option {
    padding: 8px;
    margin: 2px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.form-group select[multiple] option:checked {
    background: #4a90e2 !important;
    color: white;
}

.form-group select[multiple] option:hover {
    background: #333;
}

/* Datalist styling */
input[list] {
    width: 100%;
    padding: 8px;
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
}

input[list]:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Specific target input styling */
#specific-target {
    width: 100%;
    padding: 8px;
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
}

#specific-target:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Detailed weapon input styling */
#detailed-weapon {
    width: 100%;
    padding: 8px;
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
}

#detailed-weapon:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Add some spacing between form sections */
.form-row + .form-row {
    margin-top: 10px;
}

/* Style for required fields */
.form-group input:required,
.form-group select:required,
.form-group textarea:required {
    border-left: 3px solid #4a90e2;
}

/* Error state */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e24a4a;
}

/* Success message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1001;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Autocomplete Styles */
.autoComplete_wrapper {
    width: 100%;
    position: relative;
}

.autoComplete_result {
    padding: 8px 12px;
    cursor: pointer;
}

.autoComplete_result:hover {
    background-color: #f5f5f5;
}

.autoComplete_highlighted {
    color: #2196F3;
    font-weight: bold;
}

.form-group select.multi-select {
    height: auto;
    min-height: 120px;
    padding: 8px;
}

.form-group select.multi-select option {
    padding: 8px;
    margin: 2px 0;
    border-radius: 4px;
}

.form-group select.multi-select option:checked {
    background-color: #4CAF50;
    color: white;
}

.form-group select.multi-select option:hover {
    background-color: #e8f5e9;
}

#target-location {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#target-location:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.specific-target {
    margin-top: 8px;
    padding: 6px 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    border-left: 3px solid #2196F3;
}

/* Dark Mode Popup Styles */
.custom-popup.dark-mode {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    color: #e2e8f0;
    background: #1a1a1a !important;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 0;
    max-width: 250px !important;
}

.custom-popup.dark-mode .mapboxgl-popup-content {
    background: #1e2024;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: 300px;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-popup.dark-mode .mapboxgl-popup-close-button {
    color: #94a3b8;
    font-size: 16px;
    padding: 2px 6px;
    right: 2px;
    top: 2px;
    background: transparent;
    border: none;
    z-index: 2;
}

.custom-popup.dark-mode .mapboxgl-popup-close-button:hover {
    color: #e2e8f0;
    background: transparent;
}

.custom-popup.dark-mode .incident-header {
    margin-bottom: 6px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 4px;
    background: #1a1a1a;
}

.custom-popup.dark-mode .incident-header h3 {
    margin: 0 0 2px 0;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
}

.custom-popup.dark-mode .incident-header .date {
    font-size: 11px;
    color: #94a3b8;
}

.custom-popup.dark-mode .incident-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #1a1a1a;
}

.custom-popup.dark-mode .target-info,
.custom-popup.dark-mode .weapon-info,
.custom-popup.dark-mode .casualties-info,
.custom-popup.dark-mode .impact-info,
.custom-popup.dark-mode .coordinates-info {
    padding: 4px;
    background: #1e293b;
    border-radius: 4px;
    margin: 0;
}

.custom-popup.dark-mode .label {
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 1px;
    font-weight: 500;
}

.custom-popup.dark-mode .value {
    font-size: 11px;
    color: #e2e8f0;
    font-weight: 500;
}

/* Weapon Types Section */
.custom-popup.dark-mode .weapon-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.custom-popup.dark-mode .weapon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin: 0;
}

.custom-popup.dark-mode .weapon-tag {
    background: #2563eb;
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.custom-popup.dark-mode .detailed-weapon {
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px solid #2d3748;
    font-size: 10px;
    color: #94a3b8;
}

.custom-popup.dark-mode .detailed-weapon .value {
    color: #60a5fa;
    font-size: 10px;
}

/* Casualties Grid */
.custom-popup.dark-mode .casualties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin: 0;
}

.custom-popup.dark-mode .casualties-grid .stat-box {
    background: #1a1a1a;
    padding: 3px;
    border-radius: 3px;
    text-align: center;
}

.custom-popup.dark-mode .casualties-grid .stat-box .label {
    margin-bottom: 1px;
    font-size: 9px;
}

.custom-popup.dark-mode .casualties-grid .stat-box .value {
    color: #3b82f6;
    font-size: 11px;
    font-weight: 600;
}

.custom-popup.dark-mode .coordinates-info .value {
    font-family: 'Courier New', monospace;
    font-size: 10px;
}

/* Popup arrow */
.custom-popup.dark-mode .mapboxgl-popup-tip {
    display: none;
}

/* Override any Mapbox default styles */
.mapboxgl-popup {
    transform-origin: 50% 50% !important;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-center .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip {
    display: none !important;
}

/* Mapbox specific overrides */
.mapboxgl-popup-content {
    padding: 0 !important;
    background: transparent !important;
}

.mapboxgl-popup-tip {
    display: none !important;
}

/* Impact Radius Circle Animation */
@keyframes pulse-circle {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.1;
    }
}

.mapboxgl-canvas-container canvas {
    transition: all 0.3s ease;
}

/* Custom Popup Styles */
.mapboxgl-popup {
    max-width: 300px !important;
}

.mapboxgl-popup-content {
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Impact Radius Info in Popup */
.impact-radius {
    padding: 8px 12px;
    background: rgba(255, 68, 68, 0.1);
    border-left: 3px solid #ff4444;
    margin: 8px 0;
}

.impact-radius .label {
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 4px;
}

.impact-radius .value {
    color: #666;
}

/* Marker and Animation Styles */
.mapboxgl-marker {
    will-change: transform;
}

.marker-container {
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: all;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    will-change: transform, width, height;
}

.custom-marker {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-icon {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(0);
}

.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background-color: transparent;
}

.ripple-1 {
    animation: ripple-core 2s infinite;
}

.ripple-2 {
    animation: ripple-core 2s infinite;
    animation-delay: 0.6s;
}

@keyframes ripple-core {
    0% {
        box-shadow: 0 0 0 0 var(--ripple-color);
        opacity: 0.4;
    }
    70% {
        box-shadow: 0 0 0 20px var(--ripple-color);
        opacity: 0;
    }
    100% {
        box-shadow: 0 0 0 0 var(--ripple-color);
        opacity: 0;
    }
}

/* Impact radius styles */
.impact-radius {
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
}

/* Radius category indicators */
.radius-900 { background-color: rgba(255, 0, 0, 0.1); border-left: 3px solid #FF0000; }
.radius-800 { background-color: rgba(255, 69, 0, 0.1); border-left: 3px solid #FF4500; }
.radius-700 { background-color: rgba(255, 107, 0, 0.1); border-left: 3px solid #FF6B00; }
.radius-600 { background-color: rgba(255, 140, 0, 0.1); border-left: 3px solid #FF8C00; }
.radius-500 { background-color: rgba(255, 165, 0, 0.1); border-left: 3px solid #FFA500; }

/* Impact Radius Pulse Animation */
@keyframes impact-pulse {
    0% {
        stroke-width: 2;
        stroke-opacity: 0.3;
    }
    50% {
        stroke-width: 3;
        stroke-opacity: 0.5;
    }
    100% {
        stroke-width: 2;
        stroke-opacity: 0.3;
    }
}

/* When navbar is expanded, adjust news container position */
.side-navbar.expanded + .container .news-container {
    left: 180px;
}

/* Adjust news container transition */
.side-navbar.expanded ~ .container .news-container {
    transition: transform 0.3s ease, left 0.3s ease;
}

/* When navbar is expanded, adjust container margin */
.side-navbar.expanded + .container {
    margin-left: 180px;
}

/* Adjust container transition */
.container {
    transition: margin-left 0.3s ease;
}

/* Info Container */
.info-container {
    position: fixed !important;
    top: 20px;
    left: 60px;
    height: 60vh;
    width: 280px;
    background: #282A2F;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    transform: none !important;
    transition: none !important;
    visibility: hidden !important;
}

/* Show state */
.info-container.show {
    display: block !important;
    visibility: visible !important;
}

/* When being dragged */
.info-container.dragging {
    opacity: 0.9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    cursor: move !important;
}

/* Info Container Header */
.info-container h2 {
    color: #e2e8f0;
    margin: -15px -15px 15px -15px;
    padding: 15px;
    background: #282A2F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    border-radius: 12px 12px 0 0;
    user-select: none;
    touch-action: none;
}

/* Close button style */
.info-container .close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.info-container .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.info-container .close-btn svg {
    width: 20px;
    height: 20px;
}

/* Info Content */
.info-content {
    height: calc(100% - 65px);
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
    cursor: default;
}

/* Info Content Scrollbar */
.info-content::-webkit-scrollbar {
    width: 6px;
}

.info-content::-webkit-scrollbar-track {
    background: #1a1f2e;
    border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb:hover {
    background: #60a5fa;
}

/* Info Card Styles */
.info-card {
    background: #1e2024;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h3 {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stat-row .label {
    color: #94a3b8;
    font-size: 13px;
}

.stat-row .value {
    color: #60a5fa;
    font-size: 16px;
    font-weight: 600;
}

/* Cities List Styles */
.cities-list {
    margin-top: 15px;
}

.cities-list h4 {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
}

.cities-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cities-list li {
    background: #252930;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.cities-list li:hover {
    background: #2d3340;
    border-color: rgba(59, 130, 246, 0.3);
}

.cities-list .city-name {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.cities-list .attack-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cities-list .attack-date {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
}

/* Stat Cards */
.stat-card {
    background: #252d3b;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    color: #e2e8f0;
    font-size: 16px;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #60a5fa;
    margin-bottom: 15px;
}

.stat-chart {
    width: 100%;
    height: 200px;
    margin-top: 10px;
}

/* Specific card styles */
.total-incidents {
    grid-column: span 2;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.total-incidents .stat-value {
    color: #ffffff;
    font-size: 48px;
    text-align: center;
}

/* Remove all statistics-related styles */
.stats-grid,
.stat-card,
.stat-value,
.stat-chart {
    display: none;
}

/* Refresh button styles */
#refresh-news-link .icon {
    transition: transform 0.3s ease;
}

#refresh-news-link.refreshing .icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Processing status styles */
.processing-status {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.processing-status:not(:empty) {
    opacity: 1;
}

/* Settings Container */
.settings-container {
    position: fixed !important;
    top: 20px;
    left: 60px;
    height: 60vh;
    width: 280px;
    background: #282A2F;
    padding: 15px;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    transform: none !important;
    transition: none !important;
}

.settings-container.show {
    display: block;
}

.settings-container h2 {
    color: #e2e8f0;
    margin: -15px -15px 15px -15px;
    padding: 15px;
    background: #282A2F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    border-radius: 12px 12px 0 0 !important;
    user-select: none;
    touch-action: none;
    position: relative;
    padding-right: 50px !important;
}

.settings-content {
    height: calc(100% - 65px);
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
    cursor: default;
}

/* Settings Content Scrollbar */
.settings-content::-webkit-scrollbar {
    width: 6px;
}

.settings-content::-webkit-scrollbar-track {
    background: #1a1f2e;
    border-radius: 3px;
}

.settings-content::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

.settings-content::-webkit-scrollbar-thumb:hover {
    background: #60a5fa;
}

/* Filter Section Styles */
.filter-section {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-section h3 {
    color: #e2e8f0;
    font-size: 18px;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    color: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-option input[type="checkbox"] {
    display: none;
}

.filter-option .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #94a3b8;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.filter-option .checkmark:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border-radius: 2px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
    border-color: #3b82f6;
}

.filter-option input[type="checkbox"]:checked + .checkmark:after {
    opacity: 1;
    transform: scale(1);
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.filter-button {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #3b82f6;
    color: white;
}

.filter-button:hover {
    background: #2563eb;
}

#clear-all-filters {
    background: #4b5563;
}

#clear-all-filters:hover {
    background: #374151;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    body {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        background-color: #282A2F;
    }

    /* Hide the side navbar on mobile */
    .side-navbar {
        display: none;
    }

    /* Reset container margin and ensure full viewport coverage */
    .container {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
    }

    /* Ensure map covers full viewport on mobile */
    #map {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    /* Adjust body and html for mobile */
    body, html {
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
        position: fixed;
    }

    /* Mobile Navigation Buttons */
    .mobile-nav {
        display: none;
    }

    /* Show mobile navigation only on mobile devices */
    @media screen and (max-width: 768px) {
    .mobile-nav {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }

    .mobile-nav a {
        width: 45px;
        height: 45px;
        background: #282A2F;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Removing hover and active states */
    .mobile-nav .icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav .icon svg {
        width: 20px;
        height: 20px;
        stroke-width: 1.75;
    }

    /* Removing all hover and active states for mobile nav */
    .mobile-nav a:hover .icon svg,
    .mobile-nav a:active .icon svg {
        stroke: #94a3b8;
    }
    }

    /* Adjust containers for mobile */
    .news-container,
    .info-container,
    .settings-container {
        position: fixed !important;
        left: 0 !important;
        width: 100% !important;
        height: 80vh !important;
        top: auto !important;
        bottom: 0;
        border-radius: 20px 20px 0 0 !important;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
        display: none;
        visibility: hidden;
        opacity: 0;
        overflow: hidden;
        background: #282A2F;
        z-index: 9999;
    }

    .news-container.show,
    .info-container.show,
    .settings-container.show {
        transform: translateY(0);
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Panel Headers */
    .news-container h2,
    .info-container h2,
    .settings-container h2 {
        position: relative;
        padding: 20px 15px !important;
        margin: 0 !important;
        background: #282A2F !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 20px 20px 0 0;
        cursor: grab;
        touch-action: none;
    }

    /* Drag Handle */
    .news-container h2::before,
    .info-container h2::before,
    .settings-container h2::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 8px;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
    }

    /* Panel Content */
    .news-container #auto-news-feed,
    .info-container .info-content,
    .settings-container .settings-content {
        height: calc(100% - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px;
        position: relative;
        z-index: 1;
    }

    /* Prevent body scroll when panel is open */
    body.panel-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Ensure content is scrollable but panel stays fixed */
    .news-container.show #auto-news-feed,
    .info-container.show .info-content,
    .settings-container.show .settings-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
}

/* News Detail Modal */
.news-detail-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: #1e2024;
    border-radius: 12px;
    z-index: 10000;
    padding: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-detail-modal.show {
    display: block;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal-header h2 {
    color: #e2e8f0;
    font-size: 20px;
    margin: 0;
    padding-right: 40px;
}

.modal-content {
    padding: 20px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.modal-content p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.view-source-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.view-source-btn:hover {
    background: #2563eb;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    }

.modal-overlay.show {
    display: block;
}

.news-meta-detail {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-meta-detail span {
    display: inline-block;
    margin-right: 15px;
    color: #94a3b8;
    font-size: 13px;
}

.news-meta-detail .source {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.location-details {
    background: #252930;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.location-details h3 {
    color: #e2e8f0;
    font-size: 16px;
    margin-bottom: 10px;
}

.location-details p {
    margin-bottom: 8px;
    font-size: 13px;
}

.location-details .label {
    color: #60a5fa;
    font-weight: 500;
    margin-right: 8px;
}

/* Settings Container Close Button */
    .settings-container .close-btn {
        position: absolute;
    right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
    color: #94a3b8;
        cursor: pointer;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: all 0.2s ease;
        z-index: 10;
    }

    .settings-container .close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #e2e8f0;
    }

    .settings-container .close-btn svg {
        width: 20px;
        height: 20px;
    }

/* Ensure settings container header has proper positioning */
.settings-container h2 {
    position: relative;
    padding-right: 50px !important;
}

/* Update icon styles for more modern look */
.side-navbar .icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
    transition: all 0.2s ease;
}

.side-navbar a:hover .icon svg {
    stroke: #3b82f6;
    transform: scale(1.1);
}

/* Mobile nav icon updates */
.mobile-nav .icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

/* Remove hover and active states for mobile nav */
.mobile-nav a {
    width: 45px;
    height: 45px;
    background: #282A2F;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Removing all hover and active states */
.mobile-nav a:hover .icon svg,
.mobile-nav a:active .icon svg,
.mobile-nav a:hover,
.mobile-nav a:active {
    stroke: #94a3b8;
    background: #282A2F;
    color: #94a3b8;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

@media screen and (max-width: 768px) {
    body {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        background-color: #282A2F;
    }

    /* Hide the side navbar on mobile */
    .side-navbar {
        display: none;
    }

    /* Show mobile navigation */
    .mobile-nav {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }

    .mobile-nav a {
        width: 45px;
        height: 45px;
        background: #282A2F;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Removing hover and active states */
    .mobile-nav .icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav .icon svg {
        width: 20px;
        height: 20px;
        stroke-width: 1.75;
    }

    /* Removing all hover and active states for mobile nav */
    .mobile-nav a:hover .icon svg,
    .mobile-nav a:active .icon svg {
        stroke: #94a3b8;
    }
}

/* Marker Hover Popup */
.marker-hover-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
    margin-bottom: 8px;
}

.marker-hover-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.hover-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hover-city {
    font-weight: 600;
    font-size: 14px;
}

.hover-date {
    font-size: 12px;
    opacity: 0.8;
}

/* Media query for desktop */
@media screen and (min-width: 769px) {
    .container {
        margin-left: 48px;
        width: calc(100% - 48px);
    }
    
    .side-navbar.expanded + .container {
        margin-left: 240px;
        width: calc(100% - 240px);
    }

    #map {
        left: 0;
    }
}

/* Media query for mobile */
@media screen and (max-width: 768px) {
    .container {
        margin-left: 0;
        width: 100%;
    }
    
    .side-navbar.expanded + .container {
        margin-left: 0;
        width: 100%;
    }
}

/* Map Style Section Styles */
.map-style-section {
    margin-top: 24px;
    padding: 20px;
    background: #1e2024;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-style-section h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #e2e8f0;
    font-weight: 600;
}

.style-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.style-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    background: #252930;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.style-option:hover {
    background: #2d3340;
    border-color: rgba(59, 130, 246, 0.3);
}

.style-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4a5568;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.style-option input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
}

.style-option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.style-label {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

/* View Mode Styles */
.view-mode-title {
    margin: 24px 0 16px 0 !important;
    font-size: 16px;
    color: #e2e8f0;
    font-weight: 600;
}

.view-mode-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #1e2024;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #252930;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-option:hover {
    background: #2d3340;
    border-color: rgba(59, 130, 246, 0.3);
}

.view-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.view-label svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
}

.view-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4a5568;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.view-option input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
}

.view-option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.view-option input[type="radio"]:checked + .view-label svg {
    color: #3b82f6;
} 