h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #444;
}

.success-message {
  padding: 10px;
  background-color: #dff0d8;
  color: #3c763d;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
}

/* Formular-Button */
.reset-form {
  margin-bottom: 20px;
}

.reset-form button {
  background-color: #3498db;       /* Helles Blau */
  color: #fff;                     /* Weißer Text */
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.reset-form button:hover {
  background-color: #2980b9;       /* Dunkleres Blau beim Hover */
  transform: scale(1.05);          /* Kleiner Zoom-Effekt */
}
.reaction-table {
  width: 80%;
  border-collapse: collapse;
  margin-bottom: 100px;
}

.reaction-table th,
.reaction-table td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: center;
}

/* Sticky Header */
.reaction-table thead th {
  position: sticky;
  top: 1px; /* Höhe der Navbar plus Puffer */
  background-color: #f0f0f0;
  z-index: 2;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

/* Optional: etwas Schatten beim Schweben */
.reaction-table thead th:hover {
  background-color: #e9ecef;
}

/* Responsiv und mittig */
@media (max-width: 992px) {
  .reaction-table {
    width: 100%;
  }
}

/* Bild in der Vorschau */
.preview-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.ld-btn {
  padding: 8px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  background-color: #333333;
  color: white;
  transition: background-color 0.3s ease;
}

/* Like Button */
.ld-btn.like:hover {
  background-color: #a5d6a7; /* Hellgrün */
}

/* Dislike Button */
.ld-btn.dislike:hover {
  background-color: #ef9a9a; /* Hellrot */
}

/* Aktiver Zustand */
.ld-btn.active.like {
  background-color: #4caf50; /* Grün */
  color: white;
}

.ld-btn.active.dislike {
  background-color: #f44336; /* Rot */
  color: white;
}
a {
  text-decoration: none !important;
  color: #333333; /* Linkfarbe */
}

a:hover,
a:focus,
a:active {
  text-decoration: none !important;
  color: #a6a8ab; /* Farbe beim Hover, optional anpassbar */
}
.tabs {
    width: 100%;
  }
  .tab-nav {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #ccc;
    cursor: pointer;
  }
  .tab-nav li {
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-bottom: none;
  }
  .tab-nav li.active {
    border: 1px solid #ccc;
    border-bottom: 2px solid white;
    font-weight: bold;
  }
  .tab {
    display: none;
    padding: 1rem 0;
  }
  .tab.active {
    display: block;
  }
.emoji1 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji1.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
  transition: transform 0.3s ease;
  cursor: pointer;
}
.emoji2 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji2.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;
  transition: transform 0.3s ease;
  cursor: pointer;  
   
}
.emoji3 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji3.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%; 
  transition: transform 0.3s ease;
  cursor: pointer;  
}
.emoji4 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji4.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;  
  transition: transform 0.3s ease;
  cursor: pointer;  
}
.emoji5 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji5.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;      
  transition: transform 0.3s ease;
  cursor: pointer;  
}
.emoji6 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji6.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
  transition: transform 0.3s ease;
  cursor: pointer;
}
.emoji7 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/cross.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
.emoji1:hover,
.emoji2:hover,
.emoji3:hover,
.emoji4:hover,
.emoji5:hover,
.emoji6:hover {
  transform: scale(1.3);
}
.emoji8 {
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/cross.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
span.emoji1 {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji1.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
  z-index: 999999;
}
span.emoji2 {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji2.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
span.emoji3 {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji3.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
span.emoji4 {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji4.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
span.emoji5 {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji5.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
span.emoji6 {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url('../images/emoji/emoji6.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
}
.center-div {
  margin: 0 auto;
}
/* Button 2*/
.reaction-hover-container {
  position: relative;
  display: inline-block;
  z-index: 100;
}

.reaction-trigger {
  cursor: pointer;
  padding: 4px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.reaction-tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  min-width: 340px;
  white-space: nowrap;
  display: none;
  z-index: 999;
  text-align: center;
}

.reaction-tooltip.active {
  display: block;
}

.reaction-button {
  display: inline-block;
  margin: 0 6px;
  text-align: center;
  position: relative;
}

.reaction-count {
  font-size: 12px;
  color: #444;
  margin-bottom: 4px;
  display: block;
}

.reaction-button span[class^="emoji"] {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.2s ease;
}
span.emoji7 {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url('../images/emoji/emoji7.png'); 
  background-size: contain;           
  background-repeat: no-repeat;       
  background-position: 50% 50%;       
  z-index: 999999;
}
.reaction-button:hover span[class^="emoji"] {
  transform: scale(1.25);
}