

body {
    margin: 0;
    padding: 0;
    background: url("../img/inicio_bw.jpg") no-repeat left top;
    background-color: #f7f7f7;
    font-family: Arial, sans-serif;
    height: 100vh;
  }
  
  .login-box {
    top: 50%;
    left: 80%;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 320px;
    margin: auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  
  .logo-container {
    text-align: center;
  }
  
  .logo-container img {
    width: 200px; 
    height: 200px; 
    border-radius: 50%;
  }

  
  .input-container {
    position: relative;
    margin-bottom: 20px;
  }
  
  .input-container input {
    width: 95%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    outline: none;
    height: 40px;
    background-color: #f7f7f7;
    color: #333333;
    font-size: 16px;
    outline: none;
  }
  
  .input-container input:focus {
    border-color: #000;
  }
  
  .input-container input:focus + i {
    color: #000;
  }
  
  .input-container i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    color: #999999;
  }
  
  .btnInicio {
    border: none;
    outline: none;
    height: 40px;
    background: black;
    color: #fff;
    width: 100%;
    font-size: 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .login-box input[type="submit"]:hover  {
    background: linear-gradient(to right,#888, #000, #000, #888);
  }
  
  .login-box h5 {
    margin-left: 20%; 
  }
  
  
  @media only screen and (max-width: 768px) {
    .login-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh; 
    }
  }
  
  .alert {
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .alert-success {
    background-color: #dff0d8;
    color: #3c763d;
  }
  
  .alert-danger {
    background-color: #f2dede;
    color: #a94442;
  }

  .loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    margin: auto;
    display: none; /* Oculto por defecto */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Deshabilitar inputs */
.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* body {
    font-family: 'Overpass', sans-serif;
    font-weight: normal;
    font-size: 100%;
    color: #1b262c;

    margin: 0;
    background-color: #0f4c75;
}

#contenedor {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: 100%;
    height: 100%;
}

#central {
    max-width: 320px;
    width: 100%;
}

.titulo {
    font-size: 250%;
    color:#bbe1fa;
    text-align: center;
    margin-bottom: 20px;
}

#login {
    width: 100%;
    padding: 50px 30px;
    background-color: #3282b8;

    -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);

    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;

    box-sizing: border-box;
}

#login input {
    font-family: 'Overpass', sans-serif;
    font-size: 110%;
    color: #1b262c;

    display: block;
    width: 100%;
    height: 40px;

    margin-bottom: 10px;
    padding: 5px 5px 5px 10px;

    box-sizing: border-box;

    border: none;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}

#login input::placeholder {
    font-family: 'Overpass', sans-serif;
    color: #E4E4E4;
}

#login button {
    font-family: 'Overpass', sans-serif;
    font-size: 110%;
    color:#1b262c;
    width: 100%;
    height: 40px;
    border: none;

    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;

    background-color: #bbe1fa;

    margin-top: 10px;
}

#login button:hover {
    background-color: #0f4c75;
    color:#bbe1fa;
}

.pie-form {
    font-size: 90%;
    text-align: center;
    margin-top: 15px;
}

.pie-form a {
    display: block;
    text-decoration: none;
    color: #bbe1fa;
    margin-bottom: 3px;
}

.pie-form a:hover {
    color: #0f4c75;
}

.inferior {
    margin-top: 10px;
    font-size: 90%;
    text-align: center;
}

.inferior a {
    display: block;
    text-decoration: none;
    color: #bbe1fa;
    margin-bottom: 3px;
}

.inferior a:hover {
    color: #3282b8;
}

.usuario{
 width: 100px;
 height: 100px;
 border-radius: 40%;
 position: absolute;
 top: 15px;
 left: calc(50% - 50px);
} */
