/* ==========================================================================
   Globalfinanz Tarificadores — estilos de marca
   ========================================================================== */

/* Los tokens de marca (--gf-*) y los estilos base de HTML viven en
   design-base.css (se encola antes que este archivo). Aquí solo van los
   estilos propios de la home de acceso y del contenedor embebido. */

/* Contenedor neutro: no debe imponer nada a los tarificadores embebidos. */
.gf-site { width: 100%; }

/* Páginas embebidas (formularios de tarificador dentro de iframe):
   sin márgenes ni anchos propios; el contenido trae su diseño. */
.gf-embed .gf-page { margin: 0; padding: 0; }
.gf-empty { padding: 2rem; text-align: center; color: var(--gf-muted); }

/* ==========================================================================
   Home de acceso (.gf-landing)
   ========================================================================== */

body.gf-landing {
	min-height: 100vh;
	margin: 0;
	background: radial-gradient(1200px 600px at 50% -10%, #1a1ad0 0%, var(--gf-navy) 42%, var(--gf-navy-dark) 100%);
	background-attachment: fixed;
}

.gf-landing .gf-site {
	min-height: 100vh;
	display: flex;
}

.gf-landing__wrap {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 20px;
}

.gf-card-stack {
	width: 100%;
	max-width: 400px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
}

.gf-landing__logo {
	width: 260px;
	max-width: 75%;
	height: auto;
	display: block;
}

/* ── Tarjeta ──────────────────────────────────────────────────────────────── */

.gf-card {
	position: relative;
	width: 100%;
	background: #fff;
	border-radius: var(--gf-radius);
	box-shadow: var(--gf-shadow);
	padding: 38px 34px 34px;
	overflow: hidden;
}

/* Filete rojo de marca en la parte superior de la tarjeta. */
.gf-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--gf-red);
}

.gf-card__title {
	margin: 0 0 4px;
	font-family: var(--gf-font-head);
	font-weight: 700;
	font-size: 22px;
	color: var(--gf-navy);
	letter-spacing: -.01em;
}

.gf-card__subtitle {
	margin: 0 0 24px;
	font-size: 13.5px;
	color: var(--gf-muted);
}

/* ── Formulario ───────────────────────────────────────────────────────────── */

.gf-login { display: flex; flex-direction: column; gap: 16px; }

.gf-field { display: flex; flex-direction: column; gap: 6px; }

.gf-field label {
	font-family: var(--gf-font-head);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--gf-muted);
}

.gf-field input {
	font-family: var(--gf-font-body);
	font-size: 15px;
	color: var(--gf-ink);
	background: #fff;
	border: 1px solid var(--gf-line);
	border-radius: 9px;
	padding: 12px 14px;
	width: 100%;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.gf-field input:focus {
	outline: none;
	border-color: var(--gf-navy);
	box-shadow: 0 0 0 3px rgba(0, 0, 143, .14);
}

.gf-btn {
	margin-top: 6px;
	font-family: var(--gf-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
	background: var(--gf-navy);
	border: 0;
	border-radius: 9px;
	padding: 13px 18px;
	width: 100%;
	cursor: pointer;
	transition: background .15s ease, transform .05s ease;
}

.gf-btn:hover  { background: var(--gf-navy-hover); }
.gf-btn:active { transform: translateY(1px); }
.gf-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(248, 38, 47, .35);
}

/* ── Pie ──────────────────────────────────────────────────────────────────── */

.gf-landing__legal {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, .7);
	text-align: center;
}

@media (max-width: 460px) {
	.gf-card { padding: 30px 22px 26px; }
}
