/* Registro: una sola tarjeta, secciones claras y controles cómodos. */
body.page-id-369 main#content:has(tickera-auth[view="register"]) {
	padding-top: clamp(40px, 5vw, 60px);
	padding-bottom: clamp(56px, 6vw, 80px);
}

body.page-id-369 main#content .page-header {
	margin-bottom: 20px;
}

body.page-id-369 main#content .page-content {
	width: min(100%, 960px);
	max-width: 960px;
	margin-inline: auto;
}

body.page-id-369 main#content .page-header .entry-title {
	font-size: clamp(36px, 4vw, 48px);
	line-height: 1.12;
	letter-spacing: -0.035em;
	font-weight: 700;
	text-transform: none;
}

body.page-id-369 main#content .tickera-auth-intro {
	max-width: 700px;
	margin: 0 0 28px;
	color: #c7c7c7;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.5;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page > div {
	width: 100%;
	max-width: 960px;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 40px);
	background: #1b1b1b;
	border: 1px solid #393939;
	border-top: 3px solid #e52b28;
	border-radius: 16px;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page > div > div,
body.page-id-369 main#content tickera-auth[view="register"] register-page form {
	width: 100% !important;
	max-width: none !important;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form {
	gap: 0 !important;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(-n + 5) {
	position: relative;
	width: 100%;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(1) {
	padding: 42px 0 12px;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(2) {
	padding: 12px 0 28px;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(n + 3):nth-child(-n + 5) {
	padding: 55px 0 28px;
	border-top: 1px solid #414141;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(1)::before,
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(n + 3):nth-child(-n + 5)::before {
	top: 21px;
	left: 0;
	color: #f5f5f5;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: .06em;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(1)::before {
	top: 0;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(6) {
	margin-top: 6px;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7) {
	margin-top: 20px;
	color: #c7c7c7;
}

body.page-id-369 main#content tickera-auth[view="register"] :is(
	.form-input-label,
	.phone-input-label,
	.form-select-label,
	.identity-document-input-label,
	.date-input-label,
	.async-select-label
) {
	margin-bottom: 7px;
	color: #ededed;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

body.page-id-369 main#content tickera-auth[view="register"] :is(
	.form-input,
	.form-select,
	.identity-document-input,
	.date-input,
	.async-select-wrapper .ng-select-container
) {
	min-width: 0;
	min-height: 50px;
	background: #0d0d0d;
	border: 1px solid #575757;
	border-radius: 8px;
	color: #fff;
	font-size: 15px;
	box-shadow: none;
}

body.page-id-369 main#content tickera-auth[view="register"] :is(
	.form-input,
	.identity-document-input,
	.date-input
)::placeholder {
	color: #aaa;
	opacity: 1;
}

body.page-id-369 main#content tickera-auth[view="register"] :is(form-input, phone-input, form-select, identity-document-input, date-input, async-select) {
	min-width: 0;
}

/* El indicativo se superpone al campo Angular: el único marco es el del teléfono. */
body.page-id-369 main#content tickera-auth[view="register"] .phone-input-field {
	position: relative;
}

body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-wrapper {
	position: absolute;
	z-index: 2;
	top: 1px;
	left: 1px;
	width: 101px;
	height: 48px;
	border-right: 1px solid #575757;
}

body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select,
body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select .ng-select-container {
	width: 100%;
	height: 100%;
	min-height: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
}

body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select .ng-value,
body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select .ng-value-container {
	color: #f7f7f7 !important;
	font-size: 14px;
}

body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select .ng-value img {
	width: 18px;
	height: 18px;
	margin-right: 3px;
}

body.page-id-369 main#content tickera-auth[view="register"] #mobile {
	width: 100%;
	min-height: 50px;
	padding: 11px 14px 11px 115px;
	border-radius: 8px;
}

body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select .ng-arrow {
	border-top-color: #bbb;
}

body.page-id-369 main#content tickera-auth[view="register"] #document_type {
	padding-right: 30px;
	color-scheme: dark;
}

body.page-id-369 main#content tickera-auth[view="register"] #birthday_date {
	color-scheme: dark;
}

body.page-id-369 main#content tickera-auth[view="register"] app-button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
}

body.page-id-369 main#content tickera-auth[view="register"] app-button button {
	width: 100%;
	min-height: 50px;
	border-radius: 8px;
	font-size: 15px;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7) span {
	color: #c7c7c7;
}

body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7) a {
	margin-left: 5px;
	color: #ff7874;
}

@media (max-width: 767px) {
	body.page-id-369 main#content .page-header .entry-title {
		font-size: clamp(34px, 9vw, 42px);
	}

	body.page-id-369 main#content .tickera-auth-intro {
		margin-bottom: 22px;
	}

	body.page-id-369 main#content tickera-auth[view="register"] register-page > div {
		padding: 24px 20px;
	}

	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(-n + 5) {
		flex-direction: column !important;
		gap: 16px;
		padding-left: 0;
		padding-right: 0;
	}

	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(1)::before,
	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(n + 3):nth-child(-n + 5)::before {
		left: 0;
	}

	body.page-id-369 main#content tickera-auth[view="register"] #mobile::placeholder {
		color: #aaa;
	}
}

/* Angular define el ancho máximo en la capa utilities con !important. */
@layer utilities {
	body.page-id-369 main#content tickera-auth[view="register"] register-page > div > div {
		width: 100% !important;
		max-width: none !important;
		margin-inline: 0 !important;
	}
}

/* Confirmación: mantiene la misma lectura y escala del registro. */
main#content:has(tickera-auth[view="register-success"]) {
	min-height: 60vh;
	padding: clamp(40px, 5vw, 60px) clamp(16px, 4vw, 20px) clamp(56px, 7vw, 88px);
	background: radial-gradient(ellipse 65% 380px at 78% 0, rgba(229, 43, 40, .11), transparent 72%), #090909;
}

main#content:has(tickera-auth[view="register-success"]) .page-header,
main#content:has(tickera-auth[view="register-success"]) .page-content {
	width: min(100%, 680px);
	max-width: 680px;
	margin-inline: auto;
}

main#content:has(tickera-auth[view="register-success"]) .page-header {
	margin-bottom: 24px;
}

main#content:has(tickera-auth[view="register-success"]) .page-header::before {
	display: block;
	width: 38px;
	height: 2px;
	margin-bottom: 18px;
	background: #e52b28;
	content: '';
}

main#content:has(tickera-auth[view="register-success"]) .page-header .entry-title {
	margin: 0;
	color: #f7f7f7;
	font-size: clamp(36px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.035em;
	text-transform: none;
}

main#content tickera-auth[view="register-success"] register-success > div {
	width: 100%;
	min-height: 0;
	max-width: 680px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 44px);
	gap: 16px;
	background: #1b1b1b;
	border: 1px solid #393939;
	border-top: 3px solid #e52b28;
	border-radius: 16px;
	box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

main#content tickera-auth[view="register-success"] register-success > div > div:first-child {
	width: 68px;
	height: 68px;
	margin-bottom: 4px;
	background: #173d2b;
}

main#content tickera-auth[view="register-success"] register-success i.ri-check-line {
	color: #50d889;
	font-size: 44px;
}

main#content tickera-auth[view="register-success"] register-success h2 {
	margin: 0;
	color: #f7f7f7;
	font-size: clamp(24px, 3vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

main#content tickera-auth[view="register-success"] register-success p {
	max-width: 520px;
	margin: 0;
	color: #c7c7c7;
	font-size: 16px;
	line-height: 1.55;
	text-align: center;
}

main#content tickera-auth[view="register-success"] register-success p + p {
	margin-top: 4px;
}

main#content tickera-auth[view="register-success"] register-success a {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 11px 24px;
	background: #e52b28;
	border-radius: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

main#content tickera-auth[view="register-success"] register-success a:hover {
	background: #f04440;
}

@media (max-width: 600px) {
	main#content tickera-auth[view="register-success"] register-success > div {
		padding: 28px 22px;
	}
}

/* El bundle marca sus colores y tamaños como importantes en utilities. */
@layer utilities {
	main#content tickera-auth[view="register-success"] register-success h2 {
		color: #f7f7f7 !important;
		font-size: clamp(24px, 3vw, 28px) !important;
		font-weight: 700 !important;
		line-height: 1.25 !important;
	}

	main#content tickera-auth[view="register-success"] register-success p {
		color: #d1d1d1 !important;
		font-size: 16px !important;
		line-height: 1.55 !important;
	}
}

/* El registro abre con la misma jerarquía que el inicio de sesión. */
body.page-id-369 main#content:has(tickera-auth[view="register"]) { padding-top: clamp(28px, 4vw, 52px); }
body.page-id-369 main#content:has(tickera-auth[view="register"]) .page-header {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
body.page-id-369 main#content:has(tickera-auth[view="register"]) .tickera-auth-intro { display: none; }
body.page-id-369 main#content .tickera-auth-register-guide { margin: 0 0 20px; }
body.page-id-369 main#content .tickera-auth-register-guide h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 650;
	line-height: 1.16;
	letter-spacing: -.025em;
}
body.page-id-369 main#content .tickera-auth-register-guide p {
	margin: 10px 0 0;
	color: #ccc;
	font-size: 16px;
	line-height: 1.5;
}

/* Las preferencias preceden al acceso de la cuenta. */
body.page-id-369 main#content tickera-auth[view="register"] register-page form > async-select[name="city_id"] {
	position: relative;
	display: block;
	padding: 55px 0 12px;
	border-top: 1px solid #414141;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > async-select[name="city_id"]::before,
body.page-id-369 main#content tickera-auth[view="register"] register-page form > signup-fields::before,
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7)::before {
	position: absolute;
	top: 20px;
	left: 0;
	display: block;
	padding-left: 12px;
	border-left: 3px solid #e52b28;
	color: #f5f5f5;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .055em;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > async-select[name="city_id"]::before { content: '03 · Ubicación'; }
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(5) {
	padding: 12px 0 28px !important;
	border-top: 0 !important;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > signup-fields {
	position: relative;
	display: block;
	padding: 55px 0 28px;
	border-top: 1px solid #414141;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > signup-fields::before { content: '04 · Preferencias'; }
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7) {
	position: relative;
	margin: 0;
	padding: 55px 0 25px;
	border-top: 1px solid #414141;
	color: #ededed;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7)::before { content: '05 · Acceso a la cuenta'; }
body.page-id-369 main#content tickera-auth[view="register"] register-page form:has(#document_type option[value="NIT"]:checked) date-input[name="birthday_date"] {
	display: none;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(8) { margin: 0; gap: 14px; }
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(8) p {
	margin: 0;
	color: #d1d1d1;
	font-size: 14px;
	line-height: 1.55;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(8) label span { color: #ededed; line-height: 1.5; }
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(9) { margin-top: 24px; }
body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(10) {
	margin-top: 20px;
	padding-bottom: 4px;
	color: #c7c7c7;
}
body.page-id-369 main#content tickera-auth[view="register"] register-page app-button button:disabled { opacity: 1; background: #702b2a; color: #e9dada; }
body.page-id-369 main#content tickera-auth[view="register"] .phone-prefix-select input[role="combobox"] { caret-color: #fff; }

body:has(tickera-auth[view="register"]) .ng-dropdown-panel {
	max-height: min(360px, 55vh);
	background: #222;
	border: 1px solid #555;
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
	color: #f7f7f7;
	overflow: hidden;
}
body:has(tickera-auth[view="register"]) .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
	background: #222;
	color: #f1f1f1;
}
body:has(tickera-auth[view="register"]) .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked,
body:has(tickera-auth[view="register"]) .ng-dropdown-panel .ng-dropdown-panel-items .ng-option:hover { background: #343434; color: #fff; }
body:has(tickera-auth[view="register"]) .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected { background: #482b2b; color: #fff; }
body:has(tickera-auth[view="register"]) .ng-dropdown-panel .ng-dropdown-header { color: #c7c7c7; border-bottom: 1px solid #444; }
body:has(tickera-auth[view="register"]) ng-dropdown-panel.phone-prefix-select {
	width: min(320px, calc(100vw - 32px)) !important;
	min-width: min(280px, calc(100vw - 32px)) !important;
}
body:has(tickera-auth[view="register"]) ng-dropdown-panel.phone-prefix-select .ng-option img { width: 18px; height: 18px; margin-right: 7px; }

@media (max-width: 767px) {
	body.page-id-369 main#content:has(tickera-auth[view="register"]) { padding-top: 28px; }
	body.page-id-369 main#content .tickera-auth-register-guide { margin-bottom: 12px; }
	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(7) { flex-direction: column !important; gap: 16px; }
	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(8) p { font-size: 13px; }
}

@layer theme {
	body.page-id-369 main#content .tickera-auth-register-guide h2 { color: #fff !important; font-size: clamp(26px, 3vw, 32px) !important; }
	body.page-id-369 main#content .tickera-auth-register-guide p { color: #ccc !important; }
	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(8) p { color: #d1d1d1 !important; }
	body.page-id-369 main#content tickera-auth[view="register"] register-page form > div:nth-child(8) label span { color: #ededed !important; }
	body.page-id-369 main#content tickera-auth[view="register"] register-page app-button button:disabled { opacity: 1 !important; background: #702b2a !important; color: #e9dada !important; }
	body:has(tickera-auth[view="register"]) ng-dropdown-panel .ng-dropdown-panel-items .ng-option { background: #222 !important; color: #f1f1f1 !important; }
	body:has(tickera-auth[view="register"]) ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked,
	body:has(tickera-auth[view="register"]) ng-dropdown-panel .ng-dropdown-panel-items .ng-option:hover { background: #343434 !important; color: #fff !important; }
	body:has(tickera-auth[view="register"]) ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected { background: #482b2b !important; color: #fff !important; }
}

/* Confirmación de registro: una sola jerarquía y un siguiente paso claro. */
main#content:has(.tw-register-success) {
	min-height: 65vh;
	padding: clamp(28px, 3vw, 40px) 20px 64px;
	background: radial-gradient(ellipse 55% 380px at 82% 0, rgba(210, 34, 35, .1), transparent 75%), #090909;
}
main#content:has(.tw-register-success) .page-header {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
main#content:has(.tw-register-success) .page-content {
	width: min(100%, 700px);
	max-width: 700px;
	margin-inline: auto;
}
main#content .tw-register-success {
	width: 100%;
	padding: clamp(28px, 4vw, 38px);
	border: 1px solid #414141;
	border-top: 3px solid #e52b28;
	border-radius: 18px;
	background: #1c1c1c;
	box-shadow: 0 20px 48px rgba(0, 0, 0, .25);
	color: #f6f3ef;
	text-align: center;
}
main#content .tw-register-success__icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 22px;
	color: #c9e9d4;
}
main#content .tw-register-success__icon svg { display: block; width: 100%; height: 100%; }
main#content .tw-register-success__eyebrow {
	margin: 0 0 10px;
	color: #d8b981;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .025em;
	text-transform: none;
}
main#content .tw-register-success h1 {
	margin: 0;
	color: #fff;
	font-family: Lato, sans-serif;
	font-size: clamp(27px, 3.4vw, 32px);
	font-weight: 650;
	line-height: 1.16;
	letter-spacing: -.025em;
	text-transform: none;
}
main#content .tw-register-success__welcome {
	margin: 14px 0 0;
	color: #e9d2ad;
	font-size: clamp(18px, 2.4vw, 21px);
	font-weight: 500;
	line-height: 1.35;
}
main#content .tw-register-success__message {
	margin: 25px auto 0;
	padding: 20px 24px;
	border: 1px solid #49423a;
	border-radius: 12px;
	background: #24221f;
}
main#content .tw-register-success__message p {
	margin: 0;
	color: #dedbd7;
	font-size: 16px;
	line-height: 1.55;
}
main#content .tw-register-success__message p + p { margin-top: 10px; }
main#content .tw-register-success__farewell {
	margin: 24px 0 0;
	color: #e9d2ad;
	font-size: 16px;
	font-weight: 600;
}
main#content .tw-register-success__actions {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}
main#content .tw-register-success__actions a {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px 22px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: background .2s, border-color .2s, color .2s;
}
main#content .tw-register-success__primary { background: #e52b28; border: 1px solid #e52b28; color: #fff; }
main#content .tw-register-success__primary:hover,
main#content .tw-register-success__primary:focus-visible { background: #f13c38; border-color: #f13c38; color: #fff; }
main#content .tw-register-success__secondary { background: transparent; border: 1px solid #6a6a6a; color: #f3f3f3; }
main#content .tw-register-success__secondary:hover,
main#content .tw-register-success__secondary:focus-visible { border-color: #e5e5e5; color: #fff; }
main#content .tw-register-success__actions a:focus-visible { outline: 2px solid #e9d2ad; outline-offset: 3px; }

@media (max-width: 600px) {
	main#content:has(.tw-register-success) { padding: 28px 16px 56px; }
	main#content .tw-register-success { padding: 28px 20px 30px; }
	main#content .tw-register-success__icon { width: 54px; height: 54px; margin-bottom: 18px; }
	main#content .tw-register-success__message { padding: 17px; }
	main#content .tw-register-success__actions { flex-direction: column; }
	main#content .tw-register-success__actions a { width: 100%; }
}
