.feedback-container {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10000;
}

.feedback-btn {
  min-width: 140px;
  height: 48px;
  padding: 0 24px 0 16px;
  background: #ffffff;                /* 默认白色 */
  color: #4b5563;                     /* 深灰文字/图标 */
  border: 1px solid #d1d5db;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.28s ease;
  white-space: nowrap;
  overflow: hidden;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: -2px;
}

.feedback-btn:hover {
  background: #60a5fa;                /* hover 淡蓝色 - 更醒目 */
  color: white;                       /* 文字变白，对比强烈 */
  border-color: #60a5fa;
  box-shadow: 0 6px 18px rgba(96, 165, 250, 0.4);  /* 带蓝色光晕阴影 */
  transform: translateX(-8px);        /* 左移幅度稍加大，增强互动感 */
}

.feedback-btn .icon {
  font-size: 22px;
  line-height: 1;
}

.feedback-btn .text {
  line-height: 1.1;
}

/* 弹窗部分保持一致 */
.feedback-modal {
  position: fixed;
  top: 50%;
  right: 160px;
  transform: translateY(-50%);
  width: 360px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  padding: 20px 24px;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  font-family: system-ui, -apple-system, sans-serif;
}

.feedback-modal.show {
  display: block;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.feedback-modal .close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #9ca3af;
}

.feedback-modal .close-btn:hover { color: #374151; }

.feedback-modal .title {
  margin: 0 0 24px 0;
  font-size: 1.3rem;
  color: #1f2937;
  font-weight: 600;
}

.feedback-modal .rating-container {
  text-align: center;
  margin-bottom: 28px;
}

.feedback-modal .stars {
  display: inline-flex;
  flex-direction: row-reverse;
  font-size: 3rem;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.feedback-modal .star {
  color: #d1d5db;
  transition: color 0.15s, transform 0.12s;
}

.feedback-modal .star:hover,
.feedback-modal .star:hover ~ .star {
  color: #fbbf24;
  transform: scale(1.18);
}

.feedback-modal .star.selected,
.feedback-modal .star.selected ~ .star {
  color: #f59e0b;
}

.feedback-modal .detail-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: bold;
  margin: 16px 0 10px;
  padding: 6px 0;
  transition: color 0.2s;
}

.feedback-modal .detail-toggle:hover {
  color: #2563eb;                   /* hover 蓝色，与按钮呼应 */
}

.feedback-modal .detail-toggle .arrow {
  font-size: 0.95rem;
}

.feedback-modal .detail-area {
  display: none;
  margin-top: 10px;
}

.feedback-modal .detail-area.show {
  display: block;
}

.feedback-modal .feedback-textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  resize: vertical;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}

.feedback-modal .submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #60a5fa;                /* 提交按钮也用淡蓝色，统一风格 */
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.feedback-modal .submit-btn:hover {
  background: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
 .success-content {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px 40px;
}

.success-content.show {
  display: flex;
}

.success-emoji {
  font-size: 3.5rem;
  line-height: 1;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.success-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 280px;
}