/* Checkbox & Radio Base Styles */
p.submit{margin-top:0;}
.elementor-field-option input { position: absolute !important; opacity: 0 !important; width: 0 !important; }
.elementor-field-option label { position: relative !important; display: inline-flex !important; align-items: flex-start !important; cursor: pointer !important; }
.elementor-field-option input[type="checkbox"] + label::before { content: ""; position: absolute; left: 0; top: 2px; border: 1.5px solid #ccc; border-radius: 3px; background: #fff; }
.elementor-field-option input[type="checkbox"]:checked + label::after { content: ""; position: absolute; left: 0; top: 2px; background: white; clip-path: polygon(20% 45%, 10% 60%, 40% 90%, 90% 20%, 75% 5%, 38% 65%); }
.elementor-field-option input[type="radio"] + label::before { content: ""; position: absolute; left: 0; top: 2px; border: 1.5px solid #ccc; border-radius: 50%; background: #fff; }
.elementor-field-option input[type="radio"]:checked + label::after { content: ""; position: absolute; background: white; border-radius: 50%; }

/* ROS Country Selector & Multiselect Styles */
.ros-country-wrapper, .ros-multi-wrapper { width: 100%; position: relative; }
.ros-country-wrapper{display: flex;align-items: center;}
.ros-country-display-wrapper, .ros-multi-display-wrapper { display: flex !important; width: 100% !important; justify-content: space-between; align-items: center; position: relative; cursor: pointer; height: 100%; box-sizing: border-box; line-height: 1.4; font-size: inherit;  }
.ros-country-display { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 4px; overflow: hidden; }
.ros-multi-display-wrapper span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; font-size: inherit;}
.ros-country-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ros-country-dial { white-space: nowrap; flex-shrink: 0; font-weight: 500; }
.ros-country-display-wrapper svg, .ros-multi-display-wrapper svg { width: 1em; height: 1em; flex-shrink: 0;stroke: currentColor; fill: none; stroke-width: 2.5;}
.ros-country-dropdown, .ros-multi-dropdown { display: none; position: absolute; width: 100%; background: #fff; border: 1px solid #ccc; z-index: 9999; top: 100%; left: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.ros-country-display-wrapper.elementor-field.elementor-field-textual.elementor-size-sm .ros-country-display{line-height: 1.72;}
.ros-country-dropdown{min-width: 250px;}
.ros-country-list, .ros-multi-list { max-height: 250px; overflow-y: auto; }
.ros-country-item{ padding: 0.6rem 1rem; cursor: pointer; border-bottom: 1px solid #eee; }
.ros-multi-item{cursor: pointer; border-bottom: 1px solid #eee; }
.ros-multi-item .ros-multi-option-wrap { display: flex !important; width: 100%; align-items: center; gap: 8px; }
.ros-multi-item label { display: block !important; width: 100%; padding: 5px 0 !important; margin: 0 !important; box-sizing: border-box; cursor: pointer; line-height: 1.4; }
.ros-multi-item input[type="checkbox"] { position: relative !important; opacity: 1 !important; width: 16px !important; height: 16px !important; margin: 0 !important; pointer-events: auto !important; appearance: auto !important; }
.ros-multi-item:hover { background-color: #f1f1f1;}
.ros-country-item:hover { background: #f9f9f9; }
.ros-country-item{display: flex; align-items: center; gap: 8px;}
.ros-country-item img { width: 25px; height: auto; }
.ros-country-dropdown.elementor-field.elementor-field-textual{padding: 0 !important;overflow: hidden !important;background: #fff !important; }

/* Form Submit Button Loader CSS */
.elementor-form.elementor-form-waiting{opacity:1 !important;}
.elementor-form-waiting .elementor-button[type="submit"]{position:relative !important;pointer-events:none !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:8px;}
.elementor-form-waiting .elementor-button[type="submit"]::before{content:"";display:inline-block;width:18px;height:18px;border:2px solid currentColor;border-bottom-color:transparent;border-radius:50%;animation:ros-btn-spinner 0.8s linear infinite;opacity:0.8;}
@keyframes ros-btn-spinner{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}