/* Estilos para evitar scroll en la página de login */

/* Evitar scroll en el body cuando hay un login con news-feed */
body.bg-white {
	overflow: hidden !important;
	height: 100vh !important;
	max-height: 100vh !important;
	position: fixed !important;
	width: 100% !important;
}

html {
	overflow: hidden !important;
	height: 100% !important;
}

/* Contenedor principal del login */
.login.login-with-news-feed {
	width: 100% !important;
	height: 100vh !important;
	max-height: 100vh !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	overflow: hidden !important;
}

/* Contenido derecho del login - reducir padding */
.login.login-with-news-feed .right-content {
	height: 100vh !important;
	max-height: 100vh !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	padding: 20px 35px 15px 35px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
}

/* Header del login - reducir tamaño */
.login.login-with-news-feed .right-content .login-header {
	margin-bottom: 15px !important;
	flex-shrink: 0 !important;
}

.login.login-with-news-feed .right-content .login-header .brand {
	font-size: 22px !important;
}

.login.login-with-news-feed .right-content .login-header .icon i {
	font-size: 36px !important;
}

/* Contenido del formulario - ajustar para que quepa */
.login.login-with-news-feed .right-content .login-content {
	overflow: hidden !important;
	flex: 1 !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	padding-top: 0 !important;
}

/* Reducir márgenes y padding de los elementos del formulario */
.login.login-with-news-feed .right-content .login-content .form-group {
	margin-bottom: 10px !important;
}

.login.login-with-news-feed .right-content .login-content .form-group.m-b-15 {
	margin-bottom: 10px !important;
}

.login.login-with-news-feed .right-content .login-content .checkbox.m-b-30 {
	margin-bottom: 12px !important;
}

.login.login-with-news-feed .right-content .login-content .login-buttons {
	margin-bottom: 12px !important;
}

.login.login-with-news-feed .right-content .login-content .m-t-20 {
	margin-top: 8px !important;
}

.login.login-with-news-feed .right-content .login-content .m-b-40 {
	margin-bottom: 10px !important;
}

.login.login-with-news-feed .right-content .login-content .p-b-40 {
	padding-bottom: 10px !important;
}

/* Reducir tamaño de botones */
.login.login-with-news-feed .right-content .login-content .btn-lg {
	padding: 8px 16px !important;
	font-size: 13px !important;
	line-height: 1.3 !important;
}

/* Reducir tamaño de inputs */
.login.login-with-news-feed .right-content .login-content .form-control {
	padding: 7px 10px !important;
	font-size: 13px !important;
	height: auto !important;
}

/* Reducir espaciado del hr y copyright */
.login.login-with-news-feed .right-content .login-content hr {
	margin: 8px 0 !important;
}

.login.login-with-news-feed .right-content .login-content p.text-center {
	margin: 3px 0 0 0 !important;
	font-size: 11px !important;
	line-height: 1.2 !important;
}

/* Ajustar reCAPTCHA - hacer más pequeño */
.login.login-with-news-feed .right-content .login-content .g-recaptcha,
.login.login-with-news-feed .right-content .login-content .cf-turnstile {
	margin: 8px 0 !important;
	transform: scale(0.75) !important;
	transform-origin: 0 0 !important;
}

/* Ajustar alertas */
.login.login-with-news-feed .right-content .login-content .alert {
	margin: 8px 0 !important;
	padding: 6px 10px !important;
	font-size: 12px !important;
}

/* Asegurar que el texto de "Privacidad - Condiciones" se vea completo */
.login.login-with-news-feed .right-content .login-content form {
	margin-bottom: 0 !important;
	padding-bottom: 5px !important;
}

/* Reducir labels */
.login.login-with-news-feed .right-content .login-content label {
	margin-bottom: 5px !important;
	font-size: 13px !important;
}

/* Reducir enlace de olvidó contraseña */
.login.login-with-news-feed .right-content .login-content p.text-right {
	margin: 5px 0 !important;
	font-size: 12px !important;
}

/* Ajustar checkbox */
.login.login-with-news-feed .right-content .login-content .checkbox {
	margin-bottom: 10px !important;
}

.login.login-with-news-feed .right-content .login-content .checkbox label {
	font-size: 12px !important;
}
