/* Modal de autenticación (window.PwaAuth). Estilos mínimos, neutros. */
.pwa-auth {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}
.pwa-auth.is-open { display: block; }

.pwa-auth__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
}
.pwa-auth__dialog {
	position: relative;
	max-width: 380px;
	margin: 8vh auto 0;
	background: #fff;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.pwa-auth__close {
	position: absolute;
	top: .5rem;
	right: .5rem;
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #666;
}
.pwa-auth__title { margin: 0 0 1rem; color: #0c447c; font-size: 1.25rem; }
.pwa-auth__info { margin: 0 0 1rem; color: #333; }

.pwa-auth__form label {
	display: block;
	margin-bottom: .75rem;
	font-size: .9rem;
	color: #333;
}
.pwa-auth__form input {
	display: block;
	width: 100%;
	margin-top: .25rem;
	padding: .6rem .7rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	box-sizing: border-box;
}
.pwa-auth__btn {
	width: 100%;
	margin-top: .5rem;
	padding: .7rem 1rem;
	font-size: 1rem;
	color: #fff;
	background: #0c447c;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}
.pwa-auth__btn[disabled] { opacity: .6; cursor: default; }

.pwa-auth__msg { min-height: 1.2em; margin: .25rem 0; font-size: .85rem; color: #555; }
.pwa-auth__msg.is-error { color: #b32d2e; }

.pwa-auth__links { margin: 1rem 0 0; font-size: .85rem; text-align: center; }
.pwa-auth__links a { color: #0c447c; }

/* Botones de sesión en el header (opcional, si el tema los usa). */
.tv-nav__auth { display: inline-flex; gap: .5rem; align-items: center; margin-left: auto; }
.tv-nav__auth a { cursor: pointer; }
