/* ===== EG_Form_EELEZI - Front-End Form ===== */
.eg-form-eelezi-wrap {
	max-width: 640px;
	margin: 20px auto;
	font-family: inherit;
}
.eg-form-eelezi-form {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.eg-form-title {
	margin: 0 0 18px;
	font-size: 22px;
}
.eg-form-row {
	margin-bottom: 16px;
}
.eg-form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}
.eg-form-row input[type="text"],
.eg-form-row input[type="email"],
.eg-form-row input[type="tel"],
.eg-form-row input[type="number"],
.eg-form-row select,
.eg-form-row textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}
.eg-form-contact-basic {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.eg-req { color: #d63638; }
.eg-choice-group { display: flex; flex-wrap: wrap; gap: 12px; }
.eg-choice { font-weight: 400 !important; display: flex; align-items: center; gap: 6px; }

.eg-form-submit-btn {
	background: #1d4ed8;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	font-weight: 600;
}
.eg-form-submit-btn:hover { background: #1741ab; }
.eg-form-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.eg-form-messages {
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 14px;
	font-size: 14px;
}
.eg-form-messages.success { background: #e6f6e6; color: #1a7d1a; border: 1px solid #b6e3b6; }
.eg-form-messages.error { background: #fdeaea; color: #b32d2e; border: 1px solid #f3c2c2; }

/* Product selector - dropdown mode reuses standard select styling above */

/* Product selector - scroll mode */
.eg-product-scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 6px 2px 12px;
	scroll-snap-type: x proximity;
}
.eg-product-scroll::-webkit-scrollbar { height: 6px; }
.eg-product-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 6px; }

.eg-product-card {
	flex: 0 0 auto;
	width: 110px;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 6px;
	scroll-snap-align: start;
	font-weight: 400 !important;
}
.eg-product-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.eg-product-card img,
.eg-product-noimg {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 6px;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #999;
}
.eg-product-card span {
	display: block;
	font-size: 12px;
	margin-top: 6px;
}
.eg-product-card:has(input:checked) {
	border-color: #1d4ed8;
	background: #eef2ff;
}

/* ===== Admin panel ===== */
.eg-bulk-add-box {
	background: #fff;
	border: 1px solid #dcdcde;
	border-left: 4px solid #1d4ed8;
	border-radius: 8px;
	padding: 18px;
	margin-top: 16px;
}
.eg-bulk-add-box textarea { width: 100%; }

.eg-admin-wrap .eg-columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	align-items: start;
	margin-top: 20px;
}
.eg-col-list, .eg-col-form {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 18px;
}
.eg-sortable-list { list-style: none; margin: 0; padding: 0; }
.eg-sortable-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px solid #eee;
	border-radius: 6px;
	margin-bottom: 8px;
	background: #fafafa;
	flex-wrap: wrap;
}
.eg-drag-handle { cursor: move; color: #888; }
.eg-tag {
	background: #e0e7ff;
	color: #3730a3;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
}
.eg-req-tag {
	background: #fee2e2;
	color: #991b1b;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
}
.eg-status {
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
}
.eg-status.on { background: #dcfce7; color: #166534; }
.eg-status.off { background: #f3f4f6; color: #6b7280; }
.eg-row-actions { margin-left: auto; font-size: 12px; }
.eg-danger-link { color: #b32d2e; }
