.enrollment-section {
    padding: 60px 0 80px;
    background: var(--bg-light);
    min-height: 100vh;
}

.enrollment-header {
    text-align: center;
    margin-bottom: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.enrollment-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.enrollment-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.enrollment-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.enrollment-note {
    background: var(--water-blue);
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    border-left: 4px solid var(--primary-blue);
}

.enrollment-note p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.enrollment-note p:last-child {
    margin-bottom: 0;
}

.enrollment-form {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-blue);
    display: inline-block;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.checkbox-inline .checkbox-option {
    padding: 10px 15px;
    flex: 0 0 auto;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--primary-blue);
    background: var(--water-blue);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked,
.checkbox-option input[type="checkbox"]:checked {
    accent-color: var(--primary-blue);
}

.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
    border-color: var(--primary-blue);
    background: var(--water-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

.radio-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radio-label strong {
    color: var(--dark-blue);
    font-size: 1.05rem;
}

.radio-label small {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.checkbox-inline .checkbox-option span {
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-gray);
}

.form-message {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 20px 30px;
    border-radius: 12px;
    display: none;
    font-weight: 600;
    text-align: center;
    font-size: 1.05rem;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.nav-menu a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .enrollment-section {
        padding: 40px 0 60px;
    }

    .enrollment-header {
        padding: 25px 20px;
    }

    .enrollment-title {
        font-size: 1.8rem;
    }

    .enrollment-intro p {
        font-size: 0.95rem;
    }

    .enrollment-form {
        padding: 30px 20px;
    }

    .form-section {
        margin-bottom: 35px;
        padding-bottom: 30px;
    }

    .form-section-title {
        font-size: 1.4rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .checkbox-inline {
        flex-direction: column;
    }

    .radio-label strong {
        font-size: 1rem;
    }

    .radio-label small {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .enrollment-title {
        font-size: 1.5rem;
    }

    .enrollment-form {
        padding: 20px 15px;
    }

    .form-section-title {
        font-size: 1.2rem;
    }

    .radio-option,
    .checkbox-option {
        padding: 12px;
    }
}
