/* Taqa v0.1.36 — fields editing and public display. Scoped to the plugin. */
.tas-panel .tas-form-builder,.tas-hero-studio .tas-form-builder,.tas-builder .tas-form-builder{border:1px solid #b4cfd0;border-radius:18px;padding:20px;margin:18px 0;background:#f8fcfc;min-width:0}
.tas-form-builder legend{font-weight:850;color:#123642;font-size:17px;padding:0 8px}
.tas-form-builder>p{font-size:13px;color:#536e75;line-height:1.9;margin:0 0 15px}
.tas-form-builder-list{display:grid;gap:12px;margin:15px 0}
.tas-form-builder-row{border:1px solid #b4cdd1;border-radius:15px;background:#fff;box-shadow:0 5px 15px rgba(14,67,77,.07);padding:15px;min-width:0}
.tas-form-builder-row.is-field-hidden{border-style:dashed;opacity:.83}
.tas-form-builder-row-head,.tas-form-row-actions,.tas-form-row-toggles{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.tas-form-builder-row-head strong{font-size:14px;color:#103541}
.tas-form-row-actions{justify-content:flex-end}
.tas-form-row-actions button{min-width:38px;min-height:38px;padding:7px 10px;background:#fff;border:1px solid #b5d0d2;border-radius:9px;color:#153844;font-size:13px;cursor:pointer}
.tas-form-row-actions .tas-form-delete{border-color:#e5b9bd;color:#972f40}
.tas-form-row-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.tas-form-row-grid>label{min-width:0;display:grid;align-content:start;gap:7px;font-size:13px;font-weight:700;color:#183b46}
.tas-form-row-grid input,.tas-form-row-grid select,.tas-form-row-grid textarea{max-width:100%;width:100%;min-height:44px;padding:9px 11px;border:2px solid #5a98a6;border-radius:11px;background:#fff;color:#103541;box-shadow:0 4px 12px rgba(11,71,85,.09);font:inherit}
.tas-form-row-grid textarea{min-height:86px;resize:vertical}
.tas-form-row-grid input:focus,.tas-form-row-grid select:focus,.tas-form-row-grid textarea:focus{outline:2px solid #24b1a1;outline-offset:1px}
.tas-form-options-label{display:none!important}
.tas-form-builder-row.has-options .tas-form-options-label{display:grid!important}
.tas-form-row-toggles{margin-top:13px;justify-content:flex-start;gap:15px}
.tas-form-row-toggles label{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#17404c}
.tas-form-row-toggles input{height:17px;width:17px;accent-color:#188b81}
.tas-form-builder .tas-form-add{min-height:44px;margin:4px 0;border:1px solid #188b81;background:#ecf8f6;color:#10665e;border-radius:11px;padding:10px 18px;font-weight:800;cursor:pointer}
.tas-form-builder-hint{display:block;font-size:12px;color:#536e75;margin-top:7px}
.tas-site .tas-custom-field{margin-bottom:15px;min-width:0}
.tas-site .tas-custom-field-label{display:block;font-size:14px;font-weight:800;margin-bottom:7px;color:var(--tas-text,#133946)}
.tas-site .tas-custom-field-label small{color:#527079;font-size:11px;font-weight:600}
.tas-site .tas-custom-choices{display:flex;flex-wrap:wrap;gap:10px;padding:7px 0}
.tas-site .tas-custom-choices label{display:inline-flex;flex-direction:row;align-items:center;gap:8px;border:1px solid #accbcd;border-radius:11px;padding:9px 13px;background:#fff;cursor:pointer;font-size:14px}
.tas-site .tas-custom-choices input{width:17px;height:17px;min-height:0;margin:0;accent-color:var(--tas-secondary,#188b81)}
.tas-site .tas-custom-field input[type=file]{padding:12px;max-width:100%;border:2px solid #5a98a6;border-radius:12px;background:#f7fbfb}
.tas-site .tas-custom-field>small{display:block;color:#55747b;font-size:12px;margin-top:6px}
.tas-site .tas-form-disabled{padding:18px;border-radius:12px;background:#fff5e7;color:#845f27}
@media(max-width:720px){.tas-form-row-grid{grid-template-columns:minmax(0,1fr)}.tas-form-builder-row{padding:12px}.tas-form-builder{padding:12px!important}}

.tas-form-builder-row:not(.is-expanded) .tas-form-row-grid,.tas-form-builder-row:not(.is-expanded) .tas-form-row-toggles{display:none}
.tas-form-builder-row:not(.is-expanded){padding:12px 15px}
.tas-form-row-actions .tas-form-toggle{background:#e9f6f5;border-color:#94c4c2;color:#126e65;font-weight:800}
/* Only show the field editor when the section type is a form. */
.tas-extra-editor:not([data-extra-type="form"]) .tas-form-builder{display:none!important}
