/* Wildfire Central - Main Stylesheet */

:root {
    --fire-red: #dc2626;
    --fire-orange: #ea580c;
    --fire-amber: #f59e0b;
    --smoke-gray: #374151;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(58, 65, 83, 0.95);
    --border-color: rgba(248, 113, 113, 0.2);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent-blue: #3b82f6;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1e293b 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(234, 88, 12, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
.header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo i {
    color: var(--fire-red);
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.status-badge-active {
    background: linear-gradient(45deg, var(--success-green), #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 25px
}

.status-badge-closed {
    background: linear-gradient(45deg, var(--fire-orange), var(--fire-red));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 25px
}

.status-badge-active i {
    animation: spin 2s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--fire-orange);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-orange), var(--fire-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.preparedness-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .preparedness-section {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card.wide-card {
    text-align: left;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--fire-orange);
}

.stat-card .icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-card .number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.375rem;
}

.stat-card .label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.nav-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fire-red), var(--fire-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--fire-orange);
}

.nav-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.nav-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.nav-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--fire-orange);
}

/* Interactive Map Styles */
.map-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-amber));
}

.map-container {
    text-align: center;
    padding: 2rem 0;
}

/* Leaflet Map Styles */
#map {
    height: 600px;
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--darker-bg);
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.info-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Override Leaflet popup styles to match theme */
.leaflet-popup-content-wrapper {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-radius: 0.5rem !important;
    border: 1px solid var(--border-color) !important;
}

.leaflet-popup-content {
    color: var(--text-primary) !important;
}

.leaflet-popup-tip {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
}

.popup-link {
    color: var(--fire-orange) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.popup-link:hover {
    color: var(--fire-red) !important;
}

.map-svg {
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    display: block;
}

.region {
    fill: rgba(59, 130, 246, 0.3);
    stroke: var(--border-color);
    stroke-width: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.region:hover {
    fill: rgba(234, 88, 12, 0.6);
    stroke: var(--fire-orange);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(234, 88, 12, 0.4));
}

.region.canada {
    fill: rgba(220, 38, 38, 0.2);
}

.region.canada:hover {
    fill: rgba(220, 38, 38, 0.6);
    stroke: var(--fire-red);
}

.region.usa {
    fill: rgba(59, 130, 246, 0.2);
}

.region.usa:hover {
    fill: rgba(59, 130, 246, 0.6);
    stroke: var(--accent-blue);
}

.region.mexico {
    fill: rgba(16, 185, 129, 0.2);
}

.region.mexico:hover {
    fill: rgba(16, 185, 129, 0.6);
    stroke: var(--success-green);
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.tooltip {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tooltip.visible {
    opacity: 1;
}

/* Tools Section */
.tools-section {
    margin-top: 3rem;
}

#tools-menu {
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#url-form {
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--fire-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--fire-red), var(--fire-orange));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.result-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-green);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--success-green);
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .nav-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        padding: 1rem;
    }

    .map-svg {
        height: 300px;
    }
}

/* Report Page Styles */
.report-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.report-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-amber));
}

.report-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.meta-item i {
    color: var(--fire-orange);
}

.feedback-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.section:hover {
    border-color: var(--fire-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.warning-list {
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid var(--fire-orange);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(234, 88, 12, 0.05);
    border-radius: 0.5rem;
    border-left: 4px solid var(--fire-orange);
}

.warning-list li:last-child {
    margin-bottom: 0;
}

.warning-list li i {
    color: var(--fire-orange);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.image-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 1.5rem 0;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(234, 88, 12, 0.05) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.report-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover .report-image {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-size: 0.875rem;
    z-index: 2;
}

.external-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: var(--fire-orange);
    transform: translateX(2px);
}

.stat-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: var(--fire-orange);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--fire-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wise-status {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.wise-status ul {
    list-style: none;
    padding: 0;
}

.wise-status li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.wise-status li i {
    color: var(--success-green);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.time-highlight {
    color: var(--fire-orange);
    font-weight: 600;
}

.interface-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.interface-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.interface-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.interface-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.interface-card h4 i {
    color: var(--accent-blue);
}

/* Leaflet Layer Control Styling */
.leaflet-control-layers {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-control-layers-expanded {
    padding: 1rem !important;
    min-width: 180px !important;
}

.leaflet-control-layers-toggle {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
}

.leaflet-control-layers-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.leaflet-control-layers label {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    cursor: pointer !important;
}

.leaflet-control-layers label:hover {
    color: var(--text-secondary) !important;
}

.leaflet-control-layers input[type="checkbox"] {
    accent-color: var(--fire-red) !important;
    margin-right: 0.5rem !important;
    transform: scale(1.1) !important;
}

.leaflet-control-layers-separator {
    border-top: 1px solid var(--border-color) !important;
    margin: 0.5rem 0 !important;
}

/* Fire Data Legend Styling */
.fire-legend {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    padding: 1rem !important;
    min-width: 250px !important;
    font-family: 'Inter', sans-serif !important;
}

.legend-content h4 {
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin: 0 0 0.75rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.legend-content h4 i {
    color: var(--accent-blue) !important;
}

.legend-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.8rem !important;
    color: var(--text-secondary) !important;
}

.legend-icon {
    font-size: 1.1rem !important;
    width: 20px !important;
    text-align: center !important;
}

.legend-item strong {
    color: var(--text-primary) !important;
}

.legend-footer {
    margin-top: 0.75rem !important;
    padding-top: 0.5rem !important;
    border-top: 1px solid var(--border-color) !important;
    text-align: center !important;
}

.legend-footer small {
    color: var(--text-secondary) !important;
    font-size: 0.7rem !important;
}

.legend-footer a {
    color: var(--accent-blue) !important;
    text-decoration: none !important;
}

.legend-footer a:hover {
    color: var(--fire-red) !important;
    text-decoration: underline !important;
}

/* Country Modal Styling */
.country-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    color: var(--accent-blue);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    color: var(--warning-yellow);
    margin-bottom: 1rem;
}

.modal-body h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.modal-eta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--warning-yellow);
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

.modal-btn {
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn-primary {
    background: var(--fire-red);
    color: white;
}

.modal-btn-primary:hover {
    background: var(--fire-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modal-body {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* Alerts Section */
.alerts-section {
    margin-bottom: 4rem;
}

.alerts-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.alert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(248, 113, 113, 0.1);
}

.alert-card.info {
    border-left: 4px solid var(--accent-blue);
}

.alert-card.warning {
    border-left: 4px solid var(--warning-yellow);
}

.alert-card.success {
    border-left: 4px solid var(--success-green);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.alert-header i {
    font-size: 1.25rem;
}

.alert-card.info .alert-header i {
    color: var(--accent-blue);
}

.alert-card.warning .alert-header i {
    color: var(--warning-yellow);
}

.alert-card.success .alert-header i {
    color: var(--success-green);
}

.alert-type {
    font-weight: 600;
    color: var(--text-primary);
}

.alert-time {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.alert-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Region Tooltip Styles */
.region-tooltip {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(248, 113, 113, 0.3) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    max-width: 200px !important;
    text-align: center !important;
}

.region-tooltip::before {
    border-top-color: rgba(15, 23, 42, 0.95) !important;
}

/* Leaflet tooltip arrow */
.leaflet-tooltip-top:before {
    border-top-color: rgba(15, 23, 42, 0.95) !important;
}

.leaflet-tooltip-bottom:before {
    border-bottom-color: rgba(15, 23, 42, 0.95) !important;
}

.leaflet-tooltip-left:before {
    border-left-color: rgba(15, 23, 42, 0.95) !important;
}

.leaflet-tooltip-right:before {
    border-right-color: rgba(15, 23, 42, 0.95) !important;
}

/* Park Tooltip Styles */
.park-tooltip {
    background: rgba(5, 46, 22, 0.95) !important;
    border: 1px solid rgba(34, 197, 94, 0.5) !important;
    border-radius: 8px !important;
    color: #dcfce7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 10px 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    min-width: 200px !important;
    max-width: 350px !important;
    width: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
}

.park-tooltip::before {
    border-top-color: rgba(5, 46, 22, 0.95) !important;
}