.efbp-form-container { width: 100%; direction: rtl; text-align: right; font-family: inherit; }
.efbp-form { width: 100%; }
.efbp-fields-row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.efbp-field-wrap { box-sizing: border-box; padding: 0 8px; width: 100%; }
.efbp-width-100 { width: 100%; }
.efbp-width-75 { width: 75%; }
.efbp-width-66 { width: 66.666%; }
.efbp-width-50 { width: 50%; }
.efbp-width-33 { width: 33.333%; }
.efbp-width-25 { width: 25%; }
.efbp-width-20 { width: 20%; }

@media (max-width: 767px) {
	.efbp-width-75, .efbp-width-66, .efbp-width-50, .efbp-width-33, .efbp-width-25, .efbp-width-20 { width: 100%; }
}

.efbp-field-wrap.efbp-condition-hidden { display: none !important; }
.efbp-help-text { display: block; margin-top: 5px; font-size: 12px; color: #8a8a8a; }

.efbp-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.efbp-required { color: #e0245e; }

.efbp-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #dcdfe6;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 14px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
	outline: none;
}
.efbp-input:focus { border-color: #5b3df5; box-shadow: 0 0 0 3px rgba(91,61,245,.12); }
textarea.efbp-input { resize: vertical; min-height: 100px; }

.efbp-choice-group { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.efbp-choice { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.efbp-choice input { width: auto; }

.efbp-range { padding: 0; }
.efbp-range-output { display: inline-block; margin-inline-start: 8px; font-size: 13px; }

.efbp-error-msg { display: block; color: #e0245e; font-size: 12px; margin-top: 4px; min-height: 0; }
.efbp-field-wrap.efbp-has-error .efbp-input { border-color: #e0245e; }

.efbp-submit-row { display: flex; justify-content: flex-start; margin-top: 10px; }
.efbp-submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #5b3df5;
	color: #fff;
	border: none;
	padding: 12px 32px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .2s ease, transform .1s ease;
}
.efbp-submit-btn:hover { opacity: .9; }
.efbp-submit-btn:active { transform: scale(.98); }
.efbp-submit-btn[disabled] { opacity: .6; cursor: not-allowed; }

.efbp-spinner {
	width: 14px; height: 14px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: efbp-spin .7s linear infinite;
}
@keyframes efbp-spin { to { transform: rotate(360deg); } }

.efbp-response-msg { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; }
.efbp-response-msg.efbp-success { display: block; background: #e6f9ee; color: #0a7a3e; border: 1px solid #a9e5c4; }
.efbp-response-msg.efbp-error { display: block; background: #fdecec; color: #c81e3a; border: 1px solid #f3b8c1; }

.efbp-honeypot { position: absolute !important; left: -9999px !important; top: -9999px !important; opacity: 0; height: 0; width: 0; }
