/* Algemene styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container voor de inlogpagina's */
.login-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Grote container voor de dashboards (admin & welkom) */
.dashboard-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    margin-top: 20px;
}

h1, h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

/* Formulieren */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #3182ce;
}

small {
    color: #718096;
    display: block;
    margin-top: 5px;
}

/* Knoppen en Links */
button {
    width: 100%;
    padding: 12px;
    background-color: #3182ce;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #2b6cb0;
}

.btn-secondary {
    background-color: #edf2f7;
    color: #4a5568;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.logout-link {
    color: #e53e3e;
    text-decoration: none;
    font-weight: bold;
    float: right;
}

.logout-link:hover {
    text-decoration: underline;
}

/* Meldingen */
.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.alert-success { background-color: #c6f6d5; color: #22543d; }
.alert-danger { background-color: #fed7d7; color: #742a2a; }

/* Tabellen (voor de Admin pagina) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #f7fafc;
    color: #4a5568;
    font-weight: 600;
}

tr:hover {
    background-color: #f8fafc;
}

.btn-edit {
    background-color: #ecc94b;
    color: #744210;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}
.btn-edit:hover { background-color: #dd6b20; color: white; }