/* Pantallas de acceso del equipo. Mismos colores y letras que la web. */

:root {
	--azul: #0d4a6b;
	--azul-oscuro: #093a55;
	--tinta: #1c2a33;
	--gris: #6b7780;
	--linea: #e2e8ec;
	--suave: #f1f5f7;
	--rojo: #b42318;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Jost", system-ui, sans-serif;
	--greca: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M0 9.5h13.5V.5H3.5v6h6v-3h-3' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
}

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

body.acceso {
	margin: 0;
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(320px, 44%) 1fr;
	font-family: var(--sans);
	color: var(--tinta);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

.acceso__marca {
	position: relative;
	background: radial-gradient(120% 90% at 20% 10%, #13618b 0%, var(--azul) 45%, var(--azul-oscuro) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	padding: 56px;
	overflow: hidden;
}
.acceso__marca::before,
.acceso__marca::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 10px;
	background: var(--greca) repeat-x;
	opacity: .55;
}
.acceso__marca::before { top: 28px; }
.acceso__marca::after { bottom: 28px; }

.acceso__marca-dentro { max-width: 360px; }

.acceso__logo { width: 88px; height: 88px; object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; }
.acceso__logo--vacio {
	display: grid;
	place-items: center;
	font-family: var(--serif);
	font-size: 46px;
	font-weight: 600;
	color: var(--azul);
}
.acceso__nombre { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; margin: 26px 0 8px; }
.acceso__lema { margin: 0 0 28px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.acceso__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; opacity: .92; }
.acceso__lista li::before { content: "—"; margin-right: 10px; opacity: .6; }

.acceso__lado {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	background: var(--suave);
}
.acceso__caja {
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 18px;
	padding: 40px 36px;
	box-shadow: 0 1px 2px rgb(13 74 107 / 6%), 0 18px 48px rgb(13 74 107 / 10%);
}
.acceso__caja h1 { font-family: var(--serif); font-weight: 600; font-size: 38px; line-height: 1.05; margin: 0 0 6px; }
.acceso__intro { margin: 0 0 24px; color: var(--gris); font-size: 15px; }

.acceso__form { display: grid; gap: 8px; }
.acceso__form label { font-size: 13px; font-weight: 500; margin-top: 8px; }
.acceso__form input[type="text"],
.acceso__form input[type="password"] {
	width: 100%;
	font: inherit;
	font-size: 16px;
	padding: 13px 14px;
	border: 1px solid var(--linea);
	border-radius: 10px;
	background: #fff;
	color: var(--tinta);
}
.acceso__form input:focus { outline: 2px solid var(--azul); outline-offset: 1px; border-color: var(--azul); }
.acceso__clave { position: relative; }
.acceso__clave input { padding-right: 84px; }
.acceso__ver {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: var(--suave);
	color: var(--azul);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	border-radius: 8px;
	padding: 7px 12px;
	cursor: pointer;
}
.acceso__form .acceso__check { display: flex; gap: 8px; align-items: center; font-weight: 400; color: var(--gris); margin-top: 12px; }
.acceso__check input { width: 17px; height: 17px; accent-color: var(--azul); }

.acceso__boton {
	margin-top: 18px;
	border: 0;
	border-radius: 999px;
	background: var(--azul);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	padding: 15px 20px;
	cursor: pointer;
}
.acceso__boton:hover { background: var(--azul-oscuro); }

.acceso__mensaje { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: #e8f3f9; color: var(--azul-oscuro); }
.acceso__mensaje--error { background: #fdecea; color: var(--rojo); }

.acceso__enlace { margin: 22px 0 0; text-align: center; font-size: 14px; }
.acceso__enlace a, .acceso__volver a { color: var(--azul); text-decoration: none; }
.acceso__enlace a:hover, .acceso__volver a:hover { text-decoration: underline; }
.acceso__volver { margin: 22px 0 0; font-size: 14px; }

@media (max-width: 820px) {
	body.acceso { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
	.acceso__marca { padding: 44px 24px 36px; justify-content: center; text-align: center; }
	.acceso__marca::before { top: 14px; }
	.acceso__marca::after { bottom: 14px; }
	.acceso__logo { width: 64px; height: 64px; margin-inline: auto; }
	.acceso__logo--vacio { font-size: 34px; }
	.acceso__nombre { font-size: 32px; margin-top: 14px; }
	.acceso__lema { margin-bottom: 0; }
	.acceso__lista { display: none; }
	.acceso__lado { justify-content: flex-start; padding: 24px 16px 32px; }
	.acceso__caja { padding: 28px 22px; }
	.acceso__caja h1 { font-size: 32px; }
}
