.drupal-webform-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.drupal-webform-column {
    flex: 1;
    padding: 0 1rem;
}

.drupal-webform-column-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.drupal-webform-row .form-number[readonly] {
    position: relative;
    padding-left: 2rem;
}

.drupal-webform-row .form-number[readonly]::before {
    content: '$';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
}

.total-summary {
    margin-top: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.total-summary > div {
    margin: 1rem;
}

#total-units, #total-cost {
    border: 1px solid #ccc;
    border-radius: 0.3rem;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.messages--error form .form-item.form-type-checkbox, 
.messages--error form .form-item.form-type-radio {
    position: relative;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.messages--error .form-type-radio label.option, 
.messages--error .form-type-checkbox label.option {
    border-color: inherit !important;
    background-color: inherit !important;
    width: 95%;
    margin-left: 15px;
}

form .form-item.form-type-checkbox input[type='checkbox'] {
    position: relative;
    width: 25px !important;
    height: 25px !important;
}

.form-type-radio label.option,
.form-type-checkbox label.option {
    width: 95%;
    margin: 5px;
}

#edit-service-fields,
[data-drupal-selector="edit-service-fields"] {
    display: none;
}