

/* Estilo del mensaje de error */
.error-message {
	background-color: #ffe6e6; /* Fondo rojo claro */
	color: #d9534f; /* Rojo oscuro para el texto */
	border: 1px solid #d9534f; /* Borde rojo oscuro */
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 0.9em;
	text-align: center;
}

.success-message {
	background-color: #e6ffea; /* Verde rojo claro */
	color: #4fd966; /* Verde oscuro para el texto */
	border: 1px solid #4fd973; /* Borde rojo oscuro */
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 0.9em;
	text-align: center;
}

/* Animación de aparición para los mensajes de error */
.error-message {
	animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {from { opacity:0;
	transform: translateY(-10px);
}

to {
	opacity: 1;
	transform: translateY(0);
}

}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


.wrapper {
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	  position: relative;
  	overflow: hidden;
}
.fondo-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Para que la imagen se escale bien */
  opacity: 0.4; /* Ajusta visibilidad del fondo */
}

.inner {
	position: relative;
	width: 435px;
}


.formularioLogin {
	width: 100%;
	position: relative;
	z-index: 9;
	border-radius: 8px;
}

h3 {
	text-transform: uppercase;
	font-size: 25px;
	letter-spacing: 3px;
	text-align: center;
	margin-bottom: 28px !important;
	background: linear-gradient(45deg, #597BFF, #84A3FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.form-holder {
	position: relative;
	margin-bottom: 21px;
}

.form-holder span {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	color: #597BFF;
}

.form-holder span.lnr-lock {
	left: 2px;
	color: #597BFF;
}

.form-control2 {
	border: none;
border-bottom: 1px solid #597BFF;
	display: block;
	width: 100%;
	height: 38px;
	background: none;
	padding: 3px 42px 0px;
	color: #B3B3B3;
	font-size: 16px;
}

.form-control2::-webkit-input-placeholder {
	font-size: 14px;
	color: #B3B3B3;
	transform: translateY(1px);
}

.form-control2::-moz-placeholder {
	font-size: 14px;
	color: #B3B3B3;
	transform: translateY(1px);
}

.form-control2:-ms-input-placeholder {
	font-size: 14px;
	color: #B3B3B3;
	transform: translateY(1px);
}

.form-control2:-moz-placeholder {
	font-size: 14px;
	color: #B3B3B3;
	transform: translateY(1px);
}

.form-control2:focus {
	border-bottom: 1px solid #597BFF;
}

.buttonLogin {
	border: none;
	width: 100%;
	height: 49px;
	margin-top: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: linear-gradient(45deg, #597BFF, #84A3FF);
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 2px;
	transition: all 0.5s;
	position: relative;
	overflow: hidden;
      color: white;
      padding: 0.9rem 2rem;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
}

button span {
	position: relative;
	z-index: 2;
}

.buttonLogin:before, .buttonLogin:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	-webkit-transform: translate(-100%, 0);
	transform: translate(-100%, 0);
	-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
	transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
	background: linear-gradient(45deg, #597BFF, #84A3FF);
      color: white;
      padding: 0.9rem 2rem;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
}

button:after {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

button:hover:before, button:hover:after {
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.divlogo {
	display: flex;
	justify-content: center;
	margin-bottom: 15px;
}

.loginMensajes {
	color: white;
	margin-top: 10px;
}

@media ( max-width : 1301px) {
	.inner {
		width: 400px;
		left: 4%;
	}
}

@media ( max-width : 767px) {
	.wrapper {
		align-items: flex-start;
	}
	.inner {
		width: 100%;
		left: 0;
	}
	.image-1 {
		display: none;
	}
	.formularioLogin {
		min-height: 100vh;
		padding: 80px 35px 35px 35px;
		box-shadow: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		-ms-box-shadow: none;
		-o-box-shadow: none;
		margin-top: auto;
		border: none;
		
	}
}


