.ebb-eif-wrap {
	font-family: 'Roboto', sans-serif;
	background: transparent;
	max-width: 760px;
	margin: 0 auto;
}

.ebb-eif-form * {
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

.ebb-eif-alert {
	padding: 14px 16px;
	margin-bottom: 20px;
	border: 1px solid #ad0028;
	background: #fff;
	color: #ad0028;
	font-size: 14px;
}

.ebb-eif-alert.ebb-eif-alert-success {
	border-color: #2b6b2b;
	color: #2b6b2b;
}

.ebb-eif-section {
	background: #fff;
	border: 1px solid #ddd;
	padding: 24px;
	margin-bottom: 20px;
}

.ebb-eif-section-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 18px 0;
	color: #222;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ebb-eif-row {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.ebb-eif-field {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
}

.ebb-eif-field-full {
	flex: 1 1 100%;
}

.ebb-eif-field-narrow {
	flex: 0 1 120px;
}

.ebb-eif-field label {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
	color: #333;
}

.ebb-eif-req {
	color: #ad0028;
}

.ebb-eif-field input,
.ebb-eif-field select,
.ebb-eif-field textarea {
	border: 1px solid #ccc;
	border-radius: 0;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
	color: #222;
	width: 100%;
}

.ebb-eif-field input:focus,
.ebb-eif-field select:focus,
.ebb-eif-field textarea:focus {
	outline: none;
	border-color: #ad0028;
}

.ebb-eif-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	color: #222;
}

.ebb-eif-toggle input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #ad0028;
	cursor: pointer;
}

.ebb-eif-panel {
	margin-top: 20px;
}

.ebb-eif-subheading {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #ad0028;
	margin: 24px 0 12px 0;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.ebb-eif-repeater-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.ebb-eif-repeater-item {
	border: 1px solid #ddd;
	background: #fff;
}

.ebb-eif-repeater-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: #f7f7f7;
	cursor: pointer;
}

.ebb-eif-repeater-summary {
	font-weight: 700;
	font-size: 14px;
	color: #222;
}

.ebb-eif-repeater-header-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.ebb-eif-btn-toggle,
.ebb-eif-btn-remove {
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	color: #666;
	padding: 4px 8px;
	line-height: 1;
}

.ebb-eif-btn-remove:hover {
	color: #ad0028;
}

.ebb-eif-btn-toggle:hover {
	color: #ad0028;
}

.ebb-eif-repeater-body {
	padding: 20px;
	border-top: 1px solid #eee;
}

.ebb-eif-repeater-item.ebb-eif-collapsed .ebb-eif-repeater-body {
	display: none;
}

.ebb-eif-repeater-item.ebb-eif-collapsed .ebb-eif-btn-toggle {
	transform: rotate(-90deg);
}

.ebb-eif-btn-add {
	background: #fff;
	border: 1px solid #ad0028;
	color: #ad0028;
	font-weight: 700;
	font-size: 13px;
	padding: 10px 18px;
	cursor: pointer;
	border-radius: 0;
}

.ebb-eif-btn-add:hover {
	background: #ad0028;
	color: #fff;
}

.ebb-eif-submit-row {
	text-align: right;
}

.ebb-eif-btn-submit {
	background: #ad0028;
	color: #fff;
	border: none;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 32px;
	cursor: pointer;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ebb-eif-btn-submit:hover {
	background: #8a001f;
}

.ebb-eif-btn-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.ebb-eif-row {
		flex-direction: column;
	}
	.ebb-eif-field-narrow {
		flex: 1 1 100%;
	}
}
