/* === Modal Overlay === */
.modal {
  display: none;              /* hidden by default */
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6); /* dark overlay */
}

/* === Modal Content Box === */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  animation: fadeIn 0.3s ease; /* smooth entry */
}

/* === Modal Typography === */
.modal-content h2 {
  margin-top: 0;
}

.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content li {
  margin: 10px 0;
}

.modal-content a {
  color: #407787;
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

/* === Close Button === */
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* === Animation === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.suggest-tools-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.info-icon {
  font-size: 18px;
  cursor: pointer;
  color: #407787;
}

.info-box {
  display: none;
  position: absolute;
  top: 100%; /* below the row */
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-size: 14px;
  z-index: 9999;
}

/* Arrow pointer (white fill) */
.info-box::before {
  content: "";
  position: absolute;
  top: -8px;   /* slightly above the box */
  left: 25px;  /* adjust horizontally to align under the ℹ️ icon */
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  z-index: 10000; /* ensure it sits above */
}

/* Arrow border (gray outline) */
.info-box::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 25px;
  border-width: 9px;
  border-style: solid;
 border-color: transparent transparent red transparent;

  z-index: 9998;
}
