/* Algemeen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Zorgt ervoor dat body minstens zo groot is als het scherm */
}
header {
    background-color: rgb(0, 37, 107);
}
.media-object {
    margin-bottom: 0;
}
h1 {
    color: white;
}
h2 {
    font-weight: bold;
    color: rgb(39, 85, 130);
}
h3 {
    color: rgb(39, 85, 130);
}
h4 {
    color: rgb(39, 85, 130);
}
.button {
    background-color: rgb(49, 116, 175);
    border-radius: 4px;
}
.button.hollow {
    color: #1572b0;
    border: 1px solid #1572b0;
}
input {
    border-radius: 4px !important;
}
select {
    border-radius: 4px;
}
.card {
    border-radius: 4px;
}
footer {
    background-color: #002F6C;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
}
footer p {
    margin-top: 1rem;
}
#main {
    flex: 1;
}

/* Homepagina */
#zoekFilter {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: rgb(248, 248, 248);
}
#lijst {
    margin-right: 0 !important;
    margin-top: 1rem;
}
#kaartLijst {
    margin-right: 0;
}
#searchButton {
    border-radius: 0px 4px 4px 0px;
}
#searchBox {
    border-radius: 4px 0px 0px 4px !important;
}
#voiceSearchButton {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 10px 15px;
    height: 39px;
}
.buttonContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
#voiceSearchButton img {
    height: 20px;
    width: auto;
}
#map {
    height: 60vh;
}
.leaflet-marker-icon {
    pointer-events: auto;
    aria-hidden: true;
}


/* Status Pagina */
.status {
    font-weight: bold;
    padding: 0.1rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
}
.status-green { background-color: #0c7c26; color: white; }  /* Geen problemen */
.status-red { background-color: #dc3545; color: white; }     /* Vol of Defect */

/* Bedankt Pagina */
#bedanktPagina {
    height: 100vh;
    display: grid;
    align-items: center;
}

input[type="radio"] {
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
}



/* Aanpassingen voor desktop */
@media (min-width: 1024px) {
    #map {
      height: 100%; /* Op desktops neemt de kaart de volledige ruimte in */
    }
    #kaartLijst {
        flex: 1;
        margin-bottom: 1rem;
    }
  }