.qbf-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
    font-family: inherit;
}

.qbf-field {
    display: flex;
    flex-direction: column;
}

.qbf-field.qbf-align-rtl { direction: rtl; text-align: right; }
.qbf-field.qbf-align-ltr { direction: ltr; text-align: left; }
.qbf-field.qbf-align-center { text-align: center; }

.qbf-label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.qbf-required {
    color: #b30000;
    margin-inline-start: 4px;
}

.qbf-input,
.qbf-radio-group,
.qbf-checkbox {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 15px;
    background: #fff;
}

.qbf-radio-group {
    border: 0;
    padding: 0;
}

.qbf-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 15px;
}
.qbf-radio input[type="radio"] {
    margin: 0;
}

.qbf-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    border: 0;
    padding: 0;
}
.qbf-checkbox input[type="checkbox"] {
    margin: 0;
}

.qbf-error .qbf-input,
.qbf-error .qbf-radio-group,
.qbf-error .qbf-checkbox {
    border-color: #b30000 !important;
    box-shadow: 0 0 0 1px #b30000;
}

.qbf-prefilled .woocommerce-billing-fields,
.qbf-prefilled .woocommerce-additional-fields {
    display: none !important;
}
