/* Container Styles */
.emoji-reactions-wrapper {
  max-width: none;
  margin: 0 auto;
  padding: 20px 15px;
  font-size: inherit;
  box-sizing: border-box;
  overflow: hidden;
}

.reaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.reaction-header-title {
  margin: 0;
  font-size: 1.5rem;
}

.reaction-header-right {
  display: flex;
  align-items: center;
}

.feedback-label {
  margin-right: 10px;
  font-size: 1rem;
}

.reaction-toggle-btn {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px 10px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reaction-toggle-btn:hover {
  background: rgba(0,0,0,0.05);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.active {
  transform: rotate(180deg);
}

/* Emoji Reactions Container */
.emoji-reactions-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  margin-top: 20px;
}

.emoji-reaction {
  width: 16%;
  min-height: 120px;
  padding: 20px 10px;
  border: 3px solid #ddd;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  margin-bottom: 15px;
}

.emoji-reaction:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emoji-reaction.active {
  border-color: #fdbc00;
  background-color: rgba(253, 188, 0, 0.1);
  opacity: 1;
  filter: none;
}

.emoji-reaction.inactive {
  filter: grayscale(50%);
}

.emoji-reaction .emoji {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-reaction .reaction-count {
  font-size: 0.8rem;
  color: #777;
}

/* Bootstrap Icons styling */
.emoji-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #555;
}

.emoji-reaction.active .emoji-icon {
  color: #fdbc00;
}

.reaction-label {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 800px) {
  .emoji-reaction {
    width: 31%;
    min-height: auto;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .emoji-reaction {
    width: 48%;
  }
}


.emoji-reactions-instructions code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 14px;
}
.form-table th {
    width: 200px;
}
.form-table select {
    min-width: 200px;
}
