.commands-section {
    padding: 10rem 0;
    color: #fec200;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.command-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.2rem;
    transition: transform 0.2s;
    color: #fec200;
}

.command-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.command-category {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Couleurs par catégorie */
.category-moderation { background: rgba(237, 66, 69, 0.2); color: #ED4245; }
.category-music { background: rgba(59, 165, 92, 0.2); color: #3BA55C; }
.category-fun { background: rgba(250, 166, 26, 0.2); color: #FAA61A; }

.search-box {
    position: relative;
    margin: 1rem 0;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 4px;
    color: white;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.category-filter {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

.category-filter.active {
    background: #5865F2;
    color: white;
}

.permission-filters {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.permission-filter {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #ccc;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s, color 0.3s;
  user-select: none;
}

.permission-filter:hover {
  background-color: #ddd;
}

.permission-filter.active {
  background-color: #4a90e2;
  color: white;
  border-color: #357abd;
  box-shadow: 0 0 5px rgba(53, 122, 189, 0.6);
}