* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

.login-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

.login_methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  margin: 0;
}

.banner-login {
  display: none;
  object-fit: cover;
  position: fixed;
  left: 0;
  top: 0;
}

@media (min-width: 768px) {
  .login-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0;
    gap: 0;
  }

  .login_methods {
    gap: 10px;
    margin-left: 400px;
    padding: 0 40px;
    width: 400px;
    z-index: 1;
  }

  .banner-login {
    display: block;
    height: 100vh;
    width: 50%;
    object-fit: cover;
    position: fixed;
    left: 0;
    top: 0;
  }

  .titulo-login {
    color: #2c2c2c;
    font-size: 25px;
    margin-top: 10px;
  }
}

.logo-login {
  width: 210px;
}

.titulo-login {
  color: #2c2c2c;
  font-size: 25px;
  margin-top: 20px;
}

.subtitulo-login {
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 5px;
}

/* Hint primer ingreso */
.first-time-hint {
  width: 95%;
  position: relative;
  z-index: 10;
}

.first-time-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px 14px;
  background-color: #e8f0fe;
  border-radius: 8px;
  color: #0d3e72;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.first-time-toggle:hover {
  background-color: #d0e2fc;
}

.first-time-toggle box-icon {
  transition: transform 0.3s ease;
}

.first-time-toggle.open box-icon {
  transform: rotate(180deg);
}

.first-time-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f5f8ff;
  border-radius: 0 0 8px 8px;
  padding: 0 14px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.first-time-content.open {
  max-height: 160px;
  padding: 12px 14px;
}

.first-time-content p {
  margin-bottom: 4px;
}

.login-form {
  width: 95%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: none;
  box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.3);
  background-color: #4f4f4f;
  color: #e3e3e3;
  padding: 25px;
  gap: 10px;
}

.form-group-login {
  margin-bottom: 10px;
  text-align: left;
}

.label_login {
  display: block;
  font-size: 14px;
  color: #e3e3e3;
  margin-bottom: 5px;
  font-weight: bold;
}

.visualizaer-container {
  position: relative;
}

.visualizaer-container box-icon {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.forgot-password-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password-link:visited {
  color: #ffffff;
}

.fields-login {
  width: 100%;
  height: 30px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  align-items: center;
  text-transform: uppercase;
}

.fields-login-pass {
  width: 100%;
  height: 30px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  align-items: center;
}

.btn-login {
  background-color: #0d3e72;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 5px;
  width: 100%;
}

.btn-login:hover {
  background-color: #092c52;
}

.btn-login:active {
  background-color: #061e3a;
}

/* Toast notifications */
#toast-message {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}

#toast-message.show {
  opacity: 1;
  visibility: visible;
}

#toast-message.toast-ok {
  background-color: #2e7d32;
}

#toast-message.toast-error {
  background-color: #c62828;
}

#toast-message.toast-warning {
  background-color: #f9a825;
  color: #333;
}