body {
  background-color: #121212;
  color: #f1f1f1;
}

/* Recept kártyák */
.note-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}
.note-card h5 {
  color: #ffd54f;
}

/* Select2 többválasztós input */
.select2-container--default .select2-selection--multiple {
  background-color: #1e1e1e;
  color: #fff;
  border: 1px solid #555;
  min-height: 42px;
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
}

/* Dropdown lista – fehér háttér */
.select2-container--default .select2-results > .select2-results__options {
  background-color: #fff;
  color: #000;
}

/* Kiválasztott elem szövegének margó javítása */
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  padding-left: 2px;
  padding-right: 2px;
}

/* Tag-szerű megjelenítés Select2-hez */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 4px 8px;
  margin: 2px 2px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

/* Az „x” ikon bal oldalon, helyesen igazítva */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  margin-right: 6px;
  font-weight: bold;
  order: -1; /* ikon balra kerül */
  cursor: pointer;
  font-size: 1rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #000;
  background: #ffc107;
  border-radius: 50%;
  padding: 0 4px;
}

/* Masonry grid */
.recipes-grid {
  margin: 0 auto;
}

/* 3 oszlopos elrendezés */
/* 3 oszlopos elrendezés */
.recipes-grid-item {
  width: 32%;
  min-width: 280px;   /* <<< ne legyen túl keskeny */
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .recipes-grid-item {
    width: 48%; /* tablet: 2 oszlop */
  }
}
@media (max-width: 576px) {
  .recipes-grid-item {
    width: 100%; /* mobil: 1 oszlop */
  }
}

/* Pagination sötét téma */
.pagination {
  justify-content: center;
}
.page-item .page-link {
  background-color: #1e1e1e;
  border: 1px solid #444;
  color: #fff;
}
.page-item.active .page-link {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}
.page-link:hover {
  background-color: #333;
  color: #ffd54f;
}
