/* ====== Algemene styling ====== */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
    color: #333;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.container {
    width: 80%;
    margin: 30px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* ====== Login pagina ====== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.login-box button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.login-box button:hover {
    background: #2980b9;
}

.error {
    color: red;
    text-align: center;
}

/* ====== Kalender styling ====== */
#calendar {
    max-width: 900px;
    margin: 0 auto;
}

/* ====== Modal styling ====== */
.modal {
    display: none; /* verschijnt pas bij openen */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
}

.modal-content {
    display: flex;
    flex-direction: column;
}

.modal label {
    font-weight: bold;
    margin-top: 10px;
}

.modal input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

#deleteEvent {
    background-color: red;
    color: white;
}

#eventForm button {
    margin-right: 5px;
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dim effect */
    display: none;
    z-index: 999;
}

/* ====== Extra knoppen (algemeen) ====== */
button, .btn {
    background-color: #3498db;
    color: white;
    transition: background-color 0.3s;
}

button:hover, .btn:hover {
    background-color: #2980b9;
}
