/* EGL Marketplace — front-end shortcodes */
.egl-mp-fe {
	max-width: 720px;
	margin: 1.25rem 0;
	font-size: 15px;
	line-height: 1.45;
}

.egl-mp-fe__title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 600;
}

.egl-mp-notice {
	padding: 0.65rem 0.85rem;
	margin: 0 0 1rem;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.egl-mp-notice--success {
	background: rgba(0, 163, 42, 0.08);
	border-color: rgba(0, 163, 42, 0.35);
}

.egl-mp-notice--error {
	background: rgba(214, 54, 56, 0.08);
	border-color: rgba(214, 54, 56, 0.35);
}

.egl-mp-fe table.egl-mp-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5rem 0 0;
}

.egl-mp-fe table.egl-mp-table th,
.egl-mp-fe table.egl-mp-table td {
	padding: 0.5rem 0.6rem;
	text-align: left;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	vertical-align: middle;
}

.egl-mp-fe table.egl-mp-table th {
	font-weight: 600;
	font-size: 0.88rem;
}

.egl-mp-fe .egl-mp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
}

.egl-mp-fe .button.egl-mp-btn-small {
	font-size: 0.85rem;
	padding: 0.2rem 0.55rem;
	min-height: 0;
	line-height: 1.4;
}

.egl-mp-fe-form fieldset {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	padding: 1rem 1.1rem;
	margin: 0 0 1rem;
}

.egl-mp-fe-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
}

.egl-mp-fe-form input[type="number"],
.egl-mp-fe-form input[type="datetime-local"],
.egl-mp-fe-form select {
	max-width: 100%;
	margin-bottom: 0.75rem;
}

.egl-mp-fe-form .egl-mp-submit {
	margin-top: 0.5rem;
}

.egl-mp-fe .description {
	font-size: 0.9rem;
	opacity: 0.9;
	margin: 0 0 1rem;
}

/* Create listing wizard */
.egl-mp-wizard .egl-mp-wizard__progress {
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
	opacity: 0.85;
}

.egl-mp-wizard .egl-mp-wizard__prompt {
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.egl-mp-wizard .egl-mp-wizard__actions {
	margin: 1rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.egl-mp-wizard .egl-mp-fe-form .egl-mp-wizard__step label {
	margin-top: 0.25rem;
}

.egl-mp-wizard .egl-mp-fe-form .egl-mp-wizard__step input[type="number"],
.egl-mp-wizard .egl-mp-fe-form .egl-mp-wizard__step input[type="datetime-local"],
.egl-mp-wizard .egl-mp-fe-form .egl-mp-wizard__step select {
	margin-bottom: 0.35rem;
}

.egl-mp-wizard-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.egl-mp-wizard-modal[hidden] {
	display: none !important;
}

.egl-mp-wizard-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.egl-mp-wizard-modal__panel {
	position: relative;
	max-width: 420px;
	width: 100%;
	background: #fff;
	color: #1d2327;
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	padding: 1.15rem 1.25rem;
	max-height: min(90vh, 520px);
	overflow: auto;
}

.egl-mp-wizard-modal__title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.egl-mp-wizard-modal__body {
	font-size: 0.95rem;
	line-height: 1.5;
}

.egl-mp-wizard-summary {
	margin: 0;
	padding-left: 1.15rem;
}

.egl-mp-wizard-summary li {
	margin-bottom: 0.35rem;
}

.egl-mp-wizard-modal__actions {
	margin: 1rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
