/* Pill navigation (used by `index.html`) */
.buttons-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pill {
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.pill > li {
  display: flex;
}

.pill-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-btn i {
  font-size: 18px;
}

.pill-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* Dirham PNG in pill: match SVG currentColor inactive/active contrast */
.pill-btn .pill-icon.tm-symbol-aed-white {
  opacity: 0.78;
}

.pill > li.active .pill-btn .pill-icon.tm-symbol-aed-white,
.pill-btn.active-text .pill-icon.tm-symbol-aed-white {
  opacity: 1;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.95);
}

.pill > li.active .pill-btn,
.pill-btn.active-text {
  background: rgba(7, 175, 121, 0.22);
  color: #ffffff;
}

.pill-label {
  display: inline-block;
}

@media (max-width: 576px) {
  .pill-btn {
    padding: 10px 12px;
    gap: 8px;
  }
  .pill-label {
    display: none;
  }
}