


@-webkit-keyframes fadeInUp {
    0% {
      opacity: 0;
      -webkit-transform: translateY(30px);
              transform: translateY(30px);
    }
    60% {
      opacity: 1;
      -webkit-transform: translateY(-10px);
              transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
  }

  @-moz-keyframes fadeInUp {
    0% {
      opacity: 0;
      -moz-transform: translateY(30px);
              transform: translateY(30px);
    }
    60% {
      opacity: 1;
      -moz-transform: translateY(-10px);
              transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      -moz-transform: translateY(0);
              transform: translateY(0);
    }
  }

  @-ms-keyframes fadeInUp {
    0% {
      opacity: 0;
      -ms-transform: translateY(30px);
              transform: translateY(30px);
    }
    60% {
      opacity: 1;
      -ms-transform: translateY(-10px);
              transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      -ms-transform: translateY(0);
              transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    60% {
      opacity: 1;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  body {
    font-family: 'Arial', sans-serif;
    background: url('/assets/img/fondo.png') no-repeat center center fixed;

    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #ecf0f1;
    overflow: hidden;
  }

    .container {
    background: rgba(40, 50, 70, 0.2);


    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 30px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    -webkit-animation: fadeInUp 1.2s ease-out;
       -moz-animation: fadeInUp 1.2s ease-out;
        -ms-animation: fadeInUp 1.2s ease-out;
            animation: fadeInUp 1.2s ease-out;
  }

  .logo {
    text-align: center;
    margin-bottom: 20px;
  }

  .logo img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  label {
    font-size: 14px;
    color: #3498db;
    text-align: left;
    margin-bottom: 5px;
    font-weight: 500;
  }

  input[type="text"],
  input[type="password"] {
    padding: 12px;
    border: 1px solid #3498db;
    border-radius: 5px;
    font-size: 14px;
    color: #ecf0f1;
    background-color: #2c3e50;
    outline: none;
    transition: border-color 0.2s;
  }

  input[type="text"]:focus,
  input[type="password"]:focus {
    border-color: #1f8ef1;
  }

  button {
    background-color: #1f8ef1;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
  }

  button:hover {
    background-color: #3498db;
  }

  button:active {
    background-color: #1e66d8;
  }

  .error-message {
    color: #e74c3c;
    margin-top: 10px;
    display: block;
  }

  .footer {
    margin-top: 15px;
    font-size: 12px;
    color: #95a5a6;
    text-align: center;
  }

  .footer p {
    margin: 0;
  }

  .footer a {
    color: #1f8ef1;
    text-decoration: none;
    font-weight: 500;
  }

  .footer a:hover {
    color: #3498db;
  }

  .page-footer {
    background: rgba(44, 62, 80, 0.9);
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
  }

  .page-footer p {
    margin: 0;
  }


  .password-container {
    display: flex;
    align-items: center;
    position: relative;
  }

  .password-container input {
    flex: 1;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
  }

  #toggle-password.password-icon {
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    right: 3px;
    margin-bottom: 9px;
    color: #6c757d;
  }

  @media (max-width: 768px) {
    .container {
      padding: 20px;
      max-width: 90%;
    }

    button {
      font-size: 14px;
      padding: 15px;
    }

    input[type="text"],
    input[type="password"] {
      font-size: 16px;
    }
  }

  @media (max-width: 480px) {
    .container {
      padding: 15px;
      max-width: 95%;
    }

    button {
      font-size: 12px;
    }

    input[type="text"],
    input[type="password"] {
      font-size: 14px;
    }
  }