
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(8px) brightness(0.7); /* diffuse + donkerder */
    z-index: -1; /* Achter alle content */
}


header, footer {
    text-align: center;
    padding: 1em;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    flex: 1;
    padding: 2em;
}

footer {
    margin-top: auto;
}

.login-container,
main {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px); /* extra smoothness */
    border-radius: 12px;
    padding: 2em;
    margin: 2em auto;
}


.login-container h2 {
    text-align: center;
    margin-bottom: 1em;
}

.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 0.75em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #e6f3ff;
    font-size: 1em;
}

.login-container button {
    width: 100%;
    padding: 0.75em;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #005fa3;
}

/* Responsive verbeteringen */
@media (max-width: 768px) {
    .login-container {
        margin: 2em 1em;
        padding: 1.5em;
    }

    table {
        width: 100%;
        font-size: 0.9em;
    }

    table thead {
        display: none;
    }

    table tr {
        display: block;
        margin-bottom: 1em;
        border-bottom: 1px solid #ccc;
    }

    table td {
        display: block;
        text-align: right;
        padding: 0.5em;
        position: relative;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: capitalize;
    }
}
