/* Benutzerdefiniertes CSS für das Herz-Icon */
/* Star Rating System */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 5px 0;
}

.star {
  font-size: 18px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.star:hover,
.star.star-hover {
  color: #ffc107;
}

.star.star-filled {
  color: #ffc107;
}

.star.star-empty {
  color: #ddd;
}

.rating-buttons {
  display: flex;
  gap: 5px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.rating-btn {
  background: #ffffff;
  border: 2px solid #1e82c0;
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: #1e82c0;
  min-height: 50px;
  justify-content: center;
}

.rating-btn:hover {
  background: #1e82c0;
  color: white;
  transform: translateY(-1px);
}

.rating-btn.clicked {
  background: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
  animation: pulse 0.6s ease-out;
}

.rating-btn:disabled {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.rating-btn .star {
  font-size: 18px;
}

.rating-display .star-rating {
  font-size: 20px;
}

.rating-display .average-rating {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e82c0;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.rating-buttons {
  gap: 4px;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 14px;
}

.average-rating {
  font-weight: bold;
  color: #ffc107;
  font-size: 16px;
}

.rating-count {
  color: #6c757d;
  font-size: 12px;
}

/* Toast Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.regiomap-toast {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Legacy Toast Support */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Legacy Heart System (for backwards compatibility) */
.heart-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  color: red;
  font-size: 24px;
}



h1 {
  font-size: 12px;
  /* Hier die gewünschte Schriftgröße für h1 festlegen. */
}

h2 {
  font-size: 18px;
  /* Hier die gewünschte Schriftgröße für h2 festlegen. */
}

h3 {
  font-size: 16px;
  /* Hier die gewünschte Schriftgröße für h3 festlegen. */
}

.navbar {
    border-bottom: 1px solid #ccc; /* Unterstrich hinzufügen */
    background-color: #1e82c0 !important;
  }

  .navbar-text {
    color: white !important; /* Textfarbe auf Weiß ändern */
    text-align: right !important; /* Text rechts ausrichten */
  }

  .navbar-logo {
    max-height: 60px; /* Maximale Höhe für das Logo festlegen */
  }

  .footer-top-line {
    border-top: 1px solid #ccc;
  }

  .footer-icons {
    color: white !important;
  }

  .footer-text {
    color: white !important;
  }

  /* Reduziere den Raum um die Elemente */
  .footer .col-md-4 {
    padding: 0 8px; /* Anpassen Sie die seitlichen Ränder nach Bedarf */
  }

  .custom-container {
    background-color: #f5f5f5;
    /* Hintergrundfarbe */
    /* oder */
    background-image: url('background.jpg');
    /* Hintergrundbild */
  }

  /* The sidebar menu */
  .sidebar {
    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    top: 0;
    left: 0;
    background-color: #fff;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 80px;
    /* Place content 60px from the top */
    transition: 0.3s;
    /* 0.5 second transition effect to slide in the sidebar */
  }

  .openbtn:hover {
    background-color: #444;
  }

  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    /* If you want a transition effect */
    padding: 0px;
  }

  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidebar {
      padding-top: 15px;
    }

    .sidebar a {
      font-size: 18px;
    }
  }

  /* Benutzerdefinierte Klasse für kleinere Buttons */
  .btn-custom-sm {
    padding: 5px 10px;
    font-size: 12px;
  }

  /* Benutzerdefinierte Klasse für noch kleinere Buttons */
  .btn-custom-xs {
    padding: 2px 5px;
    font-size: 10px;
  }
