/* Functional UI for the Matnasim bridge: autocomplete dropdown + disabled state. */
.baim-ac{position:relative}
.baim-ac-list{display:none;position:absolute;z-index:20;top:calc(100% + 4px);right:0;left:0;max-height:280px;overflow:auto;background:#fff;border:1px solid #b8b2b2;border-radius:6px;box-shadow:0 10px 24px rgba(0,0,0,.12);padding:4px 0;text-align:right}
.baim-ac-list.open{display:block}
.baim-ac-opt{padding:9px 14px;font-size:16px;line-height:1.3;color:#222;cursor:pointer}
.baim-ac-opt.on,.baim-ac-opt:hover{background:#eef4f8}
.elementor-form [data-baim-dis="1"]{background-color:#ebebe4 !important;color:#888 !important;cursor:not-allowed}

.elementor-field-group .baim-ac{flex:0 0 100%;width:100%;max-width:100%}
.elementor-field-group .baim-ac .elementor-field{width:100%}

/* "processing your request" screen shown between the form and the thank-you page */
.baim-overlay{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:rgba(235,89,89,.97);opacity:0;transition:opacity .35s ease;font-family:Heebo,Arial,sans-serif;text-align:center;padding:24px}
.baim-overlay.on{opacity:1}
.baim-overlay[data-done="1"] .baim-spin{transform:scale(.85);opacity:.6}
.baim-overlay-t{margin:28px 0 0;color:#fff;font-weight:700;font-size:clamp(26px,4vw,52px);line-height:1.2}
.baim-overlay-s{margin:10px 0 0;color:#1B1E4A;font-weight:500;font-size:clamp(17px,2vw,24px)}
.baim-spin{position:relative;width:92px;height:92px;margin:0 auto;transition:transform .35s,opacity .35s}
.baim-spin i{position:absolute;inset:0;border-radius:50%;border:6px solid transparent;animation:baim-rot 1.1s linear infinite}
.baim-spin i:nth-child(1){border-top-color:#fff;border-right-color:#fff}
.baim-spin i:nth-child(2){inset:14px;border-top-color:#1B1E4A;border-left-color:#1B1E4A;animation-duration:1.5s;animation-direction:reverse}
.baim-spin i:nth-child(3){inset:28px;border-bottom-color:#70D1F5;border-right-color:#70D1F5;animation-duration:.9s}
@keyframes baim-rot{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.baim-spin i{animation-duration:3s}}
.baim-confetti-canvas{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:99998}
