.mm-toggle-filter-section {
  padding: 24px 0;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
}

.mm-toggle-filter-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Platform toggle */
.mm-platform-toggle {
  background: #f2f2f2;
  border-radius: 999px;
  display: flex;
  padding: 4px;
  gap: 4px;
}

.mm-platform-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
}

.mm-platform-btn i {
  margin-right: 6px;
}

.mm-platform-btn.active {
  background: #fff;
  color: #000;
  font-weight: 600;
}

/* Filter tabs */
.mm-filter-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 40px;
}

.mm-filter-tab {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #aaa;
  position: relative;
  cursor: pointer;
  padding: 6px 0;
}

.mm-filter-tab.active {
  color: #000;
  font-weight: 600;
}

.mm-filter-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: #000;
}

@media (max-width: 768px) {
  .mm-toggle-filter-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .mm-platform-toggle {
    gap: 4px;
    padding: 5px;
  }

  .mm-platform-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .mm-filter-tabs {
    gap: 12px;
    margin-left: 0;
  }

  .mm-filter-tab {
    font-size: 13px;
    padding: 4px 6px;
  }
}

@media (max-width: 480px) {
  .mm-toggle-filter-container {
    flex-direction: row;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
    gap: 8px;
  }

  .mm-toggle-filter-section {
    padding: 20px 0px;
  }

  .mm-platform-toggle {
    gap: 4px;
    padding: 6px;
  }

  .mm-platform-btn {
    font-size: 12px;
    padding: 5px 10px;
  }

  .mm-filter-tab {
    font-size: 12px;
    padding: 4px;
  }

  .mm-filter-tabs {
    gap: 5px;
  }
}

@media (max-width: 380px) {
  .mm-toggle-filter-container {
    flex-direction: row;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
    gap: 8px;
  }

  .mm-toggle-filter-section {
    padding: 20px 0px;
  }

  .mm-platform-toggle {
    gap: 4px;
    padding: 6px;
  }

  .mm-platform-btn {
    font-size: 12px;
    padding: 5px 10px;
  }

  .mm-filter-tab {
    font-size: 10px;
    padding: 4px;
  }

  .mm-filter-tabs {
    gap: 5px;
  }
}

/* -------------- Dark Mode Support Start--------------*/

/* Dark mode background and container */
body.dark-mode .mm-toggle-filter-section {
  background: #1a1a1a;
}

/* Dark mode toggle background */
body.dark-mode .mm-platform-toggle {
  background: #333;
}

/* Dark mode toggle buttons */
body.dark-mode .mm-platform-btn {
  color: #aaa;
}

body.dark-mode .mm-platform-btn.active {
  background: #000;
  color: #fff;
}

/* Dark mode tabs */
body.dark-mode .mm-filter-tab {
  color: #777;
}

body.dark-mode .mm-filter-tab.active {
  color: #fff;
}

body.dark-mode .mm-filter-tab.active::after {
  background: #fff;
}


/* -------------- Dark Mode Support End--------------*/

.label-highlight {
  animation: labelPulse 10s ease-in-out;
  color: #000;
  background-color: #ffeb3b;
}

@keyframes labelPulse {
  0% {
    box-shadow: 0 0 0px 0px #ffeb3b;
    background-color: #fff176;
    color: #000;
  }
  15% {
    box-shadow: 0 0 14px 8px #ffc107;
    background-color: #ffeb3b;
  }
  25% {
    box-shadow: 0 0 8px 4px #ffc107;
  }
  80% {
    box-shadow: 0 0 4px 2px #ffd54f;
    background-color: #fff8b5;
  }
  100% {
    box-shadow: 0 0 0px 0px transparent;
    background-color: transparent;
    color: inherit;
  }
}
