* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #dff5fc;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: white;
    color: black;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #00b1ec;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: black;
}

header h2 {
    font-size: 1.5em;
    font-weight: 300;
    color: black;
}

header .logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #00b1ec;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.form-group {
    margin-bottom: 20px;
}

/* Hierarchy levels - visualize the nested structure */
.hierarchy-level-1 {
    margin-left: 30px;
    padding-left: 20px;
    border-left: 3px solid #00b1ec;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.hierarchy-level-2 {
    margin-left: 60px;
    padding-left: 20px;
    border-left: 3px solid #0090c4;
    background: #e3f2fd;
    padding: 15px;
    border-radius: 6px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #00b1ec;
    box-shadow: 0 0 0 3px rgba(0, 177, 236, 0.1);
}

small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

/* Processing info styling */
.processing-info {
    background: #e3f2fd;
    border: 2px solid #00b1ec;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
}

.processing-info p {
    margin: 0;
    color: #0090c4;
}

/* Beheerdersverklaring styling */
.admin-declaration {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.admin-declaration h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.admin-declaration label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.admin-declaration input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.admin-declaration-text {
    font-weight: 600;
    color: #856404;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00C853;
    color: white;
}

.btn-primary:hover {
    background: #00b140;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 201, 83, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.form-actions {
    margin-top: 40px;
    text-align: center;
}

/* Dynamic elements styling */
.activity-item,
.type-registratie-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid #00b1ec;
}

.activity-item h4,
.type-registratie-item h4 {
    color: #00b1ec;
    margin-bottom: 15px;
}

.type-registratie-item {
    border-left: 4px solid #0090c4;
    padding: 25px;
}

.type-registratie-item h4 {
    color: #0090c4;
    font-size: 1.2em;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.remove-btn:hover {
    background: #c82333;
}

.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 30px;
    text-align: center;
    border-radius: 6px;
    margin: 40px;
}

.success-message h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    form {
        padding: 20px;
    }

    header h1 {
        font-size: 2em;
    }

    header h2 {
        font-size: 1.2em;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        width: 100%;
    }
    
    header .logo {
        max-width: 150px;
    }
    
    .hierarchy-level-1 {
        margin-left: 15px;
    }
    
    .hierarchy-level-2 {
        margin-left: 30px;
    }
}