/* Donación Express — public guest flow (PDF right-column screens) */
:root {
	--dex-cyan: #00AEEF;
	--dex-teal: #0AA3B8;
	--dex-lime: #D4ED00;
	--dex-lime-text: #2D2D2D;
	--dex-bg: #F3F5F7;
	--dex-card: #FFFFFF;
	--dex-muted: #6B7280;
	--dex-text: #1F2937;
	--dex-border: #E5E7EB;
	--dex-radius: 20px;
	--dex-radius-sm: 12px;
}

.dex-body {
	margin: 0;
	font-family: 'Noto Sans', sans-serif;
	background: var(--dex-bg);
	color: var(--dex-text);
	min-height: 100vh;
}

.dex-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	background: #fff;
	border-bottom: 1px solid var(--dex-border);
}

.dex-header__logo img {
	height: 48px;
	width: auto;
	display: block;
}

.dex-header__back {
	color: var(--dex-cyan);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.dex-header__back:hover {
	text-decoration: underline;
}

.dex-main {
	padding: 28px 16px 48px;
}

.dex-shell {
	max-width: 720px;
	margin: 0 auto;
}

.dex-shell--chooser {
	max-width: 920px;
}

.dex-chooser {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
	margin-top: 8px;
}

.dex-chooser-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 28px 24px 24px;
	background: var(--dex-card);
	border: 1px solid var(--dex-border);
	border-radius: var(--dex-radius);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	min-height: 100%;
}

.dex-chooser-card--featured {
	padding-top: 48px;
}

.dex-chooser-card__ribbon {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: block;
	padding: 8px 16px;
	background: var(--dex-cyan);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.dex-chooser-card__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--dex-muted);
}

.dex-chooser-card__title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--dex-text);
}

.dex-chooser-card__copy {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dex-muted);
	flex: 1 1 auto;
}

.dex-chooser-card__cta {
	width: 100%;
	margin-top: auto;
}

@media (max-width: 767.98px) {
	.dex-chooser {
		grid-template-columns: 1fr;
	}
}

.dex-intro {
	text-align: center;
	margin-bottom: 20px;
}

.dex-intro__heart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 174, 239, 0.12);
	color: var(--dex-cyan);
	margin-bottom: 12px;
}

.dex-intro__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--dex-text);
}

.dex-intro__lead {
	margin: 0 auto;
	max-width: 540px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dex-muted);
}

.dex-card {
	background: var(--dex-card);
	border-radius: var(--dex-radius);
	padding: 28px 24px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.dex-card__header {
	margin-bottom: 20px;
}

.dex-card__header--center {
	text-align: center;
}

.dex-card__glyph {
	display: inline-flex;
	color: var(--dex-cyan);
	margin-bottom: 8px;
}

.dex-card__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dex-cyan);
}

.dex-card__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.dex-card__subtitle {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dex-muted);
}

.dex-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.dex-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dex-field label {
	font-size: 13px;
	font-weight: 600;
}

.dex-optional {
	font-weight: 400;
	color: var(--dex-muted);
}

.dex-field input[type="text"],
.dex-field input[type="email"],
.dex-field input[type="number"],
.dex-input-prefix input {
	width: 100%;
	border: 1px solid var(--dex-border);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	background: #F9FAFB;
}

/* Hide native number steppers (Chrome/Safari/Firefox) */
.dex-field input[type="number"]::-webkit-outer-spin-button,
.dex-field input[type="number"]::-webkit-inner-spin-button,
.dex-input-prefix input[type="number"]::-webkit-outer-spin-button,
.dex-input-prefix input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dex-field input[type="number"],
.dex-input-prefix input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.dex-field input:focus,
.dex-input-prefix input:focus {
	outline: 2px solid rgba(0, 174, 239, 0.35);
	border-color: var(--dex-cyan);
	background: #fff;
}

.dex-hint {
	font-size: 12px;
	color: var(--dex-muted);
}

.dex-hint--block {
	display: block;
	margin: 12px 0 20px;
}

.dex-pay-methods {
	border: 0;
	padding: 0;
	margin: 0 0 20px;
}

.dex-pay-methods legend {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 10px;
}

.dex-pay-methods__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.dex-pay-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border: 2px solid var(--dex-border);
	border-radius: var(--dex-radius-sm);
	cursor: pointer;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dex-pay-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dex-pay-card.is-selected {
	border-color: var(--dex-cyan);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.dex-pay-card__icon {
	color: var(--dex-cyan);
}

.dex-pay-card__title {
	font-weight: 700;
	font-size: 15px;
}

.dex-pay-card__desc {
	font-size: 13px;
	color: var(--dex-muted);
	line-height: 1.4;
}

.dex-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	margin-bottom: 20px;
}

.dex-checkbox input {
	margin-top: 3px;
}

.dex-checkbox a {
	color: var(--dex-cyan);
	font-weight: 600;
}

.dex-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.dex-actions--end {
	justify-content: flex-end;
}

.dex-actions--stack {
	flex-direction: column;
	align-items: stretch;
}

.dex-actions--cta-fit {
	align-items: center;
}

.dex-actions--cta-fit .dex-btn {
	width: auto;
	min-width: 0;
}

.dex-actions--cta-fit .dex-link-back {
	align-self: flex-start;
}

.dex-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	border: 0;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.dex-btn--primary {
	background: var(--dex-lime);
	color: var(--dex-lime-text);
}

.dex-btn--primary:hover {
	filter: brightness(0.97);
	color: var(--dex-lime-text);
	text-decoration: none;
}

.dex-btn--primary:disabled,
.dex-btn--primary[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	filter: none;
}

.dex-btn--primary:disabled:hover,
.dex-btn--primary[aria-disabled="true"]:hover {
	filter: none;
	color: var(--dex-lime-text);
}

.dex-btn--block {
	width: 100%;
}

.dex-link-back {
	color: var(--dex-cyan);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.dex-link-back:hover {
	text-decoration: underline;
}

.dex-amount-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}

.dex-amount-chip {
	border: 2px solid var(--dex-border);
	border-radius: var(--dex-radius-sm);
	background: #fff;
	padding: 18px 10px;
	cursor: pointer;
	text-align: center;
}

.dex-amount-chip.is-selected {
	border-color: var(--dex-teal);
	box-shadow: 0 0 0 3px rgba(10, 163, 184, 0.12);
}

.dex-amount-chip__value {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--dex-text);
}

.dex-amount-chip__period {
	font-size: 12px;
	color: var(--dex-muted);
}

.dex-input-prefix {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--dex-border);
	border-radius: 10px;
	padding: 0 12px;
	background: #F9FAFB;
}

.dex-input-prefix span {
	font-weight: 700;
	color: var(--dex-muted);
}

.dex-input-prefix input {
	border: 0 !important;
	background: transparent !important;
	padding-left: 0 !important;
}

.dex-info {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 13px;
	color: var(--dex-muted);
	margin: 16px 0 20px;
}

.dex-summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	background: #F8FAFC;
	border-radius: var(--dex-radius-sm);
	padding: 16px;
	margin-bottom: 20px;
}

.dex-summary span {
	display: block;
	font-size: 12px;
	color: var(--dex-muted);
}

.dex-summary strong {
	font-size: 14px;
}

.dex-bank {
	margin-bottom: 20px;
}

.dex-bank h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
}

.dex-bank__row {
	display: grid;
	grid-template-columns: 140px 1fr auto;
	gap: 8px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--dex-border);
	font-size: 14px;
}

.dex-bank__row span {
	color: var(--dex-muted);
}

.dex-copy {
	border: 0;
	background: transparent;
	color: var(--dex-cyan);
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
}

.dex-upload {
	width: 100%;
	border: 2px dashed #CBD5E1;
	border-radius: var(--dex-radius-sm);
	background: #F8FAFC;
	padding: 28px 16px;
	margin-bottom: 20px;
	cursor: pointer;
	text-align: center;
	color: var(--dex-muted);
}

.dex-upload strong {
	display: block;
	margin-top: 8px;
	color: var(--dex-text);
}

.dex-upload small {
	display: block;
	margin-top: 4px;
}

.dex-mail-box {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #F0F9FF;
	border: 1px solid rgba(0, 174, 239, 0.25);
	border-radius: var(--dex-radius-sm);
	padding: 14px 16px;
	margin: 8px 0 4px;
}

.dex-mail-box__icon {
	color: var(--dex-cyan);
}

.dex-mail-box__label {
	display: block;
	font-size: 12px;
	color: var(--dex-muted);
}

.dex-mail-box__body {
	flex: 1;
}

.dex-mail-box__edit {
	color: var(--dex-cyan);
	font-weight: 700;
	text-decoration: none;
}

.dex-secure-note,
.dex-payway-note {
	text-align: center;
	font-size: 12px;
	color: var(--dex-muted);
	margin: 16px 0 0;
}

.dex-secure-note--start {
	text-align: left;
}

.dex-card--success {
	text-align: center;
}

.dex-success-heart {
	display: inline-flex;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--dex-teal);
	color: #fff;
	margin-bottom: 16px;
}

.dex-success-copy {
	max-width: 34rem;
	margin: 0 auto 24px;
}

.dex-success-copy p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--dex-muted);
}

.dex-success-copy p:last-child {
	margin-bottom: 0;
}

.dex-celebration {
	max-width: 34rem;
	margin: 0 auto 20px;
	text-align: left;
}

.dex-celebration__lead {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--dex-muted);
	text-align: center;
}

.dex-celebration__share {
	padding: 16px 18px;
	border-radius: var(--dex-radius-sm);
	background: #F8FAFC;
	border: 1px solid var(--dex-border);
}

.dex-celebration__share-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #111;
}

.dex-celebration__share-text + .dex-celebration__share-text {
	margin-top: 10px;
}

.dex-celebration__share-actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.dex-celebration__share-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	padding: 0;
}

.dex-celebration__share-action:hover,
.dex-celebration__share-action:focus {
	color: var(--dex-cyan);
	text-decoration: none;
	outline: none;
}

.dex-celebration__share-icon {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.dex-celebration__share-icon img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.dex-celebration__share-icon--copy {
	background: #F0F1F4;
	color: #6B7280;
}

.dex-celebration__share-icon--copy img {
	opacity: .78;
}

.dex-celebration__share-icon--linkedin {
	background: #0A66C2;
}

.dex-celebration__share-icon--twitter {
	background: #000;
}

.dex-celebration__share-icon--facebook {
	background: #1877F2;
}

.dex-card--success .dex-actions--cta-fit {
	margin-top: 8px;
	align-items: center;
}

.dex-card--success .dex-actions--cta-fit .dex-link-back {
	align-self: center;
	margin-top: 4px;
}

.dex-teaser {
	margin: 24px 0;
	padding: 20px;
	border-radius: var(--dex-radius-sm);
	background: #F8FAFC;
	border: 1px solid var(--dex-border);
}

.dex-teaser p {
	margin: 8px 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dex-muted);
}

.dex-privacy-note {
	margin: 20px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--dex-muted);
	line-height: 1.5;
}

.dex-privacy-note a {
	color: var(--dex-cyan);
	font-weight: 600;
}

.dex-alert {
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 14px;
}

.dex-alert--info {
	background: #E0F7FF;
	color: #055160;
}

.dex-alert--danger {
	background: #FEE2E2;
	color: #991B1B;
}

@media (max-width: 767.98px) {
	.dex-header {
		padding: 12px 16px;
	}

	.dex-header__logo img {
		height: 40px;
	}

	.dex-intro__title {
		font-size: 24px;
	}

	.dex-form-grid,
	.dex-pay-methods__grid,
	.dex-amount-grid,
	.dex-summary {
		grid-template-columns: 1fr;
	}

	.dex-bank__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.dex-copy {
		justify-self: start;
	}

	.dex-card {
		padding: 22px 16px;
	}

	.dex-actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.dex-btn {
		width: 100%;
	}
}

.dex-dj {
	margin: 8px 0 20px;
}

.dex-dj .dex-checkbox {
	margin-bottom: 14px;
}

.dex-dj .dex-checkbox:last-child {
	margin-bottom: 0;
}

.dex-field input[readonly] {
	background: #F3F4F6;
	color: #374151;
}

/* Private / embedded mode — inside ECU main shell (Diagnóstico/Formación pattern).
   Do NOT override .main padding-top: it clears the fixed ECU header (56px / 115px). */

.dex-shell--embedded {
	max-width: 760px;
	margin: 0 auto;
	padding: 8px 8px 32px;
}

.dex-shell--embedded .dex-intro--embedded {
	text-align: left;
	margin-bottom: 16px;
}

.dex-shell--embedded .dex-intro__heart {
	width: 44px;
	height: 44px;
	margin-bottom: 8px;
}

.dex-shell--embedded .dex-intro__title {
	font-size: 24px;
	text-align: left;
}

.dex-shell--embedded .dex-intro__lead {
	text-align: left;
	max-width: 42rem;
	margin: 0;
}

@media (max-width: 767.98px) {
	.dex-shell--embedded {
		padding: 0 0 24px;
	}

	.dex-shell--embedded .dex-intro__title {
		font-size: 22px;
	}
}
