/* --- GENERELT --- */
body { margin: 0; padding: 0; overflow: hidden; font-family: 'Open Sans', Arial, sans-serif; }

/* --- HEADER --- */
header {
    height: 60px; width: 100%; position: fixed; top: 0; left: 0; z-index: 1000;
    background: white; box-sizing: border-box; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: space-between; padding: 0 15px;
}

.nav-left h1 { margin: 0; font-size: 18px; display: flex; align-items: center; }
.header-logo { height: 32px; width: auto; object-fit: contain; margin-right: 10px; vertical-align: middle; }
.site-title { font-weight: 500; color: #333; }
.beta-badge { font-size: 0.6em; color: #ff9800; margin-left: 5px; vertical-align: top; font-weight: bold; }

/* --- MENY & KNAPPER --- */
.nav-links { display: flex; gap: 12px; align-items: center; }
.nav-button {
    background: #f8f9fa; border: 1px solid #ddd; padding: 7px 12px; border-radius: 4px;
    cursor: pointer; font-size: 13px; color: #333; text-decoration: none; display: flex; align-items: center;
    transition: background 0.2s;
}
.nav-button:hover { background: #e2e6ea; }
.nav-icon-btn { 
    background: transparent; border: none; cursor: pointer; color: #444; padding: 8px; 
    display: none; align-items: center; justify-content: center; border-radius: 50%;
}
.mobile-only { display: none !important; }

/* --- SØK PÅ DESKTOP --- */
#search-container { position: relative; width: 320px; transition: all 0.3s ease; z-index: 1100; }
.search-input-wrapper { position: relative; width: 100%; height: 38px; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #666; pointer-events: none; z-index: 2; }
#search-close-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #666; padding: 0; z-index: 2; display: none; }
#search-input { 
    width: 100%; height: 100%; padding-left: 40px !important; padding-right: 40px !important; 
    box-sizing: border-box; border: 1px solid #ccc; border-radius: 20px; outline: none;
    font-size: 14px; transition: border-color 0.2s; -webkit-appearance: none; appearance: none;
}
#search-input:focus { border-color: #007bff; box-shadow: 0 0 0 2px rgba(0,123,255,0.1); }

#search-results { 
    display: none; position: absolute; top: 45px; left: 0; width: 100%; 
    background: white; border: 1px solid #ddd; max-height: 400px; overflow-y: auto; 
    border-radius: 8px; z-index: 1005; box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    box-sizing: border-box; 
}
.search-result-item { 
    padding: 12px 15px; cursor: pointer; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center;
    pointer-events: auto;
}
.search-result-item:hover { background-color: #f8f9fa; }

/* --- KART CONTAINER --- */
#kart { position: absolute; top: 60px; bottom: 0; left: 0; right: 0; width: 100%; z-index: 1; background-color: #e6e6e6; }

/* --- UI PANELER --- */
.map-control-panel { 
    background: white; border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.15); font-size: 13px; color: #333; 
    pointer-events: auto;
}

/* Verktøypanel */
.population-control-container {
    position: absolute; top: 75px; left: 15px; z-index: 20;
    width: 44px; height: 44px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: white; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    box-sizing: border-box;
}
.mobile-panel-icon { font-size: 24px; color: #555; pointer-events: none; }
.population-control-container .panel-content-wrapper { display: none; }

.population-control-container.expanded {
    width: 320px; height: auto; max-height: calc(100vh - 100px);
    padding: 15px; padding-top: 35px; border-radius: 8px;
    align-items: flex-start; justify-content: flex-start;
    cursor: default; overflow-y: auto; overflow-x: hidden;
}
.population-control-container.expanded .mobile-panel-icon { display: none; }
.population-control-container.expanded .panel-content-wrapper { display: block; width: 100%; }

.panel-close-btn { 
    position: absolute; top: 8px; right: 12px; font-size: 24px; 
    cursor: pointer; color: #888; line-height: 1; font-weight: bold; z-index: 10; 
}
.panel-close-btn:hover { color: #333; }

.control-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.info-btn {
    background: transparent; border: none; cursor: pointer; color: #999; 
    padding: 4px; margin-left: 5px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.info-btn:hover { color: #007bff; background-color: rgba(0,123,255,0.05); }

/* Slider & Legend */
.slider-container { margin-top: 5px; padding-bottom: 5px; border-bottom: 1px solid #f0f0f0; }
input[type=range] { width: 100%; margin: 8px 0; cursor: pointer; display: block; accent-color: #007bff; }
.slider-labels { display: flex; justify-content: space-between; gap: 4px; margin-top: 5px; }
.slider-label-btn {
    flex: 1; text-align: center; font-size: 10px; padding: 6px 2px;
    background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px;
    cursor: pointer; color: #555; transition: all 0.2s; user-select: none;
}
.slider-label-btn.active { background-color: #007bff; color: white; border-color: #007bff; font-weight: 600; }
.legend-box { margin-top: 15px; font-size: 11px; line-height: 1.8; background: #fff; padding: 5px; }
.legend-item { display: flex; align-items: center; margin-bottom: 6px; }
.legend-color { width: 18px; height: 18px; margin-right: 10px; border-radius: 3px; opacity: 0.9; border: 1px solid rgba(0,0,0,0.1); }

/* Toggle Switch */
.toggle-switch { position: relative; display: inline-block; width: 36px; height: 20px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider-round { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .3s; border-radius: 34px; }
.slider-round:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
input:checked + .slider-round { background-color: #007bff; }
input:checked + .slider-round:before { transform: translateX(16px); }

/* --- SORA & TEGNEVERKTØY --- */
.draw-tools-container { padding-top: 5px; }
.draw-btn-row { display: flex; gap: 8px; margin-top: 12px; }
.draw-btn { flex: 1; height: 36px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; color: #555; transition: all 0.2s; }
.draw-btn:hover { background: #f0f0f0; }
.draw-btn.active { background: #007bff; color: white; border-color: #007bff; }
.draw-delete-btn { background-color: #dc3545; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; margin-top: 8px; width: 100%; font-weight: 500; }
.draw-delete-btn:hover { background-color: #c82333; }

.sora-inputs { display: flex; flex-direction: column; gap: 6px; background: #f8f9fa; padding: 8px; border-radius: 4px; border: 1px solid #eee; }
.sora-input-group { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.sora-input-group label { display: flex; align-items: center; color: #444; }
.sora-input-group input[type="number"], .sora-input-group select { box-sizing: border-box; width: 70px; padding: 3px; font-size: 11px; border: 1px solid #ccc; border-radius: 3px; }

/* TEGNE POPUP */
.draw-popup-content { min-width: 200px; }
.draw-popup-content h3 { margin: 0 0 5px 0; font-size: 14px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.draw-stats { font-size: 12px; margin-bottom: 10px; color: #333; }
.draw-actions { display: flex; justify-content: space-between; gap: 5px; }
.draw-actions button { flex: 1; padding: 5px; border: 1px solid #ccc; background: #fff; border-radius: 3px; cursor: pointer; font-size: 11px; }
.draw-actions .delete-btn { color: #d9534f; border-color: #d9534f; }

/* --- POPUP BEFOLKNING --- */
.pop-stat-box { text-align: center; background-color: #f8f9fa; border-radius: 6px; padding: 8px; margin-bottom: 5px; border: 1px solid #e9ecef; }
.pop-stat-big { font-size: 16px; font-weight: 700; color: #007bff; line-height: 1.2; margin-bottom: 2px; }
.pop-stat-small { font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- LAGVELGER --- */
.layer-toggle-btn { 
    position: absolute; top: 65px; right: 15px; z-index: 20;
    width: 44px; height: 44px; background: white; border: none; border-radius: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333;
}
.layer-control-container { 
    position: absolute; top: 115px; right: 15px; z-index: 19; width: 260px;
    max-height: calc(100vh - 190px); 
    overflow-y: auto; display: none; padding: 0; 
    border-radius: 8px; overflow-x: hidden; -webkit-overflow-scrolling: touch;
}
.layer-control-container.visible { display: block; }
.layer-group-header { display: flex; align-items: center; padding: 10px 12px; cursor: pointer; user-select: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
.layer-group-header:hover { filter: brightness(98%); }
.group-color-red { background-color: #ffebee; border-left: 4px solid #ef5350; }
.group-color-orange { background-color: #fff3e0; border-left: 4px solid #ffa726; }
.group-color-blue { background-color: #e3f2fd; border-left: 4px solid #42a5f5; }
.layer-group-title-text { font-weight: 600; font-size: 13px; color: #333; flex-grow: 1; margin-left: 5px; }
.layer-group-content { padding: 8px; background: #fff; }
.layer-item { display: flex; align-items: center; margin-bottom: 4px; cursor: pointer; font-size: 13px; padding: 6px; border-radius: 4px; transition: background 0.1s; }
.layer-item:hover { background-color: #f1f3f5; }
.layer-item input { margin-right: 10px; cursor: pointer; }
.layer-icon { font-size: 20px !important; margin-right: 8px; width: 24px; text-align: center; }

/* --- BASEMAPS & KONTROLLER (PC-POSISJONER) --- */
/* Plasserer kartvelger-bilder ved siden av navigasjonsknappene (zoom/kompass) */
.basemap-container { 
    position: absolute; 
    bottom: 30px !important; /* Løftet fra 30px til 60px for å gå klar av tekst */
    right: 65px !important; 
    z-index: 999; 
    display: flex; 
    gap: 10px; 
}
.basemap-item { width: 55px; height: 55px; border-radius: 8px; border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.3); cursor: pointer; background-size: cover; background-position: center; }
.basemap-item.active { border-color: #007bff; box-shadow: 0 0 0 2px #007bff; }

/* MapLibre navigasjonsknapper (zoom/kompass) trygt på høyre flanke */
.maplibregl-ctrl-bottom-right { 
    bottom: 80px !important; /* Løftet fra 30px til 60px for å gå klar av tekst */
    right: 5px !important; 
    z-index: 10; 
} 
.maplibregl-ctrl-group { border-radius: 8px !important; box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important; border: none !important; overflow: hidden; }

/* --- POPUP --- */
.maplibregl-popup-content { padding: 20px; font-size: 14px; max-width: 300px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.popup-title { font-size: 16px; font-weight: 700 !important; color: #1a1a1a; margin: 0 0 5px 0; }
.popup-type { font-size: 13px; color: #555; font-weight: 500; margin-bottom: 5px; display: block; }
.popup-desc { margin-top: 5px; color: #333; line-height: 1.4; display: block; } 
.popup-meta { margin-top: 8px; font-size: 14px; color: #333; line-height: 1.5; }
.popup-meta b { color: #1a1a1a; font-weight: 600; }
.popup-item hr, .popup-desc hr { border: 0; border-top: 1px solid #eee; margin: 10px 0; }
.popup-count-header { font-weight: bold; margin-bottom: 10px; color: #007bff; border-bottom: 2px solid #eee; padding-bottom: 5px; }
.popup-item { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.popup-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

/* --- TABELL --- */
.grid-info-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 13px; color: #333; }
.grid-info-table th { text-align: left; padding: 8px 6px; border: 1px solid #ddd; background-color: #f2f2f2; font-weight: 600; color: #555; font-size: 11px; text-transform: uppercase; }
.grid-info-table td { padding: 8px 6px; border: 1px solid #ddd; vertical-align: middle; }

/* --- MODAL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal-content { background: white; width: 600px; max-width: 90%; max-height: 90vh; padding: 25px; border-radius: 8px; overflow-y: auto; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.modal-close-button { position: absolute; top: 15px; right: 20px; font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer; transition: color 0.2s; }
.modal-close-button:hover { color: #333; }

/* --- MÅLEVERKTØY --- */
.measurement-section { margin-top: 15px; padding-top: 15px; border-top: 1px solid #e9ecef; }
.measurement-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.measurement-header label { font-weight: 500; font-size: 15px; color: #333; cursor: pointer; }
.measure-buttons-container { display: flex; gap: 10px; }
.measure-btn { flex-grow: 1; padding: 8px 12px; font-size: 14px; font-weight: 500; color: #004085; background-color: #cce5ff; border: 1px solid #b8daff; border-radius: 5px; cursor: pointer; text-align: center; transition: background-color 0.2s ease; }
.measure-btn:hover { background-color: #b8daff; }
.measure-btn.active { background-color: #007bff; color: white; border-color: #0056b3; }
.delete-drawings-btn { width: 100%; padding: 8px 12px; font-size: 14px; font-weight: 500; color: #c82333; background-color: #f8d7da; border: 1px solid #f5c6cb; border-radius: 5px; cursor: pointer; text-align: center; transition: background-color 0.2s ease; }
.delete-drawings-btn:hover { background-color: #f1b0b7; }

/* --- INFO-BOKS & KORREKSJONER --- */
.info-boks .info-minimize-btn, .info-boks .info-toggle-icon { display: none; }

/* Endringslogg-spesifikk stil */
#endringslogg-container .change-entry { margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
#endringslogg-container .change-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
#endringslogg-container .change-entry h2 { border-bottom: none; margin-bottom: 10px; font-size: 1.2em; }
#endringslogg-container ul { margin-top: 0; padding-left: 25px; margin-bottom: 0; }
#endringslogg-container li { margin-bottom: 8px; }

/* Opphavsrettstekst (MapLibre, Kartverket etc) */
.maplibregl-ctrl-attrib {
    position: fixed !important; 
    bottom: env(safe-area-inset-bottom, 0px) !important;      
    right: 0 !important;       
    margin: 0 !important;      
    background-color: rgba(255, 255, 255, 0.85) !important; 
    font-size: 9px !important;
    z-index: 9999 !important; 
    max-width: 100vw !important;       
    box-sizing: border-box !important; 
}
/* Tvinger teksten til å alltid vises, uansett om man klikker på kartet */
.maplibregl-ctrl-attrib-inner { 
    display: block !important; 
    white-space: normal !important; 
    padding: 2px 6px !important; 
    text-align: right !important; 
    line-height: 1.2 !important; 
}
.maplibregl-ctrl-attrib-button { display: none !important; }

/* --- DISCLAIMER BOKS (Sjekk alltid NOTAM...) --- */
.disclaimer-box {
    position: fixed !important; 
    bottom: 5px !important; 
    bottom: calc(5px + env(safe-area-inset-bottom, 0px)) !important; 
    left: 10px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    color: #444 !important;
    text-align: left !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    z-index: 999999 !important; 
    pointer-events: auto !important; 
    max-width: 60% !important; 
    border: 1px solid rgba(0,0,0,0.1) !important;
    line-height: 1.4 !important;
    display: inline-block !important; 
    white-space: normal !important; /* Sørger for at teksten KAN dele seg over flere linjer */
    width: auto !important; 
}
.disclaimer-box a { color: #007bff !important; text-decoration: none !important; font-weight: bold !important; }
.disclaimer-box a:hover { text-decoration: underline !important; }

/* --- SORA VERKTØY KNAPPER --- */
#sora-draw-route:hover { background-color: #e3f2fd; }
#sora-draw-route.active { background-color: #e3f2fd; border-color: #007bff; box-shadow: inset 0 0 0 1px #007bff; color: #007bff; }
#sora-draw-inner:hover { background-color: #f0f9f2; }
#sora-draw-inner.active { background-color: #d4edda; border-color: #28a745; box-shadow: inset 0 0 0 1px #28a745; }
#sora-draw-outer:hover { background-color: #fdf5f6; }
#sora-draw-outer.active { background-color: #f8d7da; border-color: #dc3545; box-shadow: inset 0 0 0 1px #dc3545; }


/* =========================================
   MOBIL RESPONSIVITET (Maks 768px)
========================================= */
@media (max-width: 768px) {
    .mobile-only { display: flex !important; }
    header { padding: 0 10px; height: 50px; }
    #kart { top: 50px; }
    .nav-left h1 { font-size: 16px; }
    .header-logo { height: 22px; }
    
    #search-container { 
        display: none; position: fixed; top: 50px; left: 0; width: 100vw; 
        background: white; padding: 10px 15px; box-sizing: border-box !important; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 2000; margin: 0;
    }
    #search-container.active { display: block; }
    .search-input-wrapper { width: 100%; box-sizing: border-box; }
    #search-input { width: 100% !important; box-sizing: border-box !important; }
    
    #search-results { position: fixed; top: 105px; left: 15px; width: calc(100vw - 30px); box-sizing: border-box; max-height: 60vh; }
    
    .nav-links { gap: 5px; }
    .desktop-text { display: none; }
    .mobile-icon { display: block !important; font-size: 22px; }
    .nav-button { padding: 6px; background: transparent; border: none; }
    .nav-icon-btn { display: flex !important; }
    
    .population-control-container { top: 60px; left: 10px; }
    .population-control-container.expanded { 
        width: 320px; max-width: calc(100vw - 20px); max-height: calc(100vh - 120px); 
        overflow-y: auto; -webkit-overflow-scrolling: touch; 
    }
    
    .layer-toggle-btn { top: 60px; right: 10px; width: 44px; height: 44px; z-index: 90; }
    .layer-control-container { top: 110px; right: 10px; width: 250px; max-height: calc(100vh - 130px); z-index: 110; overflow-y: auto; }
    
/* --- MOBILPOSISJONERING I BUNNEN --- */
    .disclaimer-box {
        bottom: calc(35px + env(safe-area-inset-bottom, 0px)) !important; 
        left: 10px !important;
        font-size: 10px !important;
        padding: 6px 10px !important;
        max-width: 180px !important; /* Tvinger boksen til å være smal, slik at teksten MÅ brytes til 2-3 linjer */
    }
    
    .basemap-container {
        bottom: calc(35px + env(safe-area-inset-bottom, 0px)) !important; 
        right: 10px !important; 
        transform: scale(0.8); 
        transform-origin: bottom right;
    }

    .maplibregl-ctrl-bottom-right {
        bottom: calc(125px + env(safe-area-inset-bottom, 0px)) !important; /* NY: Løftet høyere opp! */
        right: 5px !important;
        margin-bottom: 0 !important; 
    }

    .maplibregl-ctrl-bottom-left {
         bottom: calc(35px + env(safe-area-inset-bottom, 0px)) !important;
         margin-bottom: 0 !important;
    }

    /* Styling for minimerbar info-boks (kun mobil) */
    .info-boks { position: relative; transition: all 0.2s ease-in-out; overflow: hidden; box-sizing: border-box; }
    .info-boks-content { transition: opacity 0.1s ease; }
    .info-boks .info-minimize-btn { display: block; position: absolute; top: 2px; right: 5px; font-size: 24px; font-weight: bold; color: #aaa; cursor: pointer; line-height: 1; }
    .info-boks .info-minimize-btn:hover { color: #333; }
    .info-boks.minimized { width: 40px; height: 40px; padding: 0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; background-color: #fff; border: 1px solid #ccc; }
    .info-boks.minimized .info-boks-content, .info-boks.minimized .info-minimize-btn { display: none; }
    .info-boks.minimized .info-toggle-icon { display: block; font-size: 24px; color: #333; }
    .info-boks .info-toggle-icon { display: none; }
    .modal-content { width: 95%; max-height: 85vh; padding: 15px; }
}


/* =========================================================================
   DISCLAIMER MODAL (Ferdig Saksbehandler-versjon)
   ========================================================================= */
#disclaimer-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.75); z-index: 999999; display: flex;
    justify-content: center; align-items: center; backdrop-filter: blur(4px);
}
#disclaimer-modal {
    background: #ffffff; padding: 35px 30px; border-radius: 8px;
    max-width: 550px; width: 90%; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    line-height: 1.6; color: #1e293b; max-height: 90vh; overflow-y: auto;
}
#disclaimer-modal h2 { margin-top: 0; color: #0f172a; font-size: 1.4em; border-bottom: 1px solid #cbd5e1; padding-bottom: 12px; font-weight: 600; }
#disclaimer-modal p { margin: 12px 0; }
#disclaimer-modal ul { margin: 0; padding: 0; list-style: none; }
.zone-list { margin: 15px 0; }
.zone-list li { display: flex; align-items: center; margin-bottom: 12px; }
.zone-list .emoji { font-size: 1.4em; margin-right: 14px; width: 24px; text-align: center; flex-shrink: 0; }
.missing-list { margin: 10px 0 15px 0; }
.missing-list li { display: flex; align-items: center; margin-bottom: 14px; }
.missing-list img { width: 64px; height: 64px; object-fit: cover; aspect-ratio: 1 / 1; margin-right: 18px; flex-shrink: 0; border-radius: 4px; }

@media (max-width: 400px) {
    .missing-list img { width: 48px; height: 48px; margin-right: 12px; }
}

#disclaimer-btn {
    display: block; width: 100%; padding: 14px; margin-top: 25px;
    background-color: #1e293b; color: white; border: none; border-radius: 4px;
    font-size: 1.05em; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease-in-out;
}
#disclaimer-btn:hover { background-color: #334155; }

@media (max-width: 768px) {
    #disclaimer-modal { padding: 20px 15px; font-size: 0.9em; line-height: 1.4; max-height: 85vh; }
    #disclaimer-modal h2 { font-size: 1.25em; padding-bottom: 8px; margin-bottom: 8px; }
    #disclaimer-modal p { margin: 8px 0; }
    .zone-list { margin: 10px 0; }
    .zone-list li { margin-bottom: 8px; }
    .missing-list { margin: 10px 0 10px 0; }
    .missing-list li { margin-bottom: 8px; }
    .missing-list img { width: 36px; height: 36px; margin-right: 12px; }
    #disclaimer-btn { padding: 10px; margin-top: 15px; font-size: 1em; }
}

@media (max-width: 400px) {
    #disclaimer-modal { padding: 15px 12px; font-size: 0.85em; }
    .missing-list img { width: 32px; height: 32px; }
}

