.griffinforms-selectfield-options-pairs {
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
}

.griffinforms-selectfield-options-container {
    max-height: 1024px;
    overflow: hidden;
    overflow-y: auto;
}

.griffinforms-selectfield-options-pair-dragbtn {
    cursor: grab;
}

.griffinforms-inputradio-options-container,
.griffinforms-inputcheckbox-options-container {
    overflow-x: scroll;
    min-height: 200px;
}

.griffinforms-field-optionsgroup {
    min-width: 400px;
}

.griffinforms-inputcheckbox-options-pair-dragbtn,
.griffinforms-selectfield-options-group-handle {
    cursor: grab;
}

/* Overriding form autocomplete option is not implemented yet */
#griffinforms-autocomplete-row {
    display: none;
}

/* Hide the validation options since there are no additional settings currently */
.griffinforms-field-validations-selectfield,
.griffinforms-field-validations-inputradio {
    display: none;
}
.griffinforms-payment-product-card {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden;
    background: #fff;
}

.griffinforms-payment-product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.35rem 0.75rem;
}

.griffinforms-payment-product-handle {
    cursor: grab;
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
}

.griffinforms-payment-product-toggle {
    flex: 1;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0.35rem 0 !important;
    min-height: auto;
}

.griffinforms-payment-product-toggle:focus {
    box-shadow: none !important;
}

.griffinforms-payment-product-label {
    font-size: 0.95rem;
    color: #111827;
}

.griffinforms-payment-product-name-preview {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Stack labels above inputs in payment field settings */
.griffinforms-payment-settings label,
.griffinforms-payment-tax label {
    display: block;
    margin-bottom: 0.35rem;
}

button.griffinforms-payment-remove-product {
    color: #b91c1c !important;
    text-decoration: none;
    padding: 3px 5px !important;
    border: 1px solid !important;
    background-color: transparent !important;
    font-weight: 500;
    cursor: pointer;
    font-size: 11px;
    border-radius: 4px;
}

.griffinforms-payment-remove-product:hover {
    color: #7f1d1d !important;
    text-decoration: none !important;
    background-color: #fff4f4 !important;
}
