/**
 * Feedback Button Styles
 *
 * Styles for the QSO feedback section (thumbs up/down buttons)
 */

/* Feedback Section Container */
.feedback-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 20px;
  margin: 15px 0;
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border-color, #444);
  border-radius: 8px;
}

/* Feedback Buttons Container */
.feedback-buttons {
  display: flex;
  gap: 20px;
}

/* Base Feedback Button Style */
.btn-feedback {
  background: transparent;
  border: 2px solid var(--text-muted, #888);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-feedback:hover {
  transform: scale(1.1);
}

.btn-feedback:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.3);
}

.btn-feedback:active {
  transform: scale(0.95);
}

/* Feedback Icon */
.feedback-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* Thumbs Up Button States */
.btn-thumbs-up:hover {
  border-color: var(--success, #00ff00);
  background: rgba(0, 255, 0, 0.1);
}

.btn-thumbs-up.active {
  border-color: var(--success, #00ff00);
  background: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Thumbs Down Button States */
.btn-thumbs-down:hover {
  border-color: var(--error, #ff4444);
  background: rgba(255, 68, 68, 0.1);
}

.btn-thumbs-down.active {
  border-color: var(--error, #ff4444);
  background: rgba(255, 68, 68, 0.2);
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

/* Feedback Label */
.feedback-label {
  color: var(--text-muted, #888);
  font-size: 0.9rem;
  font-family: 'Courier New', monospace;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .feedback-section {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .feedback-buttons {
    gap: 30px;
  }

  .btn-feedback {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .feedback-icon {
    font-size: 1.8rem;
  }
}

/* Animation for when rating is submitted */
.feedback-section.submitted .btn-feedback.active {
  animation: pulse 0.5s ease;
}

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

/* Disabled state during submission */
.feedback-section.submitting .btn-feedback {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Success feedback indicator */
.feedback-section.success {
  border-color: var(--success, #00ff00);
}

.feedback-section.success .feedback-label {
  color: var(--success, #00ff00);
}
