.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-header h1 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-section {
    background: #e0f2fe;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #b3e5fc;
}

.section-header {
    background: #b3e5fc;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #81d4fa;
    transition: background-color 0.3s ease;
}

.section-header:hover {
    background: #a1d8f0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f4c75;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.caret {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.caret.rotated {
    transform: rotate(90deg);
}

.section-content {
    padding: 20px;
    display: block;
}

.section-content.collapsed {
    display: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #475569;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.range-input {
    flex: 1;
}

.range-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: #3b82f6;
}

.entry-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.entry-title {
    font-weight: 600;
    color: #475569;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-add {
    background: #10b981;
    color: white;
    margin-bottom: 15px;
}

.btn-add:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-remove {
    background: #ef4444;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
}

.btn-remove:hover {
    background: #dc2626;
}

.btn-submit {
    background: #3b82f6;
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 8px;
    display: block;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-display {
    padding: 12px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.file-input-display:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

select#gender {
    padding: 15.5px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 10px;
    }

    .section-header {
        padding: 12px 15px;
    }

    .section-content {
        padding: 15px;
    }
}