/* =========================================================================
 * Create A Event Form (The Events Calendar)
 * Shortcode: [digitex_event_form]
 *
 * Responsive by the form's OWN width (container queries), so it adapts to a
 * full-width Elementor section, a narrow theme column, a sidebar or a phone.
 * Form controls use doubled class selectors (.dxe.dxe) so Elementor
 * "Site Settings" / theme input & button styles cannot break the layout.
 * ========================================================================= */

.dxe {
	--dxe-red: #f2294e;
	--dxe-red-dark: #d11c3e;
	--dxe-red-soft: #fff0f3;
	--dxe-ink: #17111a;
	--dxe-muted: #6d6570;
	--dxe-line: #e7e1e5;
	--dxe-bg: #f5f3f4;
	--dxe-card: #ffffff;
	--dxe-maroon-1: #1b040a;
	--dxe-maroon-2: #5c0c1f;
	--dxe-radius: 14px;
	--dxe-field-radius: 10px;
	--dxe-btn-radius: 6px;
	--dxe-gap: 24px;
	--dxe-pad: 28px;
	--dxe-shadow: 0 1px 2px rgba(23, 17, 26, .04), 0 10px 30px rgba(23, 17, 26, .06);
	--dxe-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	font-family: var(--dxe-font);
	color: var(--dxe-ink);
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
	box-sizing: border-box;
	container-type: inline-size;
	container-name: dxe;
	-webkit-font-smoothing: antialiased;
}
.dxe *, .dxe *::before, .dxe *::after { box-sizing: border-box; }
.dxe.dxe img { max-width: 100%; height: auto; box-shadow: none; border-radius: 0; }
.dxe.dxe label, .dxe.dxe button, .dxe.dxe select, .dxe.dxe .dxe__drop * { font-family: var(--dxe-font); }
.dxe__icon { flex: none; display: inline-block; vertical-align: middle; }

/* Hero -------------------------------------------------------------------- */
.dxe__hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 48px 48px 44px;
	border-radius: 20px;
	color: #fff;
	background:
		radial-gradient(110% 140% at 100% 0%, rgba(242, 41, 78, .5) 0%, rgba(242, 41, 78, 0) 55%),
		linear-gradient(135deg, var(--dxe-maroon-1) 0%, var(--dxe-maroon-2) 100%);
	margin-bottom: var(--dxe-gap);
}
.dxe__hero::before,
.dxe__hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.dxe__hero::after {
	right: -70px; bottom: -110px;
	width: 300px; height: 300px;
	border: 44px solid rgba(255, 255, 255, .05);
}
.dxe__hero::before {
	right: 140px; top: -60px;
	width: 120px; height: 120px;
	background: rgba(242, 41, 78, .18);
	filter: blur(30px);
}
.dxe__hero-inner { position: relative; z-index: 1; max-width: 640px; min-width: 0; }
.dxe.dxe .dxe__eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--dxe-red);
	margin: 0 0 12px;
}
.dxe.dxe .dxe__title {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--dxe-font);
	font-size: clamp(26px, 4.2cqi, 40px);
	line-height: 1.12;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.01em;
	text-transform: none;
}
.dxe__title .dxe__hl { color: var(--dxe-red); }
.dxe.dxe .dxe__subtitle { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }
.dxe__user {
	position: relative; z-index: 1;
	flex: none;
	display: flex; align-items: center; gap: 12px;
	padding: 8px 20px 8px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .15);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	max-width: 100%;
}
.dxe.dxe .dxe__user img { width: 44px; height: 44px; border-radius: 50%; display: block; margin: 0; flex: none; background: rgba(255, 255, 255, .15); }
.dxe__user > div { min-width: 0; }
.dxe__user span { display: block; font-size: 11px; color: rgba(255, 255, 255, .65); line-height: 1.2; }
.dxe__user strong { display: block; font-size: 14px; color: #fff; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Notices ----------------------------------------------------------------- */
.dxe__notice {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: var(--dxe-gap);
	border: 1px solid;
	animation: dxe-in .35s ease-out;
}
.dxe__notice .dxe__icon { width: 24px; height: 24px; margin-top: 1px; }
.dxe__notice strong { display: block; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.dxe.dxe .dxe__notice p, .dxe.dxe .dxe__notice ul { margin: 0; }
.dxe__notice ul { padding-left: 18px; }
.dxe__notice--success { background: #ecfbf2; border-color: #b8ebcd; color: #0f6b3a; }
.dxe__notice--error { background: var(--dxe-red-soft); border-color: #ffc6d1; color: #a3132f; }
@keyframes dxe-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Layout ------------------------------------------------------------------ */
.dxe__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
	gap: var(--dxe-gap);
	align-items: start;
}
.dxe__main { min-width: 0; }
.dxe__side { display: flex; flex-direction: column; gap: var(--dxe-gap); position: sticky; top: 100px; min-width: 0; }
.dxe__card {
	background: var(--dxe-card);
	border: 1px solid var(--dxe-line);
	border-radius: var(--dxe-radius);
	box-shadow: var(--dxe-shadow);
	padding: var(--dxe-pad);
	min-width: 0;
}
.dxe__card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.dxe__step {
	flex: none;
	width: 32px; height: 32px;
	border-radius: 8px;
	display: grid; place-items: center;
	font-weight: 700; font-size: 14px;
	color: #fff;
	background: var(--dxe-red);
	box-shadow: 0 6px 14px rgba(242, 41, 78, .28);
}
.dxe.dxe .dxe__card-head h3 {
	margin: 0 0 2px; padding: 0;
	font-family: var(--dxe-font);
	font-size: 17px; font-weight: 600;
	color: var(--dxe-ink); line-height: 1.35;
	text-transform: none; letter-spacing: 0;
}
.dxe.dxe .dxe__card-head p { margin: 0; font-size: 13px; color: var(--dxe-muted); line-height: 1.5; }

/* Fields ------------------------------------------------------------------ */
.dxe__field { position: relative; margin-bottom: 20px; }
.dxe__field:last-child { margin-bottom: 0; }
.dxe.dxe .dxe__field > label {
	display: flex; align-items: center; gap: 6px;
	width: auto;
	font-family: var(--dxe-font);
	font-size: 13px; font-weight: 600;
	color: var(--dxe-ink);
	margin: 0 0 8px; padding: 0;
	line-height: 1.4;
	text-transform: none; letter-spacing: 0;
}
.dxe__req { color: var(--dxe-red); }
.dxe__opt {
	margin-left: auto;
	font-size: 11px; font-weight: 500;
	color: var(--dxe-muted);
	background: var(--dxe-bg);
	padding: 2px 9px;
	border-radius: 999px;
}

/* Text inputs, textarea, select — reset theme/Elementor styles */
.dxe.dxe .dxe__form input[type="text"],
.dxe.dxe .dxe__form input[type="url"],
.dxe.dxe .dxe__form input[type="email"],
.dxe.dxe .dxe__form input[type="tel"],
.dxe.dxe .dxe__form input[type="date"],
.dxe.dxe .dxe__form input[type="time"],
.dxe.dxe textarea,
.dxe.dxe select {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	font-family: var(--dxe-font);
	font-size: 16px; /* 16px stops iOS zooming in on focus */
	font-weight: 400;
	line-height: 1.5;
	color: var(--dxe-ink);
	background: #fff;
	border: 1.5px solid var(--dxe-line);
	border-radius: var(--dxe-field-radius);
	padding: 12px 14px;
	min-height: 50px;
	height: auto;
	box-shadow: none;
	outline: none;
	transition: border-color .15s, box-shadow .15s, background .15s;
	-webkit-appearance: none;
	appearance: none;
}
.dxe.dxe #le_title { font-size: 18px; font-weight: 600; padding: 14px 16px; min-height: 56px; }
.dxe.dxe textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.dxe.dxe .dxe__form input::placeholder, .dxe.dxe textarea::placeholder { color: #a59ea7; font-weight: 400; opacity: 1; }
.dxe.dxe .dxe__form input[type="text"]:hover, .dxe.dxe .dxe__form input[type="url"]:hover,
.dxe.dxe .dxe__form input[type="email"]:hover, .dxe.dxe .dxe__form input[type="tel"]:hover,
.dxe.dxe .dxe__form input[type="date"]:hover, .dxe.dxe .dxe__form input[type="time"]:hover,
.dxe.dxe textarea:hover, .dxe.dxe select:hover { border-color: #d6ccd2; }
.dxe.dxe .dxe__form input[type="text"]:focus, .dxe.dxe .dxe__form input[type="url"]:focus,
.dxe.dxe .dxe__form input[type="email"]:focus, .dxe.dxe .dxe__form input[type="tel"]:focus,
.dxe.dxe .dxe__form input[type="date"]:focus, .dxe.dxe .dxe__form input[type="time"]:focus,
.dxe.dxe textarea:focus, .dxe.dxe select:focus {
	border-color: var(--dxe-red);
	box-shadow: 0 0 0 4px rgba(242, 41, 78, .12);
	outline: none;
}
.dxe.dxe .dxe__form input.is-invalid, .dxe.dxe textarea.is-invalid { border-color: var(--dxe-red); background: #fffafb; }
.dxe .dxe__field--editor.is-invalid .wp-editor-container { border-color: var(--dxe-red); }

.dxe__select { position: relative; }
.dxe__select::after {
	content: "";
	position: absolute; right: 18px; top: 50%;
	width: 8px; height: 8px;
	border-right: 2px solid var(--dxe-muted); border-bottom: 2px solid var(--dxe-muted);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.dxe.dxe .dxe__select select { padding-right: 44px; cursor: pointer; background-image: none; }

.dxe__meta { display: block; text-align: right; font-size: 12px; color: var(--dxe-muted); margin-top: 6px; }
.dxe__meta--left { text-align: left; }
.dxe__meta.is-over, .dxe__meta.is-low { color: var(--dxe-red); }
.dxe__hint { display: block; font-size: 12px; color: var(--dxe-muted); margin-top: 6px; line-height: 1.5; }
.dxe.dxe .dxe__hint--warn { color: #a3132f; margin: 10px 0 0; }
.dxe__field-error { display: block; font-size: 12px; color: var(--dxe-red); margin-top: 6px; font-weight: 500; }
.dxe__drop + .dxe__field-error,
.dxe__check + .dxe__field-error { margin: -10px 0 16px; }

/* Editor (wp_editor / TinyMCE) -------------------------------------------- */
.dxe .wp-editor-wrap { border-radius: var(--dxe-field-radius); }
.dxe .wp-editor-container {
	border: 1.5px solid var(--dxe-line);
	border-radius: var(--dxe-field-radius);
	overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}
.dxe .wp-editor-wrap.is-focused .wp-editor-container { border-color: var(--dxe-red); box-shadow: 0 0 0 4px rgba(242, 41, 78, .12); }
.dxe .mce-tinymce.mce-container { border: 0 !important; box-shadow: none !important; }
.dxe .mce-top-part::before { box-shadow: none !important; }
.dxe .mce-toolbar-grp { background: #faf8f9 !important; border-bottom: 1px solid var(--dxe-line) !important; padding: 4px !important; }
.dxe .mce-btn { background: transparent !important; border-radius: 6px !important; }
.dxe .mce-btn:hover, .dxe .mce-btn.mce-active { background: #fff !important; }
.dxe .mce-btn button { min-height: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 4px 6px !important; }
.dxe .mce-btn button, .dxe .mce-btn span, .dxe .mce-txt { font-family: var(--dxe-font) !important; }
.dxe .mce-statusbar { border-top: 1px solid var(--dxe-line) !important; }
.dxe.dxe .wp-editor-area { border: 0; border-radius: 0; min-height: 340px; box-shadow: none; }
.dxe .wp-editor-tabs, .dxe .wp-media-buttons { display: none; }
.dxe.dxe textarea#le_content { min-height: 340px; }

/* Dropzone ---------------------------------------------------------------- */
.dxe.dxe .dxe__drop {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	min-height: 170px;
	margin: 0 0 18px; padding: 0;
	border: 2px dashed #e0d4db;
	border-radius: 12px;
	background: linear-gradient(180deg, #fffbfc, #fdf2f5);
	cursor: pointer;
	overflow: hidden;
	transition: border-color .15s, background .15s, transform .15s;
}
.dxe.dxe .dxe__drop:hover, .dxe.dxe .dxe__drop.is-drag { border-color: var(--dxe-red); background: var(--dxe-red-soft); }
.dxe__drop.is-drag { transform: scale(1.01); }
.dxe.dxe .dxe__drop.is-invalid { border-color: var(--dxe-red); }
.dxe.dxe .dxe__drop input[type="file"] {
	position: absolute; inset: 0;
	opacity: 0; width: 100%; height: 100%;
	margin: 0; padding: 0; border: 0;
	cursor: pointer;
}
.dxe__drop-empty {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	text-align: center; padding: 16px;
	pointer-events: none;
}
.dxe__drop-empty[hidden] { display: none; }
.dxe__drop-icon {
	width: 54px; height: 54px; border-radius: 14px;
	display: grid; place-items: center;
	background: #fff; color: var(--dxe-red);
	box-shadow: 0 8px 18px rgba(242, 41, 78, .16);
	margin-bottom: 8px;
}
.dxe__drop-icon .dxe__icon { width: 24px; height: 24px; }
.dxe__drop-empty strong { font-size: 14px; font-weight: 600; color: var(--dxe-ink); }
.dxe__drop-empty span { font-size: 12px; color: var(--dxe-muted); }
.dxe__drop-preview { position: absolute; inset: 0; z-index: 2; }
.dxe__drop-preview[hidden] { display: none; }
.dxe.dxe .dxe__drop-preview img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.dxe__drop-preview::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
	background: linear-gradient(transparent, rgba(0, 0, 0, .6));
	pointer-events: none;
}
.dxe__drop-name {
	position: absolute; left: 14px; right: 56px; bottom: 12px; z-index: 1;
	color: #fff; font-size: 12px; font-weight: 500;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dxe.dxe .dxe__drop-remove {
	position: absolute; top: 10px; right: 10px; z-index: 3;
	width: 36px; height: 36px; min-height: 0; min-width: 0;
	padding: 0; margin: 0;
	border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .55); color: #fff;
	font-family: var(--dxe-font); font-size: 22px; line-height: 1;
	cursor: pointer;
	display: grid; place-items: center;
	box-shadow: none;
	transition: background .15s;
}
.dxe.dxe .dxe__drop-remove:hover, .dxe.dxe .dxe__drop-remove:focus { background: var(--dxe-red); color: #fff; }

/* Checkbox ---------------------------------------------------------------- */
.dxe.dxe .dxe__check {
	position: relative;
	display: flex; gap: 12px; align-items: flex-start;
	font-size: 13px; font-weight: 400; color: var(--dxe-muted);
	cursor: pointer; margin: 0 0 18px; line-height: 1.5;
	text-transform: none; letter-spacing: 0;
}
.dxe.dxe .dxe__check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dxe__check-box {
	flex: none; width: 22px; height: 22px; margin-top: 1px;
	border-radius: 6px;
	border: 1.5px solid #cdc2c9;
	background: #fff;
	display: grid; place-items: center;
	color: transparent;
	transition: all .15s;
}
.dxe__check-box .dxe__icon { width: 14px; height: 14px; stroke-width: 3; }
.dxe__check input:checked + .dxe__check-box { background: var(--dxe-red); border-color: var(--dxe-red); color: #fff; }
.dxe__check input:focus-visible + .dxe__check-box { box-shadow: 0 0 0 4px rgba(242, 41, 78, .18); }
.dxe__check.is-invalid .dxe__check-box { border-color: var(--dxe-red); }

/* Buttons (same style as the site's red "SEND FEEDBACK" / "VIEW ALL") ----- */
.dxe.dxe .dxe__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	width: auto; min-height: 48px; height: auto;
	margin: 0;
	font-family: var(--dxe-font);
	font-size: 13px; font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1.2;
	padding: 14px 28px;
	border-radius: var(--dxe-btn-radius);
	border: 2px solid transparent;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.dxe.dxe .dxe__btn--primary { background: var(--dxe-red); border-color: var(--dxe-red); color: #fff; box-shadow: 0 10px 24px rgba(242, 41, 78, .28); }
.dxe.dxe .dxe__btn--primary:hover,
.dxe.dxe .dxe__btn--primary:focus-visible { background: var(--dxe-red-dark); border-color: var(--dxe-red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(242, 41, 78, .34); }
.dxe.dxe .dxe__btn--ghost { background: transparent; color: var(--dxe-ink); border-color: var(--dxe-ink); box-shadow: none; }
.dxe.dxe .dxe__btn--ghost:hover { background: var(--dxe-ink); color: #fff; }
.dxe.dxe .dxe__btn--block { display: flex; width: 100%; padding: 16px 24px; font-size: 14px; }
.dxe.dxe .dxe__btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.dxe__btn .dxe__icon { width: 18px; height: 18px; }
.dxe__submit.is-loading .dxe__icon { animation: dxe-fly 1s ease-in-out infinite; }
@keyframes dxe-fly { 50% { transform: translate(3px, -3px); } }
.dxe.dxe .dxe__review-note {
	display: flex; gap: 8px; align-items: flex-start;
	margin: 14px 0 0;
	font-size: 12px; color: var(--dxe-muted); line-height: 1.5;
}
.dxe__review-note .dxe__icon { width: 16px; height: 16px; margin-top: 1px; color: var(--dxe-red); }
.dxe__card--submit { background: linear-gradient(180deg, #fff, #fff6f8); }

/* Honeypot ---------------------------------------------------------------- */
.dxe__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Login gate -------------------------------------------------------------- */
.dxe__gate {
	text-align: center;
	background: var(--dxe-card);
	border: 1px solid var(--dxe-line);
	border-radius: var(--dxe-radius);
	box-shadow: var(--dxe-shadow);
	padding: 60px 28px;
}
.dxe__gate-icon {
	width: 72px; height: 72px; margin: 0 auto 18px;
	border-radius: 20px;
	display: grid; place-items: center;
	background: var(--dxe-red-soft); color: var(--dxe-red);
}
.dxe__gate-icon .dxe__icon { width: 32px; height: 32px; }
.dxe.dxe .dxe__gate h3 { margin: 0 0 8px; padding: 0; font-family: var(--dxe-font); font-size: 22px; font-weight: 700; color: var(--dxe-ink); line-height: 1.3; text-transform: none; }
.dxe.dxe .dxe__gate p { margin: 0 auto 26px; max-width: 460px; color: var(--dxe-muted); }
.dxe__gate-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* My submissions ---------------------------------------------------------- */
.dxe__mine {
	margin-top: var(--dxe-gap);
	background: var(--dxe-card);
	border: 1px solid var(--dxe-line);
	border-radius: var(--dxe-radius);
	box-shadow: var(--dxe-shadow);
	padding: var(--dxe-pad);
}
.dxe.dxe .dxe__mine h3 { margin: 0 0 14px; padding: 0; font-family: var(--dxe-font); font-size: 17px; font-weight: 600; color: var(--dxe-ink); text-transform: none; }
.dxe.dxe .dxe__mine ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.dxe.dxe .dxe__mine li {
	display: flex; align-items: center; gap: 12px;
	padding: 10px; margin: 0; min-width: 0;
	border: 1px solid var(--dxe-line);
	border-radius: 10px;
	list-style: none;
}
.dxe__mine li::before, .dxe__mine li::marker { content: none; }
.dxe__mine-thumb {
	flex: none; width: 48px; height: 48px; border-radius: 8px; overflow: hidden;
	background: var(--dxe-bg); color: #b9b0b6;
	display: grid; place-items: center;
}
.dxe.dxe .dxe__mine-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.dxe__mine-body { flex: 1; min-width: 0; }
.dxe.dxe .dxe__mine-body a, .dxe.dxe .dxe__mine-body strong {
	display: block; font-size: 14px; font-weight: 600; color: var(--dxe-ink);
	text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dxe.dxe .dxe__mine-body a:hover { color: var(--dxe-red); }
.dxe__mine-body small { font-size: 12px; color: var(--dxe-muted); }
.dxe__badge {
	flex: none;
	font-size: 11px; font-weight: 600;
	padding: 4px 10px; border-radius: 999px;
	background: #fff4e0; color: #9a5b00;
	white-space: nowrap;
}
.dxe__badge--publish { background: #e6f8ee; color: #0f6b3a; }
.dxe__badge--future { background: #eaf1ff; color: #2350a8; }

/* Event-specific components ------------------------------------------------ */
.dxe.dxe .dxe__label { display: block; font-size: 13px; font-weight: 600; color: var(--dxe-ink); margin: 0 0 10px; }

/* Date & time */
.dxe__dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dxe__dates .dxe__field { margin-bottom: 0; }
.dxe__dt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; }
.dxe__dates.is-all-day .dxe__dt { grid-template-columns: minmax(0, 1fr); }
.dxe__dates.is-all-day input[type="time"] { display: none !important; }
.dxe.dxe .dxe__form input[type="date"], .dxe.dxe .dxe__form input[type="time"] { cursor: pointer; padding-right: 10px; }
.dxe.dxe .dxe__form input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.dxe__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; }
.dxe__field--inline { display: flex; align-items: center; gap: 10px; margin: 0; flex: 1 1 260px; max-width: 360px; }
.dxe.dxe .dxe__field--inline > label { margin: 0; white-space: nowrap; }
.dxe__field--inline .dxe__select { flex: 1; min-width: 0; }
.dxe__summary { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--dxe-red-soft); color: #8d1530; font-size: 13px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.dxe__summary:empty { display: none; }

/* Switch */
.dxe.dxe .dxe__switch { position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--dxe-ink); }
.dxe.dxe .dxe__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dxe__switch-ui { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d9d0d6; transition: background .2s; flex: none; }
.dxe__switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.dxe__switch input:checked + .dxe__switch-ui { background: var(--dxe-red); }
.dxe__switch input:checked + .dxe__switch-ui::after { transform: translateX(18px); }
.dxe__switch input:focus-visible + .dxe__switch-ui { box-shadow: 0 0 0 4px rgba(242, 41, 78, .18); }

/* Segmented choice (venue / organizer mode) */
.dxe__seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin: 0 0 20px; background: var(--dxe-bg); border-radius: 12px; }
.dxe.dxe .dxe__seg label { position: relative; flex: 1 1 auto; margin: 0; cursor: pointer; }
.dxe.dxe .dxe__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dxe__seg span { display: block; text-align: center; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--dxe-muted); white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.dxe__seg input:checked + span { background: #fff; color: var(--dxe-red); box-shadow: 0 1px 2px rgba(23, 17, 26, .08), 0 4px 10px rgba(23, 17, 26, .06); }
.dxe__seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242, 41, 78, .25); }
.dxe__panel[hidden] { display: none !important; }
.dxe__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.dxe__col-full { grid-column: 1 / -1; }
.dxe__maps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 6px; }
.dxe.dxe .dxe__maps .dxe__check { margin: 0; }
.dxe.dxe .dxe__link-btn {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 8px 14px; min-height: 0;
	font-family: var(--dxe-font); font-size: 13px; font-weight: 600; color: var(--dxe-red); text-transform: none; letter-spacing: 0;
	background: var(--dxe-red-soft); border: 1px dashed #f6a7b8; border-radius: 8px; cursor: pointer; box-shadow: none;
}
.dxe.dxe .dxe__link-btn:hover { background: #ffe3e9; color: var(--dxe-red-dark); }
.dxe__link-btn .dxe__icon { width: 16px; height: 16px; }

/* Category chips */
.dxe__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dxe.dxe .dxe__chip { position: relative; margin: 0; cursor: pointer; }
.dxe.dxe .dxe__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dxe__chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--dxe-line); background: #fff; font-size: 13px; font-weight: 500; color: var(--dxe-ink); transition: all .15s; }
.dxe__chip:hover span { border-color: #d6ccd2; }
.dxe__chip input:checked + span { background: var(--dxe-red); border-color: var(--dxe-red); color: #fff; }
.dxe__chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242, 41, 78, .25); }

/* Cost with currency symbol */
.dxe__money { position: relative; }
.dxe__money-sym { position: absolute; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--dxe-muted); pointer-events: none; }
.dxe__money--prefix .dxe__money-sym { left: 15px; }
.dxe__money--suffix .dxe__money-sym { right: 15px; }
.dxe.dxe .dxe__form .dxe__money--prefix input { padding-left: 34px; }
.dxe.dxe .dxe__form .dxe__money--suffix input { padding-right: 34px; }

/* "Your submitted events" date badge */
.dxe__mine-date { flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--dxe-red-soft); color: var(--dxe-red); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.dxe__mine-date b { font-size: 18px; font-weight: 700; }
.dxe__mine-date small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

/* =========================================================================
 * Responsive — based on the space the form actually has
 * ========================================================================= */

/* Tablet / medium columns: one column, side cards in two columns */
@container dxe (max-width: 880px) {
	.dxe__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dxe { --dxe-gap: 20px; }
	.dxe__grid { grid-template-columns: minmax(0, 1fr); }
	.dxe__side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
	.dxe__card--submit { grid-column: 1 / -1; }
	.dxe__hero { padding: 40px 36px 36px; }
}

/* Large phones / narrow columns: everything stacked */
@container dxe (max-width: 600px) {
	.dxe__dates { grid-template-columns: minmax(0, 1fr); }
	.dxe__cols { grid-template-columns: minmax(0, 1fr); }
	.dxe__field--inline { flex-direction: column; align-items: stretch; max-width: none; gap: 8px; }
	.dxe__seg span { white-space: normal; padding: 9px 8px; }
	.dxe { --dxe-gap: 16px; --dxe-pad: 20px; }
	.dxe__side { grid-template-columns: minmax(0, 1fr); }
	.dxe__hero { flex-direction: column; align-items: flex-start; padding: 30px 22px 26px; border-radius: 16px; gap: 20px; }
	.dxe__hero::before { display: none; }
	.dxe.dxe .dxe__subtitle { font-size: 14px; }
	.dxe__card-head { margin-bottom: 18px; }
	.dxe.dxe .wp-editor-area, .dxe.dxe textarea#le_content { min-height: 260px; }
	.dxe__gate { padding: 44px 20px; }
	.dxe__gate-actions .dxe__btn { flex: 1 1 100%; }
}

/* Small phones */
@container dxe (max-width: 380px) {
	.dxe__seg { flex-direction: column; }
	.dxe { --dxe-pad: 16px; }
	.dxe__hero { padding: 26px 18px 22px; }
	.dxe__card-head { gap: 12px; }
	.dxe__step { width: 28px; height: 28px; font-size: 13px; }
	.dxe.dxe #le_title { font-size: 17px; }
	.dxe__badge { padding: 3px 8px; font-size: 10px; }
}

/* Fallback for very old browsers without container queries */
@supports not (container-type: inline-size) {
	@media (max-width: 960px) {
		.dxe__grid { grid-template-columns: minmax(0, 1fr); }
		.dxe__side { position: static; }
	}
	@media (max-width: 640px) {
		.dxe__hero { flex-direction: column; align-items: flex-start; padding: 30px 22px; }
		.dxe__card, .dxe__mine { padding: 20px; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.dxe *, .dxe *::before, .dxe *::after { animation: none !important; transition: none !important; }
}
