.checkbox-group label {
    position: relative;
}

label:not(.checkbox-group label):not(.sub-section label) {
    font-weight: bold;
    margin-bottom: 8px;
    display: inline-block;
    position: absolute;
    left: -1000px;
}

textarea {
    resize: vertical;
}

.form-section input:not([type="checkbox"]),
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 150px;
    flex: 1;
}

.form-section {
    margin-bottom: 25px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;

}

.flex section {
    flex: 1;
}

.flex section textarea {
    width: calc(100% - 20px);
}

.sub-section .flex section label {
    display: block;
}

.checkbox-group input {
    margin-right: 10px;
}

.sub-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #4CAF50;
    border-radius: 8px;
}

.sub-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.sub-section input[type="number"] {
    width: 80px;
}

button {
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
