/* Style für Kochbuch */
/*body {
  padding-bottom: 50px;
}
*/
.custom-dark-select {
  background-color: #222 !important;
  /* dunkler Hintergrund */
  color: #fff !important;
  /* weiße Schrift */
  border: 1px solid #555;
  /* dezenter Rahmen */
}

.custom-dark-select option {
  background-color: #222;
  color: #fff;
}

.kochbuch-title {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  color: #ffcc00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kochmütze {
  height: 1.2em;
  /* passt sich der Schriftgröße an */
  width: auto;
  vertical-align: middle;
}


.container {
  max-width: 960px;
  margin: 0 auto;
}

.card {
  border: 2px solid orange;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px blue;
  /*font-family: Arial, sans-serif;
  color: black;*/
}

/* Rezeptliste links */

.rezepte-list {
  max-height: 70vh;
  overflow-y: auto;
}

.rezepte-list .list-group-item {
  background-color: #2a2a2a;
  border-color: #666666;
  color: #fff;
  transition: background-color 0.2s ease;
}

.rezepte-list li:hover {
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid #ccc;
  border-width: 70%;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.admin-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Admin Rezeptliste */
.admin-rezepte-list-container {
  max-width: 800px;
  margin: 0 auto;
}

.admin-rezepte-list .list-group-item {
  background-color: #2a2a2a;
  border-color: #444;
  color: #fff;
  transition: background-color 0.2s ease;
}

.admin-rezepte-list .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.admin-rezepte-list .action-icons i {
  font-size: 1.2rem;
  margin-left: 8px;
}

/* =======================
   DRUCKSTYLES (Print)
   ======================= */
@media print {
  body {
    background: white !important;
    color: black !important;
    margin: 0;
    padding: 10mm;
    font-family: serif;
  }

  h1 {
    font-size: 24pt;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 18pt;
    margin-top: 20px;
    margin-bottom: 5px;
  }

  p {
    font-size: 12pt;
    line-height: 1.4;
  }

  a,
  .no-print,
  nav,
  .btn,
  .card-header,
  .card-footer {
    display: none !important;
  }

  .container,
  .card,
  #rezept-detail {
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }
}

#toggleFavoriten {
  float: right;
}

.favorite-toggle {
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.favorite-toggle.favorited {
  color: gold;
}