/* Las páginas abiertas desde un correo conservan la misma tarjeta del acceso. */
.site-main:has(tickera-auth:is([view="verify-email"], [view="reset-password"])) {
	padding: clamp(32px, 5vw, 64px) 16px clamp(64px, 7vw, 96px);
}

.site-main:has(tickera-auth:is([view="verify-email"], [view="reset-password"])) .page-header {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.site-main:has(tickera-auth:is([view="verify-email"], [view="reset-password"])) .page-content {
	width: min(100%, 600px);
	margin-inline: auto;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) {
	display: block;
	width: 100%;
}

.site-main tickera-auth[view="verify-email"] verify-email-page > div,
.site-main tickera-auth[view="reset-password"] reset-password-page > div {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: clamp(28px, 5vw, 46px);
	background: #1c1c1c;
	border: 1px solid #393939;
	border-top: 3px solid #e52b28;
	border-radius: 18px;
	box-shadow: 0 22px 54px rgba(0, 0, 0, .22);
	color: #f7f7f7;
}

.site-main tickera-auth[view="reset-password"] reset-password-page > div > div,
.site-main tickera-auth[view="verify-email"] verify-email-page > div > div {
	min-height: 0;
	width: 100%;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) h2 {
	max-width: 100%;
	margin: 0;
	color: #fff;
	font-size: clamp(25px, 4vw, 34px);
	font-weight: 650;
	line-height: 1.18;
	letter-spacing: -.025em;
	text-align: center;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) p {
	max-width: 440px;
	margin-inline: auto;
	color: #cfcfcf;
	font-size: 15px;
	line-height: 1.55;
	text-align: center;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) .h-24.w-24 {
	width: 68px;
	height: 68px;
	background: #3a2424;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) .bg-green-100 {
	background: #1e3a2a;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) .bg-gray-100 {
	background: #343434;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) .h-24.w-24 i {
	font-size: 42px;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) a:not(.tickera-auth-retry) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	background: #e52b28;
	border: 1px solid #e52b28;
	border-radius: 9px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) a:not(.tickera-auth-retry):hover {
	background: #c92320;
	border-color: #c92320;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) .tickera-auth-retry {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 18px;
	background: transparent;
	border: 1px solid #737373;
	border-radius: 9px;
	color: #f7f7f7;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) .tickera-auth-retry:hover {
	background: #303030;
	border-color: #aaa;
	color: #fff;
}

.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(a, button, input):focus-visible {
	outline: 3px solid #ffaaa7;
	outline-offset: 3px;
}

/* Estado con enlace válido: formulario de contraseña. */
.site-main tickera-auth[view="reset-password"] reset-password-page > div > p:first-child {
	max-width: none;
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(24px, 4vw, 30px);
	font-weight: 650;
	line-height: 1.2;
	text-align: left;
}

.site-main tickera-auth[view="reset-password"] reset-password-page > div > p {
	max-width: none;
	margin: 0 0 8px;
	text-align: left;
}

.site-main tickera-auth[view="reset-password"] reset-password-form {
	display: block;
	margin-top: 26px;
}

.site-main tickera-auth[view="reset-password"] reset-password-form form-input label {
	color: #ededed;
	font-size: 15px;
	font-weight: 600;
}

.site-main tickera-auth[view="reset-password"] reset-password-form input.form-input {
	width: 100%;
	min-height: 50px;
	padding-right: 56px;
	background: #0d0d0d;
	border: 1px solid #575757;
	border-radius: 8px;
	color: #fff;
}

.site-main tickera-auth[view="reset-password"] reset-password-form input.form-input::placeholder {
	color: #aaa;
	opacity: 1;
}

.site-main tickera-auth[view="reset-password"] reset-password-form .tickera-auth-password-field {
	position: relative;
}

.site-main tickera-auth[view="reset-password"] reset-password-form .tickera-auth-password-toggle {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: #d8d8d8;
	cursor: pointer;
}

.site-main tickera-auth[view="reset-password"] reset-password-form .tickera-auth-password-toggle:hover {
	background: #303030;
	color: #fff;
}

.site-main tickera-auth[view="reset-password"] reset-password-form app-button,
.site-main tickera-auth[view="reset-password"] reset-password-form app-button button {
	display: block;
	width: 100%;
}

.site-main tickera-auth[view="reset-password"] reset-password-form app-button button {
	min-height: 48px;
	background: #e52b28;
	border-radius: 9px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.site-main tickera-auth[view="reset-password"] reset-password-form app-button button:disabled {
	background: #702b2a;
	color: #e9dada;
	opacity: 1;
}

@media (max-width: 600px) {
	.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) .w-full.flex.items-center.justify-center {
		flex-direction: column;
		gap: 12px;
	}

	.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) .w-full.flex.items-center.justify-center a {
		width: 100%;
	}
}

/* El bundle Angular fija colores en su capa de utilidades. */
@layer theme {
	.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) h2 { color: #fff !important; font-size: clamp(25px, 4vw, 34px) !important; }
	.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) p { color: #cfcfcf !important; font-size: 15px !important; }
	.site-main tickera-auth:is([view="verify-email"], [view="reset-password"]) :is(verify-email-page, reset-password-page) a:not(.tickera-auth-retry) { color: #fff !important; background: #e52b28 !important; }
	.site-main tickera-auth[view="reset-password"] reset-password-form input.form-input { background: #0d0d0d !important; color: #fff !important; }
	.site-main tickera-auth[view="reset-password"] reset-password-form form-input label { color: #ededed !important; }
	.site-main tickera-auth[view="reset-password"] reset-password-form app-button button { background: #e52b28 !important; color: #fff !important; }
	.site-main tickera-auth[view="reset-password"] reset-password-form app-button button:disabled { background: #702b2a !important; }
}
