#block-tckmainloyalty {
  display: none;
}

.error-message {
  color: red;
  font-size: 12px;
}

.password-toggle {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.password-toggle i {
  font-size: 18px;
}

.contact-edit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Estilos generales */
.box-body {
  background-image: url("../images/img-login.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup {
  font-family: "Circular", sans-serif;
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  color: black;
  padding: 60px;
  border-radius: 5px;
  text-align: center;
  width: fit-content;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup button {
  margin-top: 10px;
  background-color: #19401e;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 18px;
}

.error-popup {
  background-color: #ffb6c7;
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #ff1149;
  font-size: 0.989rem;
  font-weight: 600;
  font-family: "Circular", sans-serif;
}

.image-logo {
  background-image: url("../images/logo-color.svg");
  background-position: center;
  background-repeat: no-repeat;
  width: 120px;
  height: 33px;
  background-size: contain;
  justify-self: center;
  padding: 20px;
}

.txt-time {
  font-size: 14px;
}

/* Adaptación para dispositivos móviles (pantallas hasta 768px) */
@media screen and (max-width: 768px) {
  .popup {
    padding: 20px;         /* Se reduce el padding */
    width: 90%;            /* Se usa un ancho relativo */
    max-width: 320px;      /* Ancho máximo para evitar que ocupe demasiado */
  }
  
  .popup button {
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .error-popup {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
  
  .txt-time {
    font-size: 12px;
  }
}

/* Adaptación para pantallas muy pequeñas (hasta 480px) */
@media screen and (max-width: 480px) {
  .popup {
    padding: 15px;
    width: 95%;
    max-width: 280px;
  }
  
  .popup button {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .error-popup {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
    
  .txt-time {
    font-size: 11px;
  }
}
