.ejc {
	--ejc-red: #e01b1c;
	--ejc-red-dark: #b71516;
	--ejc-ink: #1e1e1c;
	--ejc-paper: #fffcfc;
	--ejc-grey: #5c5a56;
	--ejc-line: rgba(30, 30, 28, 0.18);
	--ejc-display: owners, "Source Sans 3", system-ui, sans-serif;
	--ejc-body: "Source Sans 3", system-ui, sans-serif;
	font-family: var(--ejc-body);
	color: var(--ejc-ink);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
.ejc *, .ejc *::before, .ejc *::after { box-sizing: border-box; }
.ejc [hidden] { display: none !important; }

.ejc-form { display: flex; flex-direction: column; gap: 28px; margin: 0; }
.ejc-paso { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ejc-paso legend { padding: 0; margin-bottom: 12px; font-family: var(--ejc-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.ejc-n { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--ejc-red); color: var(--ejc-paper); border-radius: 4px; font-size: 14px; }

.ejc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .ejc-grid-2 { grid-template-columns: 1fr; } }

.ejc label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.ejc input[type="text"], .ejc input:not([type]), .ejc input[type="email"], .ejc input[type="tel"], .ejc select {
	height: 48px; padding: 0 14px; border: 1px solid var(--ejc-line); border-radius: 4px;
	background: #fff; color: var(--ejc-ink); font: 400 16px var(--ejc-body); width: 100%;
}
.ejc input:focus, .ejc select:focus, .ejc button:focus-visible, .ejc-card:focus-within {
	outline: 2px solid var(--ejc-red); outline-offset: 2px;
}

/* Modalidad */
.ejc-card { position: relative; border: 1px solid var(--ejc-line); border-radius: 6px; padding: 16px 18px; cursor: pointer; background: #fff; gap: 2px; }
.ejc-card input { position: absolute; opacity: 0; pointer-events: none; }
.ejc-card-t { font-family: var(--ejc-display); font-weight: 700; font-size: 17px; }
.ejc-card-p { font-weight: 400; color: var(--ejc-grey); }
.ejc-card:has(input:checked) { background: var(--ejc-ink); border-color: var(--ejc-ink); color: var(--ejc-paper); }
.ejc-card:has(input:checked) .ejc-card-p { color: #d9d5d0; }

/* Días y horas */
.ejc-dias, .ejc-horas { display: flex; flex-wrap: wrap; gap: 8px; }
.ejc-chip {
	min-height: 48px; padding: 0 16px; border: 1px solid var(--ejc-line); border-radius: 4px;
	background: #fff; color: var(--ejc-ink); font: 600 15px var(--ejc-body); cursor: pointer;
}
.ejc-chip:hover { border-color: var(--ejc-ink); }
.ejc-chip[aria-pressed="true"] { background: var(--ejc-red); border-color: var(--ejc-red); color: var(--ejc-paper); }
.ejc-nota { margin: 0; color: var(--ejc-grey); font-size: 14px; }
.ejc-nota a { color: var(--ejc-red); font-weight: 600; }

.ejc-lugar { margin-top: 4px; }

/* Pago */
.ejc-pago { background: var(--ejc-ink); color: var(--ejc-paper); border-radius: 6px; padding: 18px 20px; }
.ejc-pago-t { margin: 0 0 10px; font-family: var(--ejc-display); font-size: 18px; }
.ejc-pago-t strong { color: #ff5a5b; }
.ejc-pago-datos { font-size: 15px; line-height: 1.6; color: #e6e2de; }
.ejc-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ejc-file { position: relative; }
.ejc-file-box {
	display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px;
	border: 1px dashed rgba(30, 30, 28, 0.4); border-radius: 4px; font-weight: 400; color: var(--ejc-grey);
	cursor: pointer; word-break: break-all; text-align: center;
}
.ejc-file-box.is-ok { border-style: solid; border-color: var(--ejc-ink); color: var(--ejc-ink); font-weight: 600; }

.ejc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ejc-error { margin: 0; padding: 12px 14px; background: #fdecec; border-left: 3px solid var(--ejc-red); color: #8f1011; font-weight: 600; }
.ejc-enviar {
	height: 58px; border: 0; border-radius: 4px; background: var(--ejc-red); color: var(--ejc-paper);
	font: 700 18px var(--ejc-display); cursor: pointer;
}
.ejc-enviar:hover { background: var(--ejc-red-dark); }
.ejc-enviar:disabled { opacity: 0.6; cursor: wait; }

.ejc-exito { background: var(--ejc-red); color: var(--ejc-paper); border-radius: 6px; padding: 28px; outline: none; }
.ejc-exito p { margin: 0; font-size: 17px; }
.ejc-exito-t { font-family: var(--ejc-display); font-weight: 300; font-size: 34px !important; line-height: 1.1; margin-bottom: 12px !important; }
.ejc-exito-t strong { font-weight: 800; }

/* v1.1: íconos, métodos de pago y datos para copiar */
.ejc-ico { flex: 0 0 auto; }
.ejc-card { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
.ejc-card .ejc-ico { grid-row: 1 / span 2; color: var(--ejc-red); }
.ejc-card:has(input:checked) .ejc-ico { color: var(--ejc-paper); }
.ejc-card-pago:has(input:checked) { background: var(--ejc-red); border-color: var(--ejc-red); }
.ejc-card-pago:has(input:checked) .ejc-card-p { color: #ffe3e3; }
.ejc-monto { font-family: var(--ejc-body); font-weight: 400; font-size: 15px; color: var(--ejc-grey); }
.ejc-monto strong { color: var(--ejc-ink); }
.ejc-ayuda { font-weight: 400; font-size: 13px; color: var(--ejc-grey); }
.ejc-pago { margin-top: 4px; }
.ejc-pago-t strong { color: #ff6b6c; }
.ejc-datos { margin: 0; display: flex; flex-direction: column; }
.ejc-dato { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 252, 252, 0.14); }
.ejc-dato:first-child { border-top: 0; padding-top: 0; }
.ejc-dato dt { color: #b9b4af; font-size: 14px; }
.ejc-dato dd { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; word-break: break-all; text-align: right; }
.ejc-copiar {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px;
	border: 1px solid rgba(255, 252, 252, 0.3); border-radius: 4px; background: transparent;
	color: var(--ejc-paper); font: 600 13px var(--ejc-body); cursor: pointer; white-space: nowrap;
}
.ejc-copiar:hover { background: rgba(255, 252, 252, 0.1); }
.ejc-copiar .ejc-ico { width: 16px; height: 16px; }
.ejc-pago-nota { margin: 12px 0 0; font-size: 14px; color: #d9d5d0; }
.ejc-file-box { gap: 8px; }
.ejc-file-box .ejc-ico { width: 18px; height: 18px; }
@media (max-width: 560px) {
	.ejc-dato { flex-direction: column; align-items: flex-start; }
	.ejc-dato dd { text-align: left; }
}
.ejc .ejc-card { display: grid; grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
.ejc .ejc-card input { grid-column: 1; }
