
.modal-background { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Donkere achtergrond */
    justify-content: center;
    align-items: center;
    opacity: 0; /* Begin als onzichtbaar */
    visibility: hidden;
    transition: opacity 0.5s ease; /* Vloeiende overgang voor zichtbaar maken */
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%); /* Begint iets hoger */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Begin als onzichtbaar */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Transitie voor positie en zichtbaarheid */
}

/* Wanneer de modal zichtbaar is */
.modal-background.show {
    visibility: visible; /* Maak zichtbaar */
    opacity: 1; /* Maak de achtergrond zichtbaar */
}

.modal-background.show .modal-content {
    opacity: 1;
    transform: translate(-50%, -50%); /* Schuif soepel naar de middenpositie */
}


.close-btn2 {
    float: right;
    font-size: 18px;
    cursor: pointer;
    color: #aaa;
}

.close-btn2:hover {
    color: #000;
}

.login-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.submit-btn {
    display: inline-block; 
    width: 100%; 
    box-sizing: border-box;
    padding: 10px 20px;
    background-color: #4CAF50; 
    color: black; /* Zwarte tekst */
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none; 
    transition: background-color 0.3s ease; 
    margin-bottom: 10px; 
    margin-left: 5px;
}

.submit-btn:hover {
    background-color: #45a049;
}

.register-link {
    width: 100%;
    display: inline-block; 
}

.register-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: border 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50; 
}

.register-btn {
    background-color: #4CAF50; 
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.register-btn:hover {
    background-color: #48924a;
    transition: background-color 0.3s ease;
}

.login-link {
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

.login-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

.registreer-succes {
    padding: 15px;
    background-color: #d4edda; /* Lichtgroene achtergrond voor succes */
    color: #155724; /* Donkergroene tekstkleur */
    border: 1px solid #c3e6cb; /* Rand in een iets donkerder groene tint */
    border-radius: 5px; /* Ronde hoeken */
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
}

.registreer-fout {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

.admin-knoppen {
    display: flex; /* Activeer flexbox */
    align-items: center; /* Zorg dat alle items verticaal gecentreerd zijn */
    justify-content: flex-end; /* Plaats alle items rechts uitgelijnd */
    gap: 15px; /* Voeg ruimte tussen de items */
}