body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f4f7fe;
}

/* Fondo difuminado */
.background {
   /*background-image: url('../img/fondo.avif');  AquÃ­ va tu imagen difuminada */
    background-size: cover;
    background-position: center;
    /*filter: blur(8px);  Efecto borroso */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: -1;
    background-image: linear-gradient(288deg, #2f59cc 0%, #4b71ff 100%);
}

.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/shape_header.svg') no-repeat;
    opacity: 1;
    z-index: 1;
}

.content {
    flex: 1; /* Empuja el footer hacia abajo */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    width: 700px;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
}

.login-container {
    background: rgb(255, 255, 255);
    padding: 50px 50px;
    border-radius: 30px;
    box-shadow: 0px 20px 70px rgba(45, 54, 173, 0.11);
    text-align: center;
    max-width: 600px;
    width: 100%;
    color: #333;
    box-sizing: border-box;
    position: relative;
}

.logo-container img {
    max-width: 150px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #000;
}

label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
    color: #333;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

button {
   width: 100%;
   color: #fff;
   border: none;
   cursor: pointer;
   background-image: linear-gradient(288deg, #ffa369 0%, #ff436b 100%);
   box-shadow: 0px 15px 40px 0px rgba(255,115,106,.66);
   padding: 15px 30px;
   border-radius: 8px;
   font-size: 16px;
   margin-bottom: 30px;
}

button:hover {
    background-image: linear-gradient(288deg, rgb(26, 115, 232) 0%, rgb(26, 115, 232) 100%);
    box-shadow: 0px 15px 40px 0px rgba(26, 115, 232, 0.57);
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

p {
    font-size: 14px;
    margin: 10px 0;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.forgot-password {
    font-size: 14px;
    color: #dc3545;
}

.footer {
    text-align: center;
    font-size: 14px;
    /* background-color: #f7941d; Naranja */
    color:#16243D;
    padding: 10px;
    width: 98%;
    position: relative;
    bottom: 0;
    box-sizing: border-box;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 998px) {
    content {
     max-width: 95%;
  } 
}
@media screen and (max-width: 768px) {
    .content {
     max-width: 70%;
     margin-top: 30px;
  } 
}
@media screen and (max-width: 540px) {
    .background {
     height: 50%;
  }
    .content { 
     max-width: 90%;
  }
}
@media screen and (max-width: 480px) {
    .login-container {
     padding: 35px 30px;
  } 
     .content { 
     max-width: 95%;
  }
    .footer {
     margin-left: 10px;
     margin-right: 10px;
  }
    h2 {
     font-size: 20px;
  }
   .logo-container img {
     margin-bottom: 0px;
  }
    button {
     font-size: 15px;
     margin-bottom: 20px;
  }
}