/* ── Nueva contrasena (reset.xhtml) ───────────────────────────────────────────
   Re-skin fase 1: tarjeta centrada sobre el fondo de aplicacion, mismo
   lenguaje que forgot.css. Botones e inputs los estiliza components.css. */

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-ui);
	background: var(--bg);
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.reset-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 36px 32px;
	max-width: 420px;
	width: 100%;
	animation: lcpop 0.18s ease-out;
}

.reset-card h2 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin: 0 0 8px;
	color: var(--text);
}

.reset-card p.sub {
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.6;
}

/* Los campos van apilados: separa cada etiqueta del campo anterior. */
.reset-card .lc-label { margin-top: 14px; }
.reset-card form .lc-label:first-of-type { margin-top: 0; }

.reset-card .ui-inputfield,
.reset-card .ui-password { width: 100%; }

.reset-card .ui-button {
	width: 100%;
	margin-top: 18px;
	padding: 12px 16px;
	font-size: 14px;
}

.reset-card a {
	display: block;
	text-align: center;
	margin-top: 14px;
	color: var(--blue);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
.reset-card a:hover { text-decoration: underline; }

/* ── Responsive movil / tablet ── */
@media (max-width: 480px) {
	body { padding: 16px 12px; }
	.reset-card { padding: 26px 20px; }
}
/* Fuente de 16px o mas en tactil: evita el auto-zoom de Safari iOS al enfocar. */
@media (hover: none) and (pointer: coarse) {
	.reset-card .ui-inputfield,
	.reset-card .ui-password input { font-size: 16px; }
}
