body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('../images/achtergrond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
}

header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    background-color: transparent; /* Verwijder de grijze achtergrondkleur */
    position: fixed;
    top: 0;
    right: 0;
}

header .beheer-knop {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;  /* Voeg border-radius toe om de hoeken af te ronden */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Voeg schaduw toe */
}

main {
    text-align: center;
}

main h1 {
    margin-bottom: 20px;
}

.main-knop {
    background-color: #4CAF50; /* Terug naar de originele groene kleur */
    color: white;
    border: none;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    border-radius: 12px; /* Voeg border-radius toe voor afgeronde hoeken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Voeg schaduw toe */
}

.knop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.knop-content img {
    max-height: 187px; /* Pas de hoogte van de afbeelding aan indien nodig */
    margin-bottom: 5px; /* Voeg marge toe tussen de afbeelding en de tekst */
}

.knop-content span {
    display: block;
    text-align: center;
}

/* Footer stijl */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Half-transparante zwarte achtergrond */
    color: white;
    text-align: center;
    padding: 0px 0;
    font-weight: bold;
}

footer a {
    color: #4CAF50; /* Groen voor de link */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Onderstreep de link bij hover */
}

/* Specifieke stijlen voor de inlogpagina */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-box h1 {
    margin-bottom: 20px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-box label,
.login-box input,
.login-box button {
    margin: 5px 0;
}

.login-knop {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

/* Specifieke stijlen voor de aanvraagpagina en hoofdpagina */
.aanvraag-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: auto; /* Sta overflow toe */
    padding-bottom: 80px; /* Voegt ruimte toe voor de footer */
}

.aanvraag-box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px; /* Voeg maximale breedte toe indien nodig */
    width: 100%;
    box-sizing: border-box;
}

.aanvraag-box h1 {
    margin-bottom: 20px;
}

.aanvraag-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aanvraag-box label,
.aanvraag-box input,
.aanvraag-box button {
    margin: 5px 0;
}

.aanvraag-box input,
.aanvraag-box textarea {
    border: 1px solid #ccc;
    border-radius: 5px; /* Maak de hoeken afgerond */
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.aanvraag-knop {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.aanvraag-knop:hover {
    background-color: #45a049;
}

.create-aanvraag-btn {
    background-color: #28a745; /* Groen */
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 10px;
}

.create-aanvraag-btn:hover {
    background-color: #218838; /* Donkerder groen */
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.radio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radio-item label {
    margin-right: 5px;
}

/* Specifieke stijlen voor de beheerderpagina */
.beheer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.beheer-box {
    background-color: white;
    padding: 15px; /*  voeg dit toe */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 95%; /*  voeg dit toe */
    max-width: none; /*  voeg dit toe */
    overflow-x: auto; /* Voeg dit toe */
    margin: 10px; /* Voeg dit toe */
}

.beheer-box h1 {
    margin-bottom: 20px;
}

.beheer-box table {
    width: 100%; /*  voeg dit toe */
    border-collapse: collapse;
    table-layout: auto; /* Voeg dit toe */
}

.beheer-box th, .beheer-box td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    word-break: break-word; /* Voeg dit toe */
}

.beheer-box th {
    background-color: #f4f4f4;
}

.beheer-box tr:nth-child(even) {
    background-color: #f9f9f9;
}

.beheer-box tr:hover {
    background-color: #f1f1f1;
}

.status-select {
    width: 100%;
}

.update-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.update-btn:hover {
    background-color: #218838;
}

.confirmation {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.logout-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
}

.logout-btn:hover {
    background-color: #c82333;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    white-space: nowrap; /* Voeg dit toe */
}

/* Specifieke stijlen voor de statuspagina */
.status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }

.home-knop {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.home-knop:hover {
    background-color: #45a049;
}

.status-box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.status-box h1 {
    margin-bottom: 20px;
}

.status-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-box label,
.status-box input,
.status-box button {
    margin: 5px 0;
}

.status-knop {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.status-box button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.status-box button[type="submit"]:hover {
    background-color: #45a049;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center; /* Tekst centreren in de wrapper */
}

.status-list {
    list-style: none;
    padding: 0;
}

.status-list li {
    margin-bottom: 10px; /* Ruimte tussen de status items */
}

.status-section {
    margin-top: 20px; /* Ruimte boven elke sectie */
    background-color: white; /* Achtergrondkleur toegevoegd */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schaduw toegevoegd */
    text-align: center;
    align-self: stretch; /* Zorg ervoor dat de sectie de volledige breedte inneemt */
}

.status-section p {
    margin-bottom: 10px; /* Ruimte onder de paragrafen */
}

.status-section h2 {
    margin-top: 0;
    font-size: 1.2em;
}

.strikethrough {
    text-decoration: line-through;
    color: grey; /* Optioneel: maak de tekst grijs */
}
