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

:root {
    --primary-red: #dc2626;
    --dark-red: #991b1b;
    --danger-color: #dc2626;
    --warning-color: #f59e0b;
    --success-color: #059669;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-metallic: linear-gradient(to bottom, #f1f5f9 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.15);
    --bg-glass-dark: rgba(255, 255, 255, 0.1);
    --bg-menu: #374151;
    --border-color: rgba(255, 255, 255, 0.2);
    --border-metallic: rgba(148, 163, 184, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-lg: 0 15px 35px rgba(31, 38, 135, 0.2);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    --metallic-shine: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-metallic);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(156, 163, 175, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-red), var(--dark-red));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--dark-red), #7f1d1d);
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--text-white);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-metallic);
    z-index: 1;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--metallic-shine);
    opacity: 0.1;
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.header-text h1 {
    font-size: 2.5rem;
    font-weight: 7000;
    margin-bottom: 0.15rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.header-text p {
    opacity: 0.9;
    font-size: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hamburger-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10000;
}

.hamburger-menu:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    margin: 2px 0;
    border-radius: 2px;
    transition: 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Menu dropdown */
.menu-dropdown {
    position: absolute;
    top: calc(100% + 28px);
    right: -17px;
    background: var(--bg-menu);
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    width: 250px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.menu-item:first-child {
    border-radius: 6px 6px 0 0;
}

.menu-item:last-child {
    border-radius: 0 0 6px 6px;
}

/* CONTAINER */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
}
	.weather-model-info {
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.weather-model-name {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}
/* LOCATION BAR */
.location-bar {
    background: var(--bg-white);
    border-radius: 6px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-metallic);
    position: relative;
    overflow: hidden;
}

.location-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--metallic-shine);
    transition: left 0.5s ease;
}

.location-bar:hover::before {
    left: 100%;
}

.location-bar:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.3);
}

.location-info {
    flex: 1;
}

.location-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.location-details {
    font-size: 0.85rem;
    color: var(--text-light);
}

.edit-icon {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-bar:hover .edit-icon {
    transform: rotate(90deg);
}

/* DESKTOP CONTENT LAYOUT */
.content-layout {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
}

.main-content {
    flex: 4;
    min-width: 0;
    background: var(--bg-white);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-metallic);
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--metallic-shine);
    opacity: 0.05;
    pointer-events: none;
    border-radius: 6px;
}

/* WEATHER DASHBOARD - DESKTOP */
.weather-dashboard {
    flex: 1;
    max-width: 300px;
    min-width: 280px;
    background: var(--bg-white);
    border-radius: 6px;
    padding: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-metallic);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.weather-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--metallic-shine);
    opacity: 0.05;
    pointer-events: none;
    border-radius: 6px;
}

.dashboard-header {
    margin-bottom: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.dashboard-header h3 {
    color: var(--text-dark);
    margin: 0 0 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.time-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.time-slider {
    width: 120px;
    height: 3px;
    border-radius: 2px;
    background: var(--bg-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.time-slider::-webkit-slider-track {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--bg-light);
    border: 1px solid var(--border-metallic);
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
    transition: all 0.2s ease;
    border: 1px solid white;
}

.time-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.time-display {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.8rem;
    min-width: 35px;
    text-align: center;
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    border: 1px solid var(--border-metallic);
    font-family: monospace;
}

.weather-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    flex: 1;
    align-content: start;
}

.weather-card {
    background: var(--bg-white);
    border-radius: 4px;
    padding: 0.6rem;
    border: 1px solid var(--border-metallic);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 60px;
}

.weather-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.4s ease;
}

.weather-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: rgba(220, 38, 38, 0.2);
}

.weather-card:hover::before {
    left: 100%;
}

.card-icon {
    font-size: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border-metallic);
}

.card-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.card-title {
    font-size: 0.6rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtitle {
    font-size: 0.6rem;
    color: var(--text-light);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status color variants */
.weather-card.status-excellent {
    border-left: 3px solid #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.weather-card.status-good {
    border-left: 3px solid var(--success-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.weather-card.status-fair {
    border-left: 3px solid #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.weather-card.status-warning {
    border-left: 3px solid var(--warning-color);
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.weather-card.status-danger {
    border-left: 3px solid var(--danger-color);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

/* DATE NAVIGATION */
.date-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.date-nav button {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-metallic);
    background: var(--bg-white);
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 0.85rem;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.date-nav button:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.date-display {
    font-weight: 700;
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-metallic);
    margin: 0 0.5rem;
}

/* STATUS CARD */
.status-card {
    border-radius: 6px;
    padding: 0.5rem;
    width: 98%;
    margin: 0 auto 0.1rem auto;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.status-card.warning {
    background: var(--warning-color);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.status-card.danger {
    background: var(--danger-color);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.status-card.safe {
    background: var(--success-color);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

/* CHART */
.chart-container {
    position: relative;
    height: 420px;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    flex: none;
}

.legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.legend-color {
    width: 16px;
    height: 3px;
    border-radius: 2px;
}

/* LOADING */
.loading {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.loading.active {
    display: block;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-metallic);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s ease-in-out infinite;
}

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

/* ERROR MESSAGE STYLING */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-white);
    border-radius: 6px;
    border: 1px solid var(--border-metallic);
    margin-bottom: 1rem;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.error-text h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.error-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.error-text p:last-child {
    margin-bottom: 0;
}

/* MODALS AND OVERLAYS */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 6px;
    max-width: 600px;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-metallic);
    position: relative;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--metallic-shine);
    opacity: 0.05;
    pointer-events: none;
    border-radius: 6px;
}

/* COMPACTE MODAL VERSIE */
.modal-compact {
    max-width: 500px;
    width: 90vw;
    max-height: 85vh;
}

.modal-large {
    max-width: 800px;
    width: 95vw;
    max-height: 85vh;
}

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

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-red);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--bg-light);
    color: var(--primary-red);
}

.modal-body {
    padding: 1.5rem;
    color: var(--text-white);
}

/* COMPACTE SETTINGS STYLING */
.quick-locations-section {
    margin-bottom: 1rem;
}

.quick-locations-section label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-size: 0.9rem;
}

.quick-locations {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.quick-location-btn {
    padding: 0.4rem 0.8rem;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-metallic);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-location-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.current-location-section {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.current-location-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.current-location-btn:hover {
    background: linear-gradient(135deg, var(--dark-red), #7f1d1d);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.map-container-compact {
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-metallic);
    margin-bottom: 1rem;
}

.coordinates-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.settings-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group-inline {
    flex: 1;
}

.form-group-inline label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--text-white);
    font-size: 0.85rem;
}

.form-group-inline input,
.form-group-inline select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-metallic);
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group-inline input:focus,
.form-group-inline select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-full {
    width: 100%;
}

/* ORIGINELE FORM GROEPEN VOOR ANDERE MODALS */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-metallic);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* BUTTONS */
.btn {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* ABOUT SECTIONS */
.about-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.about-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.about-section h3 {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.model-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.spec-item {
    background: var(--bg-white);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-red);
    font-size: 0.9rem;
    border: 1px solid var(--border-metallic);
    color: var(--text-dark);
}

.model-info {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.disclaimer-section {
    background: rgba(254, 243, 199, 0.8);
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 1rem;
    border-bottom: 1px solid #f59e0b !important;
}

.disclaimer-section h3 {
    color: #92400e;
}

.disclaimer-section p {
    color: #92400e;
    margin: 0;
}

.about-footer {
    text-align: center;
    padding-top: 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* SAFETY GUIDELINES STYLES */
.safety-container,
.windscale-container {
    max-width: 100%;
}

.safety-section,
.windscale-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 6px;
    border-left: 4px solid var(--primary-red);
    border: 1px solid var(--border-metallic);
    box-shadow: var(--shadow);
    color: var(--text-dark);
}

.safety-section h3,
.windscale-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.safety-section h4,
.windscale-section h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

.safety-section h5 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Special section styling */
.intro-section {
    border-left-color: var(--success-color);
    background: #f0fdf4;
}

.wind-advice-section {
    border-left-color: var(--warning-color);
    background: #fef3c7;
    color: var(--text-dark);
}

.situational-section {
    border-left-color: var(--primary-red);
}

.responsibilities-section {
    border-left-color: #8b5cf6;
    background: #faf5ff;
}

.liability-section {
    border-left-color: var(--danger-color);
    background: #fef2f2;
    color: var(--text-dark);
}

.conclusion-section {
    border-left-color: var(--success-color);
    background: #f0fdf4;
}

/* Text styling */
.intro-text,
.conclusion-text {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.section-intro {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-light);
}

/* Factors grid */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.factor-category {
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-metallic);
    color: var(--text-dark);
}

/* Roles container */
.roles-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.responsibility-role {
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow);
    border-left: 3px solid #8b5cf6;
    border: 1px solid var(--border-metallic);
    color: var(--text-dark);
}

/* Existing styles */
.info-section,
.risk-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-metallic);
}

.info-section ul,
.risk-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Beaufort table styles */
.table-container {
    overflow-x: auto;
    margin: 1rem 0;
}

.beaufort-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-metallic);
}

.beaufort-table th,
.beaufort-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.beaufort-table th {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.beaufort-table td {
    font-size: 0.85rem;
    vertical-align: middle;
    color: var(--text-dark);
}

.beaufort-table tr:last-child td {
    border-bottom: none;
}

/* Rules sections */
.rules-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-metallic);
}

.rules-section ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.rules-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Emergency section */
.emergency-section {
    background: #fef2f2;
    border-left-color: var(--danger-color);
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.emergency-item {
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow);
    border-left: 3px solid var(--danger-color);
    border: 1px solid var(--border-metallic);
}

.emergency-item strong {
    display: block;
    color: var(--danger-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.emergency-item p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.4;
}

.emergency-item a {
    color: var(--primary-red);
    text-decoration: none;
}

.emergency-item a:hover {
    text-decoration: underline;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    .logo {
    width: 40px;
    height: 40px;
   
    font-size: 24px;
    
}
    .header-text h1 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0.1rem;
    }
    
    .location-bar {
        padding: 1rem;
        margin-bottom: 0.2rem;
		margin-top: 0.2rem;
	border: 1px solid black;
    }
    
    .content-layout {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .content-layout .main-content,
    .weather-dashboard {
        flex: none;
        max-width: none;
        width: 100%;
		border: 1px solid black;
    }
    
    .main-content {
        padding: 0.5rem;
    }
    
    .weather-dashboard {
        padding: 1rem;
        max-height: none;
    }
    
    .weather-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .weather-card {
        padding: 0.7rem;
        gap: 0.5rem;
        min-height: 65px;
    }
    
    .status-card {
        padding: 0.5rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .card-icon {
        font-size: 1.1rem;
        width: 28px;
        height: 28px;
    }
    
    .card-value {
        font-size: 1rem;
    }
    
    .card-title,
    .card-subtitle {
        font-size: 0.65rem;
    }
    
    .date-nav {
        gap: 0.1rem;
    }
    
    .date-display {
        font-size: 0.9rem;
        padding: 0.5rem;
        margin: 0 0.1rem;
    }
    
    .chart-container {
        height: 350px;
        padding: 0 0.15rem;
    }
    
    .legend {
        gap: 1rem;
        padding: 0.1rem;
        font-size: 0.8rem;
    }
    
    .time-control {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .time-slider {
        width: 80%;
    }
    
    .modal {
        width: 95vw;
        max-height: 95vh;
    }
    
    .modal-compact {
        width: 95vw;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    

	
    .coordinates-row,
    .settings-row {
        gap: 0.5rem; /* Kleinere gap op mobiel, maar blijf horizontaal */
    }
    
    .form-group-inline label {
        font-size: 0.8rem; /* Kleinere labels op mobiel */
    }
    
    .form-group-inline input,
    .form-group-inline select {
        padding: 0.5rem; /* Kleinere padding op mobiel */
        font-size: 0.8rem;
    }
    
    .quick-locations {
        gap: 0.4rem;
    }
    
    .quick-location-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .map-container-compact {
        height: 150px;
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
    }
    
    .model-specs {
        grid-template-columns: 1fr;
    }
}