body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow-x: hidden;
}

.login-inicio {
	color-scheme: dark;
}

.login-inicio ::placeholder {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.45) !important;
	letter-spacing: 0.02em;
}

.fondo {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(../imagenes/fondo_inicio.png);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	z-index: 0;
}

.fondo::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			135deg,
			rgba(10, 18, 32, 0.88) 0%,
			rgba(26, 71, 139, 0.55) 45%,
			rgba(236, 92, 32, 0.25) 100%
		);
}

#contenedor {
	min-height: 100%;
	margin: auto;
	position: relative;
	z-index: 1;
	margin-bottom: -250px;
	padding: 0 0.5rem;
}

#contenedor::after {
	display: block;
	height: 250px;
	content: "";
}

#contenedor > .row > div {
	padding: 10px 30px;
	color: #fff;
}

/* Hero */
.login-hero-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 768px) {
	.login-hero-col.text-md-start {
		justify-content: flex-start;
	}
}

.login-hero-copy {
	max-width: 420px;
	margin: auto;
	text-align: inherit;
	animation: login-fade-up 0.7s ease-out both;
}

@media (min-width: 768px) {
	.login-hero-copy {
		margin: 0;
	}
}

.login-hero-title {
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.05;
	text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	margin-bottom: 0.85rem;
}

.login-hero-lead {
	font-size: clamp(0.95rem, 2.2vw, 1.1rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	margin: 0;
}

.login-hero-accent {
	display: inline;
	font-weight: 600;
	color: var(--primary-color);
}

@keyframes login-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Tarjeta login */
#login {
	margin: auto;
	max-width: 380px;
	border-radius: 20px;
	background: rgba(18, 26, 36, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.35),
		0 1px 0 rgba(255, 255, 255, 0.06) inset;
	color: #fff;
	animation: login-fade-up 0.75s ease-out 0.08s both;
}

.login-inicio #login .modal-body {
	padding: 1.6rem 1.5rem 1.75rem;
}

.login-card-title {
	margin-bottom: 0.25rem;
	letter-spacing: 0.03em;
	opacity: 0.98;
}

#msj_renovacion {
	min-height: 1.35rem;
	margin: 0.35rem 0 0.75rem;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.35;
}

.login-input-group {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 0.65rem !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.2);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-input-group:focus-within {
	border-color: rgba(236, 92, 32, 0.45);
	box-shadow: 0 0 0 3px rgba(236, 92, 32, 0.15);
}

.login-input-addon {
	background: rgba(255, 255, 255, 0.06) !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.85) !important;
	min-width: 2.85rem;
	justify-content: center;
}

.login-inicio .login-input {
	background: transparent !important;
	border: none !important;
	border-left: 0 !important;
	color: #fff !important;
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
	font-size: 0.9rem;
}

.login-inicio .login-input:focus {
	box-shadow: none !important;
}

.login-btn-submit {
	border: none;
	border-radius: 12px !important;
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
	transition: transform 0.18s ease, filter 0.18s ease;
}

.login-btn-submit:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
}

.login-btn-submit:active {
	transform: translateY(0);
}

/* Logo */
.login-logo-img {
	max-width: 350px;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

/* Footer */
#footer_inicio {
	position: relative;
	z-index: 2;
	background: rgba(8, 12, 22, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	padding: 28px 20px 14px;
	font-size: 14px;
	margin-top: 80px;
	height: 250px;
}

.footer_contenido {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	max-width: 1200px;
	margin: auto;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 18px;
}

.footer_logo img {
	max-height: 44px;
	filter: brightness(1.05);
}

.footer_soporte {
	border-left: 1px solid rgba(255, 255, 255, 0.22);
	text-align: left;
}

.footer_soporte i {
	margin-right: 8px;
	opacity: 0.9;
}

.footer-soporte-titulo {
	font-family: "Anton", sans-serif !important;
	font-size: 1.15rem;
	letter-spacing: 0.06em;
}

.footer-mail {
	color: rgba(255, 255, 255, 0.95) !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-mail:hover {
	color: #fff !important;
	border-bottom-color: var(--primary-color);
}

.footer_copy {
	text-align: center;
	margin-top: 16px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

#div_logo {
	margin-top: 50px;
}

/* Toasts / overlay en esta página */
.login-inicio #msj_php {
	border-radius: 0 0 0 12px;
	border: none;
	backdrop-filter: blur(8px);
}

.login-inicio #cargando {
	background-color: rgba(0, 0, 0, 0.38);
}

@media screen and (min-width: 0px) {
	#div_logo {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 800px) {
	#div_logo {
		margin-bottom: 100px;
	}
}
