.aanmelder-form {
    max-width: 420px;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    font-family: 'Segoe UI', sans-serif;
}

.aanmelder-form h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.aanmelder-form .form-intro {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
}

.aanmelder-form .field {
    margin-bottom: 12px;
}

.aanmelder-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.aanmelder-form input,
.aanmelder-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.aanmelder-form input:focus,
.aanmelder-form select:focus {
    border-color: #00a7d7;
    box-shadow: 0 0 0 3px rgba(0,167,215,0.15);
}

.aanmelder-form input.invalid,
.aanmelder-form select.invalid {
    border-color: #ef4444;
}

.aanmelder-form .gender-other-input:disabled {
    background: #f3f4f6;
    color: #9ca3af;
}

.aanmelder-form .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.aanmelder-form .step-controls {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.aanmelder-form .step-controls.two-btns {
    justify-content: space-between;
    flex-wrap: wrap;
}

.aanmelder-form .step-controls.two-btns .button,
.aanmelder-form .step-controls.two-btns .button-primary,
.aanmelder-form .step-controls.two-btns .button-secondary {
    flex: 1 1 48%;
}

.aanmelder-form .button-primary,
.aanmelder-form .button-secondary,
.aanmelder-form .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
}

.aanmelder-form .button-primary {
    background: #7dadce;
    color: #fff;
}

.aanmelder-form .step-next.button {
    background: #7dadce;
    color: #fff;
}

.aanmelder-form .step-next.button:hover {
    background: #6c9ac0;
}

.aanmelder-form .button-primary:hover {
    background: #6c9ac0;
}

.aanmelder-form .button-primary:active {
    transform: translateY(1px);
}

.aanmelder-form .button-secondary {
    background: #e5e7eb;
    color: #374151;
}

.aanmelder-form .button-secondary:hover {
    background: #d1d5db;
}

.aanmelder-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
}

@media (max-width: 500px) {
    .aanmelder-form {
        max-width: 100%;
    }
    .aanmelder-form .two-col {
        grid-template-columns: 1fr;
    }
    .aanmelder-form .step-controls.two-btns {
        flex-direction: column;
    }
    .aanmelder-form .step-controls.two-btns .button,
    .aanmelder-form .step-controls.two-btns .button-primary,
    .aanmelder-form .step-controls.two-btns .button-secondary {
        flex: 1 1 100%;
    }
}
