@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url(https://db.onlinewebfonts.com/c/af8360322ea08b2e685007f3951b7c8f?family=Zico+Display+H%2BL+Inline);
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

@font-face {
  font-family: 'EurostileExtended';
  src: url('../../fonts/EurostileExtended-Black.woff2') format('woff2'),
      url('../../fonts/EurostileExtended-Black.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: #87b7df;
  padding: 1.2rem 0;
  text-align: center;
  border-bottom: 2px solid #ccc;
}

header h1 {
  color: #ffffff;
  font-size: 3rem;
  letter-spacing: 3px;
  font-family: 'EurostileExtended', sans-serif;
}

.login-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.login-box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  position: relative;
}

.login-title {
  text-align: center;
  font-size: 26px;
  color: #000000;
  margin-bottom: 30px;
}

.input-label {
  font-weight: 500;
  color: #444444;
  margin-bottom: 8px;
  display: block;
}

input[type="email"],
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  margin-bottom: 18px;
  transition: border-color 0.3s ease;
  color: #000;
}

input:focus {
  outline: none;
  border-color: #000000;
}

.password-container {
  position: relative;
}

.password-container input {
  padding-right: 40px;
}

.password-container input button i {
  align-items: center;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
}

.barra__seguridad {
  height: 6px;
  width: 100%;
  background-color: #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.mensaje__error {
  color: #e60023;
  font-size: 13px;
}

.mensaje__notificacion {
  text-align: center;
  padding: 12px;
  font-weight: bold;
  border-radius: 8px;
  margin: 20px auto;
  width: 90%;
  max-width: 450px;
}

.mensaje__exito {
  background-color: #d4edda;
  color: #155724;
}

.mensaje__error {
  background-color: #f8d7da;
  color: #721c24;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background-color: #25414b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #142227;
}

.register-text {
  text-align: center;
  margin-top: 20px;
  color: #444444;
  font-size: 14px;
}

.btn-register {
  color: #858585;
  font-weight: bold;
  text-decoration: none;
}

.btn-register:hover {
  text-decoration: underline;
  color: #42424288;
}

.back-arrow {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #3a3a3a;
  font-size: 20px;
  text-decoration: none;
}

.back-arrow:hover {
  color: #000000;
}

/* Footer */
footer {
  background-color: #111;
  color: #eee;
  padding: 40px 0 10px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1 1 250px;
  margin: 20px 0;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
  border-bottom: 2px solid #444;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p {
  font-size: 14px;
  color: #bbb;
  margin: 8px 0;
}

.footer-section i {
  margin-right: 8px;
}

.social-icons a {
  color: #eee;
  margin-right: 15px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1da1f2;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
  font-size: 13px;
  color: #888;
}

.password-container input {
  height: 44px;
}

.requisitos-password {
  list-style: none;
  padding-left: 0;
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
}

.requisitos-password li {
  margin-bottom: 4px;
}

.requisitos-password .valido {
  color: green;
}

.requisitos-password .invalido {
  color: red;
}

.mensaje__validacion {
  padding: 8px;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 12px;
  font-weight: normal;
}

.mensaje__exito {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mensaje__error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#confirmarPassword::-webkit-clear-button,
#confirmarPassword::-ms-clear {
  display: none;
}

@media (max-width: 991px) {
  header h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .login-box {
    padding: 2rem;
    max-width: 95%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-section {
    flex: 1 1 100%;
    margin: 10px 0;
  }

  .footer-section h4 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .login-container {
    padding: 1rem;
  }

  .login-box {
    padding: 1.5rem 1rem;
    border-radius: 10px;
    max-width: 95%;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .input-label,
  input[type="email"],
  input[type="password"],
  .btn-login {
    font-size: 0.95rem;
  }

  .btn-login {
    padding: 10px;
  }

  .register-text {
    font-size: 0.9rem;
  }

  .footer-section h4 {
    font-size: 15px;
  }

  .footer-section p,
  .footer-bottom {
    font-size: 12px;
  }

  .social-icons a {
    font-size: 16px;
  }

  .toggle-password {
    font-size: 0.9rem;
  }
}
