#entries-container {
  width: 100%;
}

.entry-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}

/* 🎨 2️⃣ Einzelne Eintrags-Box */
.entry {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  gap: 15px;
}

/* 🎨 3️⃣ Hover-Effekt */
.entry:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 🎨 4️⃣ Navigation für Einträge */
.entries-nav {
  display: flex;
  justify-content: space-between; /* Datum links, Buttons rechts */
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

/* 🎨 5️⃣ Styling für das Datum */
.entry-date {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
}

/* 🎨 6️⃣ Button-Container */
.entry-buttons {
  display: flex;
  gap: 10px; /* Abstand zwischen den Buttons */
}

/* 🎨 7️⃣ Styling für die Buttons */
.entry button {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* 🗑️ Lösch-Button */
.delete-entry svg {
  stroke: #dc3545;
}

/* ✏️ Bearbeiten-Button */
.edit-entry svg {
  stroke: #007bff;
}

/* 🎨 8️⃣ Hover-Effekt */
.entry button:hover {
  transform: scale(1.2);
}

/* 🎨 9️⃣ Überschriften in den Einträgen */
.entry h3 {
  margin: 5px 0;
  color: #333;
}

/* 🎨 🔟 Inhalt der Einträge */
.entry p {
  margin: 8px 0;
  color: #555;
  font-size: 0.95em;
}

.nav-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
  transition: transform 0.2s ease-in-out;
}

.nav-button:hover {
  transform: scale(1.1);
}

#search-results {
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert die Kästen */
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
  margin: 0 auto;
}

.search-result-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  width: 100%;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  color: #000; /* Schwarzer Text für besseren Kontrast */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-result-item:hover {
  background: #e0e0e0;
  transform: scale(1.02);
}
