/* Tarjeta */
.login-card {
	background: #ffffff;
	padding: clamp(24px, 4vw, 48px);
	border-radius: 18px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
	border: 1px solid #e7e7e7;
	width: 100%;
}

.login-card h1 {
	font-size: 34px;
	font-weight: 800;
	color: #6C1A2B;
	text-align: center;
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}

.login-card h1 i {
	color: #c29627;
	margin-right: 8px;
}

/* Línea */
.login-card hr {
	border-top: 1px solid #d8d8d8;
	margin-bottom: 25px;
}

/* Labels */
.login-card label {
	font-weight: 600;
	color: #343434;
	margin-bottom: 6px;
	font-size: 15px;
}

/* Inputs */
.login-card input {
	border-radius: 10px;
	border: 1px solid #c7c7c7;
	padding: 10px;
	font-size: 15px;
	transition: 0.25s ease;
}

.login-card input:focus {
	border-color: #6C1A2B;
	box-shadow: 0 0 0 3px rgba(108, 26, 43, 0.18);
}

/* BOTÓN LOGIN */
.btn-login {
	width: 100%;
	min-height: 54px;
	background: #6C1A2B;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 13px 20px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.3px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition:
        background-color 0.3s ease,
		color 0.3s ease,
		transform 0.25s ease,
		box-shadow 0.3s ease;
}

/* EFECTO BRILLO */
.btn-login::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 70%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(255, 255, 255, 0.12),
			transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
	pointer-events: none;
}

/* HOVER */
.btn-login:not(:disabled):hover {
	background: linear-gradient(135deg,
			#6C1A2B,
			#52131f);
	color: #C29627;
	transform: translateY(-2px);
	box-shadow:
		0 8px 18px rgba(108, 26, 43, 0.28),
		0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Brillo al pasar el cursor */
.btn-login:not(:disabled):hover::before {
	left: 140%;
}

/* TEXTO */
.btn-login:not(:disabled):hover {
	text-shadow: 0 0 8px rgba(194, 150, 39, 0.25);
}

/* CLICK */
.btn-login:not(:disabled):active {
	transform: translateY(0);
	box-shadow:
		0 3px 8px rgba(108, 26, 43, 0.20);
}

/* DISABLED / LOADING */
.btn-login:disabled {
	background: #6C1A2B;
	color: #fff;
	cursor: wait;
	opacity: 1;
	transform: none;
	box-shadow: none;
}

/* SPINNER */
.btn-login .spinner-border {
	width: 19px;
	height: 19px;
	border-width: 2.5px;
	border-color: rgba(255, 255, 255, 0.35);
	border-right-color: #fff;
	flex-shrink: 0;
}

/* TEXTO DEL LOADING */
.btn-login .login-loading-text {
	display: inline-block;
	animation: login-text-pulse 1.4s ease-in-out infinite;
}

@keyframes login-text-pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.65;
	}
}

/* Captcha */
.login-card img {
	border: 1px solid #ddd;
	padding: 4px;
	background: #fff;
	border-radius: 6px;
}

/* Animación */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}