.wrap > .container{
  padding: 15px;
}

#form-main{
  width:100%;
  float:left;
  padding-top:0px;
}

#form-div {
  width: 410px;
  float: left;
  left: 50%;
  transform: translateX(10%);
  position: absolute;
  margin-top:10px;
  margin-left: -260px;
  padding-left:0px;
  padding-right:35px;
  padding-top:10px;
  padding-bottom:50px;
  background: -webkit-linear-gradient(bottom right, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.52) 50%, rgba(255,255,255,0.62) 100%);
  background: -o-linear-gradient(bottom right, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.52) 50%, rgba(255,255,255,0.62) 100%);
  background: linear-gradient(to top left, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.52) 50%, rgba(255,255,255,0.62) 100%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  border: 3px solid #edd378;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -webkit-box-shadow: 0 0 14px 1px rgba(0,0,0,0.5) ;
  box-shadow: 0 0 14px 1px rgba(0,0,0,0.5) ;
}

.help-block {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.card {
  position: relative;
  background: -webkit-linear-gradient(-48.81407483429035deg, rgba(246,248,249,1) 0, rgba(229,235,238,1) 42%, rgba(215,222,227,1) 42%, rgba(245,247,249,0.88) 100%);
  background: -moz-linear-gradient(138.81407483429035deg, rgba(246,248,249,1) 0, rgba(229,235,238,1) 42%, rgba(215,222,227,1) 42%, rgba(245,247,249,0.88) 100%);
  background: linear-gradient(138.81407483429035deg, rgba(246,248,249,1) 0, rgba(229,235,238,1) 42%, rgba(215,222,227,1) 42%, rgba(245,247,249,0.88) 100%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  border: 3px solid rgba(250,215,116,0.8);
  border-radius: 10px;
  padding: 60px 0 40px 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: .3s ease;
  /* Title */
  /* Inputs */
  /* Button */
  /* Footer */
  /* Alt Card */
}

.title {
  position: relative;
  z-index: 2;
  border-left: 10px solid #222d63;
  margin: 0 0 35px;
  padding: 9px 100px 0px 30px;
  text-transform: uppercase;

}

.input-container {
  position: relative;
  margin: 0 44px 10px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px; /* Ajusta el valor de acuerdo a tu diseño */
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1; /* Asegura que el botón esté sobre el campo de entrada */
}

.input-container input {
  outline: none;
  caret-color: #fad774;
  z-index: 1;
  position: relative;
  padding-left: 30px;
  background: none;
  width: 100%;
  height: 60px;
  border: 0;
  color: #212121;
  font-size: 18px;
  font-weight: 400;
}

.input-container .form-control {
  border: none; /* Elimina el borde */
  outline: none; /* Elimina el borde al hacer focus */
  box-shadow: none; /* Elimina cualquier sombra */
}

.input-container .form-control:focus {
  border: none; /* Asegúrate de que no aparezca borde al hacer focus */
  outline: none;
  box-shadow: none;
}

.input-container .help-block {
  color: red; /* O cualquier color que prefieras para los mensajes de error */
  font-size: 12px; /* Ajusta el tamaño según tus necesidades */
  margin-top: 5px;
}

/* Para eliminar el color azul del autorellenado en Google Chrome y Safari */
.input-container input:-webkit-autofill,
.input-container input:-webkit-autofill:hover,
.input-container input:-webkit-autofill:focus,
.input-container input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-transition: background-color 5000s ease-in-out 0s;
}

/* Para eliminar el color azul del autorellenado en Mozilla Firefox */
.input-container input:-moz-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* Estilos adicionales opcionales */
.input-container input:-webkit-autofill {
  background-color: transparent !important;
  color: inherit !important;
}
.input-container input:focus ~ label {
  color: #9d9d9d;
  -webkit-transform: translate(-12%, -50%) scale(0.75);
          transform: translate(-12%, -50%) scale(0.75);
}

.input-container input:focus ~ .bar:before,
.card .input-container input:focus ~ .bar:after {
  width: 50%;
}
.input-container input:valid ~ label {
  color: #9d9d9d;
  -webkit-transform: translate(-12%, -50%) scale(0.75);
          transform: translate(-12%, -50%) scale(0.75);
}
.input-container label {
  position: absolute;
  top: 0;
  left: 0;
  font: normal bold 11px/1.5 Verdana, Geneva, sans-serif;
  color: #2F456B;  
  font-size: 14px;
  font-weight: 300;
  line-height: 60px;
  transition: 0.2s ease;
}
.input-container .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #1761AC;
  width: 100%;
  height: 1px;
}
.input-container .bar:before,
.card .input-container .bar:after {
  content: '';
  position: absolute;
  background: #F5D327;
  width: 0;
  height: 2px;
  transition: .2s ease;
}
.input-container .bar:before {
  left: 50%;
}
.input-container .bar:after {
  right: 50%;
}

.card {
  position: relative;
  background: -webkit-linear-gradient(-48.81407483429035deg, rgba(246,248,249,1) 0, rgba(229,235,238,1) 42%, rgba(215,222,227,1) 42%, rgba(245,247,249,0.88) 100%);
  background: -moz-linear-gradient(138.81407483429035deg, rgba(246,248,249,1) 0, rgba(229,235,238,1) 42%, rgba(215,222,227,1) 42%, rgba(245,247,249,0.88) 100%);
  background: linear-gradient(138.81407483429035deg, rgba(246,248,249,1) 0, rgba(229,235,238,1) 42%, rgba(215,222,227,1) 42%, rgba(245,247,249,0.88) 100%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  border: 3px solid rgba(250,215,116,0.8);
  border-radius: 10px;
  padding: 60px 0 40px 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: .3s ease;
  /* Title */
  /* Inputs */
  /* Button */
  /* Footer */
  /* Alt Card */
}

.button-container {
  margin: 0 60px;
  text-align: center;
}
.button-container button {
  outline: 0;
	margin-top: 10%;
  cursor: pointer;
  position: relative;
  left: 40%;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  padding: 10px 20px;
  border: none;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font: normal 15px/normal Verdana, Geneva, sans-serif;
  color: rgba(255,255,255,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #2F456B;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
}

.button-container button:hover {
  background: #1761AC;
}

.button-container button:active {
  -webkit-box-shadow: 0 0 8px 1px rgba(0,0,0,0.5) inset;
  box-shadow: 0 0 8px 1px rgba(0,0,0,0.5) inset;
}

.reset-container {
  text-align: center; /* Alineación a la izquierda */
}

/* Keyframes */
@-webkit-keyframes buttonFadeInUp {
  0% {
    bottom: 30px;
    opacity: 0;
  }
}

@keyframes buttonFadeInUp {
  0% {
    bottom: 30px;
    opacity: 0;
  }
}

.focused{
	color:#30aed6;
	border:#30aed6 solid 3px;
}

/*Dispositivos móviles*/
@media only screen and (max-width: 500px) {
	#form-div{
    left: 3%;
		margin: auto;
		width: 88%;
		margin-left: -5%;
		padding-left: 3%;
		padding-right: 3%;
	} 

  .button-container button {
    left: 50%; /* Mueve el botón al centro del contenedor */
    transform: translateX(-50%); /* Centra horizontalmente el botón */
    margin-top: 10%; /* Puedes ajustar este valor según sea necesario */
  }
}