@import url(https://fonts.googleapis.com/css?family=Open+Sans);
.btn { display: inline-block; *display: inline; *zoom: 1; padding: 4px 10px 4px; margin-bottom: 0; font-size: 13px; line-height: 18px; color: #333333; text-align: center;text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); vertical-align: middle; background-color: #f5f5f5; background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); background-image: linear-gradient(top, #ffffff, #e6e6e6); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#ffffff, endColorstr=#e6e6e6, GradientType=0); border-color: #e6e6e6 #e6e6e6 #e6e6e6; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border: 1px solid #e6e6e6; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); cursor: pointer; *margin-left: .3em; }
.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] { background-color: #e6e6e6; }
.btn-large { padding: 9px 14px; font-size: 15px; line-height: normal; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.btn:hover { color: #333333; text-decoration: none; background-color: #e6e6e6; background-position: 0 -15px; -webkit-transition: background-position 0.1s linear; -moz-transition: background-position 0.1s linear; -ms-transition: background-position 0.1s linear; -o-transition: background-position 0.1s linear; transition: background-position 0.1s linear; }
.btn-primary, .btn-primary:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.btn-primary.active { color: rgba(255, 255, 255, 0.75); }
.btn-primary { background-color: #4a77d4; background-image: -moz-linear-gradient(top, #6eb6de, #4a77d4); background-image: -ms-linear-gradient(top, #6eb6de, #4a77d4); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6eb6de), to(#4a77d4)); background-image: -webkit-linear-gradient(top, #6eb6de, #4a77d4); background-image: -o-linear-gradient(top, #6eb6de, #4a77d4); background-image: linear-gradient(top, #6eb6de, #4a77d4); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#6eb6de, endColorstr=#4a77d4, GradientType=0);  border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] { filter: none; background-color: #4a77d4; }
.btn-block { width: 100%; display:block; }

* { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; }

/*html { width: 100%; height:100%; overflow:hidden; }*/

body { 
background-image: linear-gradient(to left top, #0b0b36, #101a46, #152757, #1a3568, #1f4479, #225487, #286495, #3074a2, #4289ad, #599db8, #74b1c2, #90c5cd);
width: 100%;
height: 100%;
max-width: 100%; 
overflow-x: hidden; 
}
h1 {
  font-size: 36px;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Sombra sutil del título */
  margin-bottom: 20px;
  font-weight: bold;
}

/* Estilos del contenedor de login */
.login {
  position: fixed; /* Fijo, para que siempre esté visible */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centrado absoluto */
  width: 100%;
  max-width: 450px; /* Limitar el tamaño máximo */
  background: rgba(255, 255, 255, 0.1); /* Fondo semitransparente */
  border-radius: 10px;
  padding: 40px;
  backdrop-filter: blur(10px); /* Efecto de cristal difuso */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); /* Sombra externa para mayor profundidad */
  text-align: center;
  transition: all 0.3s ease; /* Transición para cualquier cambio de tamaño */
}

.login h1 {
  font-size: 28px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.3); /* Fondo translúcido */
  color: #fff;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra interna y externa */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

input:focus {
  background-color: rgba(255, 255, 255, 0.5); /* Cambiar fondo al enfocar */
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra al enfocar */
}

button {
  padding: 12px;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra interna y externa */
  transition: all 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

button:active {
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3); /* Efecto al hacer clic */
  transform: translateY(2px); /* Efecto de hundimiento */
}

/* Estilo para la alerta de error (si es necesario) */


/* Responsividad */
@media (max-width: 1024px) {
  .login {
    padding: 30px;
    max-width: 80%; /* Ajuste para tablets y pantallas más pequeñas */
  }

  h1 {
    font-size: 24px;
  }

  input {
    font-size: 14px;
    padding: 10px;
  }

  button {
    font-size: 16px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .login {
    padding: 20px;
    max-width: 90%; /* Ajuste para pantallas más pequeñas como móviles */
  }

  h1 {
    font-size: 22px;
  }

  input {
    font-size: 13px;
    padding: 10px;
  }

  button {
    font-size: 15px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .login {
    padding: 15px;
    max-width: 95%; /* Ajuste para pantallas muy pequeñas */
  }

  h1 {
    font-size: 20px;
  }

  input {
    font-size: 12px;
    padding: 8px;
  }

  button {
    font-size: 14px;
    padding: 8px;
  }
}