/* Responsive design for mobile */
@media (max-width: 700px) {
    .modal-form {
        max-width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    .optocht-form-wrapper {
        padding: 0.5rem;
        min-height: auto;
        flex-direction: column;
    }
}
.reglement-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 1.5rem;
}
/* Global modal defaults for add/edit forms */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}
.modal[hidden] {
    display: none !important;
}

/* Shared modal form style (match GeschiedenisVV form look) */
.modal-form {
    background: #fff;
    padding: 1.5rem;
    max-width: 520px;
    width: 95%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.modal-form label { display: block; margin-bottom: 1rem; }
.modal-form input, .modal-form textarea {
    width: 100%;
    padding: .5rem;
    margin-top: .25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.modal-form .buttons {
    margin-top: 1rem;
    text-align: right;
    gap: .5rem;
    display: flex;
    justify-content: flex-end;
}
.modal-form button {
    padding: .5rem 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
.modal-form button[type="submit"] {
    background: #4CAF50;
    color: white;
    border-color: #45a049;
}

/* Center the optocht form wrapper both horizontally and vertically */
.optocht-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 220px); /* account for navbar/footer spacing */
    padding: 1rem;
}

.optocht-form-wrapper .modal-form {
    width: 100%;
    max-width: 720px; /* a bit wider for this form */
}

.reglement-h1 {
	Color: white;
}