/* Algemeen formulier */
.register-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

/* Titel van formulier */
.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Form-groups en spacing */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus effect */
.form-control:focus {
    border-color: #29abe2;
    box-shadow: 0 0 0 2px rgba(41, 171, 226, 0.2);
    outline: none;
}

/* Flexbox voor voornaam/achternaam */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .half-width {
    flex: 1;
}

/* Mobiel onder elkaar */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

/* Labels */
label {
    display: block;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

/* Checkboxen */
.checkbox-group {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-primary {
    background-color: #29abe2;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #1b8cbc;
    transform: scale(1.025);
}

/* Datepicker en select styling */
input[type="date"],
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    width: 100%;
}

input[type="date"]:focus,
select.form-control:focus {
    border-color: #29abe2;
    box-shadow: 0 0 0 2px rgba(41, 171, 226, 0.2);
}

/* Voeg pijltje toe voor select */
select.form-control {
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><polygon points='0,0 10,0 5,6' style='fill:%23666'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 10px 6px;
    padding-right: 2rem;
}