/* Algemeen */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a; /* Donkere achtergrond */
    color: #e0e0e0; /* Lichte tekst */
    line-height: 1.6;
}

h1 {
    text-align: center;
    color: #ff6b6b; /* Brandweer-achtig rood/oranje */
    margin-bottom: 30px;
    font-weight: 600;
}

a {
    color: #4dabf7; /* Helder blauw voor links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Provincie Filter Form */
#provincieFilterForm {
    background-color: #2c2c2c; /* Iets lichtere donkere achtergrond voor container */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.provincie-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.provincie-selector label {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #444;
    border-radius: 20px; /* Rondere knoppen */
    cursor: pointer;
    background-color: #3a3a3a;
    color: #e0e0e0;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 0.9em;
}

.provincie-selector label:hover {
    background-color: #4a4a4a;
    border-color: #666;
}

.provincie-selector input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #ff6b6b; /* Accentkleur voor checkbox */
}

#provincieFilterForm button[type="submit"] {
    padding: 12px 25px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 20px; /* Rondere knop */
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.2s;
    display: block;
    margin: 10px auto 0 auto; /* Centreren */
}

#provincieFilterForm button[type="submit"]:hover {
    background-color: #e05252;
}

/* Meldingen Styling */
#meldingen {
    margin-top: 20px;
}

.melding {
    background-color: #2c2c2c; /* Donkere card achtergrond */
    border: 1px solid #444; /* Donkere border */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.melding:hover {
    transform: translateY(-3px);
}

.melding h3 {
    margin-top: 0;
    color: #ff8f8f; /* Lichter rood voor titels in cards */
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 10px;
}

.melding p {
    color: #c0c0c0; /* Iets donkerder lichte tekst voor paragraaf */
    margin-bottom: 8px;
    font-size: 0.95em;
}

.melding p.update-info {
    background-color: #3a3a3a; /* Iets lichtere achtergrond voor updates */
    padding: 10px;
    border-left: 3px solid #ff8f8f; /* Accentkleur voor updates */
    border-radius: 0 4px 4px 0;
    margin-top: 10px;
}

.melding p.update-info strong {
    color: #ff8f8f; /* Accentkleur voor 'Update:' label */
}

.melding p.update-info small {
    color: #999;
    margin-left: 5px;
    display: inline-block;
}

.melding p strong {
    color: #d0d0d0; /* Iets lichter voor 'Prioriteit:' */
}

.melding small {
    color: #999;
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
}

.melding-links {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #444; /* Scheidingslijn */
    display: flex;
    gap: 15px; /* Ruimte tussen links */
    flex-wrap: wrap;
}

.melding-links a {
    background-color: #3a3a3a;
    color: #4dabf7;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    transition: background-color 0.2s, color 0.2s;
}

.melding-links a:hover {
    background-color: #4dabf7;
    color: #1a1a1a; /* Donkere tekst op hover */
    text-decoration: none;
}


/* Notification container styling */
#notification-container {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #2c2c2c;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#enable-notifications {
    padding: 10px 20px;
    background-color: #4dabf7;
    color: #1a1a1a;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.2s;
}

#enable-notifications:hover {
    background-color: #3c9ce0;
}

#notification-status {
    margin-top: 10px;
    font-size: 0.9em;
    color: #b0b0b0;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #888;
}

footer a {
    color: #aaa;
}

footer a:hover {
    color: #ccc;
}


/* Media Queries voor responsiveness */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    .provincie-selector label {
        flex-basis: calc(50% - 12px); /* 2 kolommen minus gap */
    }
    .provincie-selector label:first-child { /* 'Alle Provincies' */
        flex-basis: 100%;
    }

    #provincieFilterForm button[type="submit"] {
        width: auto; /* Niet volledige breedte, maar gecentreerd */
        max-width: 250px;
    }

    .melding h3 {
        font-size: 1.15em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6em;
    }
    
    .provincie-selector label {
        flex-basis: 100%; /* 1 kolom op kleinste schermen */
    }

    .melding p {
        font-size: 0.9em;
    }

    .melding small {
        font-size: 0.8em;
    }
    .melding-links a {
        font-size: 0.75em;
        padding: 5px 10px;
    }
}
