/* Algemene opmaak voor de hele pagina */
body {
    margin: 0;
    padding: 0;
    background-color: #edf2f7; /* Lichte grijsblauwe achtergrond */
    font-family: Arial, sans-serif;
    color: #333; /* Donkergrijze tekst */
}

/* Titel (h1) bovenaan de pagina */
h1 {
    text-align: center;
    margin-top: 30px;
    font-size: 28px;
    color: #222;
}

/* Tabel-opmaak */
table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 95%;
    max-width: 1000px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Schaduw onder de tabel */
}

/* Cel-opmaak in tabel */
th, td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

/* Kopregel in de tabel */
th {
    background-color: #3498db; /* Blauwe achtergrond */
    color: white;
    text-transform: uppercase; /* Hoofdletters */
}

/* Algemene knopstijl */
.btn {
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

/* Verwijder-knop (rood) */
.btn-verwijder {
    background-color: #e74c3c;
}

.btn-verwijder:hover {
    background-color: #c0392b;
}

/* Update-knop (groen) */
.btn-update {
    background-color: #27ae60;
}

.btn-update:hover {
    background-color: #219150;
}

/* Voeg toe knop */
.voegtoe {
    margin: 20px;
    display: inline-block;
    padding: 10px 18px;
    background-color: #2ecc71; /* Felgroen */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.voegtoe:hover {
    background-color: #27ae60;
}

/* Footer onderaan de pagina */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #777;
}

/* Formulier-stijl voor toevoegen.php en update-form.php */
form.formulier {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Schaduw */
    display: flex;
    flex-direction: column;
}

/* Labels boven inputvelden */
form.formulier label {
    margin-bottom: 6px;
    font-weight: bold;
}

/* Inputvelden voor tekst */
form.formulier input[type="text"] {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 14px;
}

/* Verzendknop in het formulier */
form.formulier button {
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #27ae60; /* Groen */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover-effect op de knop */
form.formulier button:hover {
    background-color: #219150;
}
