body { 
    margin: 0; 
    font-family: Arial, sans-serif; 
    background: #1e1e1e; 
    color: white; 
}

/* Titel boven het vakje */
.panel-title { 
    text-align: center; 
    font-size: 48px; 
    color: #ff3333; 
    margin-top: 50px; 
    text-shadow: 2px 2px 4px #000; 
}

/* Login/registreer vakje */
.login-container { 
    width: 400px; 
    margin: 50px auto; 
    background: #2b2b2b; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 0 20px rgba(255,0,0,0.6); 
    text-align: center; 
}

/* Titel van het formulier binnen het vakje */
.form-title { 
    font-size: 28px; 
    color: #ff3333; 
    margin-bottom: 30px; 
    text-shadow: 1px 1px 3px #000; 
}

.login-form label { 
    display: block; 
    text-align: left; 
    margin-left: 10%; 
    margin-bottom: 5px; 
    font-size: 16px; 
}

.login-form input { 
    width: 80%; 
    padding: 15px; 
    margin-bottom: 20px; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px; 
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}

.login-form button { 
    width: 50%; 
    padding: 15px; 
    background: #ff3333; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    font-size: 18px; 
    cursor: pointer; 
    margin-top: 20px; 
}

.login-form button:hover { 
    background: #e60000; 
}

.error-message { 
    color: #ff3333; 
    margin-top: 5px; 
    font-weight: bold; 
}

.register-link { 
    color: #ff3333; 
    text-decoration: none; 
}

.register-link:hover { 
    text-decoration: underline; 
}

.message { 
    padding: 15px; 
    border-radius: 6px; 
    margin-bottom: 20px; 
    text-align: center; 
}

.success { 
    background: #003d1f; 
    color: #00ff88; 
}

.error { 
    background: #3d0000; 
    color: #ff4444; 
}

.navbtn { 
    background: #2b2b2b; 
    padding: 8px 15px; 
    border-radius: 5px; 
    text-decoration: none; 
    color: white; 
    margin-left: 10px; 
}

.navbtn:hover { 
    background: #3a3a3a; 
}

.logout { 
    background: #ff3333; 
    padding: 8px 15px; 
    border-radius: 5px; 
    text-decoration: none; 
    color: white; 
    margin-left: 10px; 
}

.logout:hover { 
    background: #e60000; 
}

/* --- FIX VOOR SETTINGS PAGINA --- */

/* Zorg dat select en checkbox breed en zichtbaar zijn */
.card select, 
.card input[type="checkbox"] {
    display: block;         /* zorg dat ze een blok-element zijn */
    width: 100%;            /* volle breedte van de card */
    padding: 10px;          /* ruimte binnenin */
    margin-bottom: 15px;    /* ruimte tussen elementen */
    border: none;
    border-radius: 5px;
    background: #2b2b2b;
    color: white;
    box-sizing: border-box;
}

/* Ruimte tussen checkbox en label tekst */
.card label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Cards duidelijk zichtbaar */
.card {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    border: 1px solid #333; /* helpt contrast */
}

/* Statistieken tekst iets lichter */
.card .stat {
    margin-bottom: 10px;
    color: #ccc;
}

/* Delete knop hover effect fix */
.card.delete button:hover {
    background: #b20000;
}

.popup{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#1e1e1e;
    color:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 0 20px rgba(255,0,0,0.6);
    display:none;
    max-width:300px;
    z-index:999;
    animation:fadeIn 0.3s ease;
}

.popup-delete{
    background:#ff0000;
    border:none;
    padding:8px 15px;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.popup-cancel{
    background:#2b2b2b;
    border:none;
    padding:8px 15px;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.popup-delete:hover{
    background:#cc0000;
}

.popup-cancel:hover{
    background:#3a3a3a;
}

@keyframes fadeIn{
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}