@import url('fonts.css');

   /* =====================================================
	VARIABLES
	===================================================== */
	:root{
		--primary: #228B4A;
		--primary-dark: #176B38;
		--primary-light: #DFF2FF;

		--text-dark: #30343b;
		--text-gray: #69707a;
		--text-red: #dc3545;

		--border-color: #d8dce2;

		--background-light: #f5f6f8;

		--white: #ffffff;
	}

body{
    font-family: var(--cabecera-font-family) !important;
    font-size: var(--cabecera-font-size) !important;
	background: none;
}

html  {
	margin: 0; /* Elimina el margen predeterminado del cuerpo */
	padding: 0; /* Elimina el relleno predeterminado del cuerpo */
	background-image: url('../images/bg.png');
	background-size: cover; /* Ajusta la imagen para cubrir todo el fondo */
	background-position: center center; /* Centra la imagen horizontal y verticalmente */
	background-attachment: fixed; /* Fija la imagen de fondo para que no se desplace con el contenido */
	height: 100vh; /* Establece la altura del cuerpo al 100% del viewport */
	 

	overflow-y: auto; /* O 'scroll' si prefieres que siempre esté visible */
    
     
    max-height: 100vh; /* Limita la altura máxima al 100% del viewport */
}

.contenedor-login{
	width: 400px;
	margin: 50px auto;
	/*background-color: #E9ECEF;
     border: 1px solid #CED4DA;
	 box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);*/
	overflow: hidden;
	border-radius:8px;
	padding:  20px;	
}

.contenedor-logo{
	width: 400px;
	margin: 50px auto;
	color:#212A33;
	font-size:60px;	
	line-height:55px;
	overflow: hidden;
	font-weight:bold;
}

#img-logo {
  width: 400px;
  margin:0px 10px 0px 10px;
}
@media (max-width: 767.98px) {
  #img-logo {
    width: 240px;
  }
}

#captcha_code{ width:100%; border: 1px solid #ccc;height: 34px; border-radius: 4px; }


/* Skin formulario login *****************************/

.link-sigedops {
    color: #0067B1 !important; 
    text-decoration: underline !important;
}

.link-sigedops:hover {
    color: #205275  !important; 
}

.btn-primary {
    background-color: #0067B1;
    border-color: #205275;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: #205275 !important;
    border-color: #205275 !important;
}




/******* Radio buton y Check *****/
input[type="radio"],
input[type="checkbox"] {
	display: none;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
	line-height: 3em;
}

input[type="radio"] + label {
	border-radius: 50px;
}

input[type="radio"]:disabled + label,
input[type="checkbox"]:disabled + label {
	color: #ccc !important;
	cursor: not-allowed;
}
input[type="radio"]:checked:disabled + label:after,
input[type="checkbox"]:checked:disabled + label:after {
	border-color: #ccc;
}

input[type="radio"] + label:before,
input[type="checkbox"] + label:before {
	content: "";
	width: 22px;
	height: 22px;
	float: left;
	/*margin: 0.1em;  /* editado */	 
	border: 2px solid #ccc;
	background: #fff;	
}
input[type="radio"] + label:before {
	border-radius: 100%;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
	background: var(--primary-light);
}

input[type="radio"]:checked + label:after {
	content: "";
	width: 0;
	height: 0;
	border: 7px solid var(--primary); 
	float: left;
	margin-left: -1.25em;
	margin-top: 0.25em;
	border-radius: 100%;
}
input[type="checkbox"]:checked + label:after {
	content: "";
	width: 12px;
	height: 6px;
	border: 4px solid var(--primary); 
	float: left;
	margin-left: -1.25em;
	border-right: 0;
	border-top: 0;
	margin-top: 0.50em;
	transform: rotate(-55deg);
}

input[type="radio"]:checked + label:before,
input[type="checkbox"]:checked + label:before {
	border-color: var(--primary); 
}

input[type="radio"]:checked:disabled + label,
input[type="checkbox"]:checked:disabled + label {
	background: #ccc;
	color: #fff !important;
}

input[type="radio"]:checked:disabled + label:before,
input[type="checkbox"]:checked:disabled + label:before {
	border-color: #bdbdbd;
}

.clssrequired{ color: var(--text-red); }



	/* PESTAÑAS DE LOGIN */
									.login-tabs{
										display:flex;
										width:100%;
										margin-bottom:24px;
										padding:4px;
										border:1px solid #d8dce2;
										border-radius:12px;
										background:#f5f6f8;
									}
									.login-tab{
										flex:1;
										height:44px;
										border:0;
										border-radius:9px;
										background:transparent;
										color:#69707a;
										font-size:14px;
										font-weight:700;
										cursor:pointer;
										transition:all .25s ease;
									}
									.login-tab i{ margin-right:7px; }
									.login-tab.active{
										background: var(--primary);
										color:#fff;
										box-shadow:0 5px 12px rgba(0,103,177,.20);
									}
									.login-form-tab{ display:none; }
									.login-form-tab.active{ display:block; }
								

										
										/* =====================================================
										ENCABEZADO
										===================================================== */

										.login-header{

											text-align: center;

											margin-bottom: 30px;

										}


										.login-header h1{

											margin: 0;

											color: var(--primary);

											font-size: 70px;

											font-weight: 900;

											line-height: 1;

											letter-spacing: -3px;

										}


										.login-header p{

											margin-top: 8px;

											color: var(--text-gray);

											font-size: 15px;

										}
										/* =====================================================
										FORMULARIO
										===================================================== */

										.login-form{

											width: 100%;

										}


										.form-group-custom{

											margin-bottom: 20px;

										}


										.form-group-custom label{

											display: block;

											margin-bottom: 7px;

											color: #3e434a;

											font-size: 14px;

											font-weight: 600;

										}
										/* =====================================================
										INPUT PERSONALIZADO
										===================================================== */

										.input-custom{

											position: relative;

											display: flex;

											align-items: center;

										}


										.input-custom .form-control{

											width: 100%;

											height: 52px;

											padding-left: 58px;

											padding-right: 50px;

											border: 1px solid var(--border-color);

											border-radius: 10px;

											background: var(--white);

											color: var(--text-dark);

											font-size: 15px;

											box-shadow: none;

											transition: all .25s ease;

										}


										.input-custom .form-control:focus{

											border-color: var(--primary);

											box-shadow: 0 0 0 4px rgba(0, 103, 177, 0.30);

										}


										/* ÍCONO IZQUIERDO */

										.input-icon{

											position: absolute;

											z-index: 2;

											left: 0;

											top: 0;

											bottom: 0;

											width: 52px;

											display: flex;

											align-items: center;

											justify-content: center;

											border-right: 1px solid #e2e4e8;

											color: #5f6670;

										}


										/* BOTÓN MOSTRAR CONTRASEÑA */

										.btn-show-password{

											position: absolute;

											z-index: 3;

											right: 10px;

											border: none;

											background: transparent;

											color: #737a83;

											cursor: pointer;

											padding: 8px;

										}


										.btn-show-password:hover{

											color: var(--primary);

										}


										/* =====================================================
										RECUPERAR CONTRASEÑA
										===================================================== */

										.forgot-password{

											text-align: right;

											margin-top: 8px;

										}


										.forgot-password a{

											color: var(--primary);

											font-size: 13px;

											font-weight: 600;

											text-decoration: none;

										}


										.forgot-password a:hover{

											text-decoration: underline;

										}

										/* =====================================================
										BOTÓN INGRESAR
										===================================================== */

										.btn-login{

											width: 100%;

											height: 54px;

											border: none;

											border-radius: 10px;

											margin-top: 8px;

											background: var(--primary);

											color: white;

											font-size: 16px;

											font-weight: 700;

											cursor: pointer;

											display: flex;

											align-items: center;

											justify-content: center;

											gap: 10px;

											box-shadow: 0 8px 20px rgba(0, 103, 177, .30);

											transition: all .25s ease;

										}


										.btn-login:hover{

											background: var(--primary-dark);

											transform: translateY(-2px);

											box-shadow: 0 11px 25px rgba(0, 103, 177, .30);

										}


										.btn-login:active{

											transform: translateY(0);

										}

										/* =====================================================
										TARJETA DE CONSIDERACIONES
										===================================================== */

										.considerations-card{

											margin-top: 28px;

											padding: 22px;

											border: 1px solid #e0e3e7;

											border-radius: 14px;

											background: #ffffff;

											box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

										}


										.considerations-title{

											display: flex;

											align-items: center;

											gap: 11px;

											margin-bottom: 17px;

											color: #343a40;

											font-size: 15px;

										}


										.considerations-icon{

											width: 24px;

											height: 24px;

											border-radius: 50%;

											display: flex;

											align-items: center;

											justify-content: center;

											background: var(--primary);

											color: white;

											font-size: 13px;

										}


										/* ITEM */

										.consideration-item{

											display: flex;

											align-items: flex-start;

											gap: 12px;

											margin-bottom: 13px;

										}
 

										.consideration-item:last-child{

											margin-bottom: 0;

										}


										.consideration-item p{

											margin: 0;

											color: #555d66;

											font-size: 11.5px;

											line-height: 1.55;

										}


										.consideration-item a{

											color: var(--primary);

											font-weight: 700;

											text-decoration: none;

										}


										.check-icon{

											flex-shrink: 0;

											width: 21px;

											height: 21px;

											border-radius: 50%;

											display: flex;

											align-items: center;

											justify-content: center;

											background: #edf0f2;

											color: #4e5760;

											font-size: 10px;

										}


										.consideration-item mark{

											padding: 2px 5px;

											background: #fff16a;

											color: #222;

											font-weight: 700;

										}


										/* =====================================================
										NUEVA TARJETA DE CLIENTE
										===================================================== */

										.client-access-card{

											display: flex;

											align-items: center;

											gap: 18px;

											margin-top: 27px;

											padding: 20px;

											border: 1px solid rgba(0, 103, 177, .30);

											border-radius: 15px;

											background:

												linear-gradient(
													90deg,
													rgba(0, 103, 177, .10),
													rgba(255, 255, 255, 1)
												);

											box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

										}


										

										/* TEXTO */

										.client-information{

											flex: 1;

										}


										.client-information h4{

											margin: 0 0 5px;

											color: #30343b;

											font-size: 18px;

											font-weight: 750;

										}


										.client-information p{

											margin: 0;

											color: #626a74;

											font-size: 13px;

											line-height: 1.5;

										}


										/* BOTÓN CLIENTE */

										.btn-client{

											min-width: 150px;

											height: 48px;

											padding: 0 20px;

											border: 1px solid var(--primary);

											border-radius: 9px;

											display: flex;

											align-items: center;

											justify-content: center;

											gap: 15px;

											background: white;

											color: #0067B1;

											font-size: 14px;

											font-weight: 700;

											text-decoration: none;

											transition: all .25s ease;

										}


										.btn-client:hover{

											background: var(--primary);

											color: white;

											text-decoration: none;

											transform: translateY(-2px);

											box-shadow: 0 8px 18px rgba(255, 20, 26, .22);

										}


										.btn-client i{

											font-size: 17px;

											transition: transform .25s ease;

										}


										.btn-client:hover i{

											transform: translateX(5px);

										}



									/* =====================================================
									RESPONSIVE
									===================================================== */

									@media(max-width: 768px){

										.login-panel{

											max-width: 100%;

											padding: 30px 22px;

										}


										.login-header h1{

											font-size: 52px;

										}


										.client-access-card{

											flex-wrap: wrap;

											text-align: center;

											justify-content: center;

										}


										.client-information{

											flex-basis: calc(100% - 85px);

											text-align: left;

										}


										.btn-client{

											width: 100%;

											margin-top: 5px;

										}


										.login-benefits{

											flex-direction: column;

											gap: 15px;

										}


										.benefit-item{

											width: 100%;

										}

									}


									@media(max-width: 480px){

										.login-header h1{

											font-size: 43px;

											letter-spacing: -2px;

										}


										.client-access-card{

											flex-direction: column;

										}


										.client-information{

											flex-basis: auto;

											text-align: center;

										}


										.considerations-card{

											padding: 18px;

										}

									}







