/* ── FEEDBACK MINI 2 BƯỚC ── */
.feedback-wrapper {
  font-family: 'Inter', sans-serif;
}

/* Nút nổi */
.feedback-float-btn {
  position: fixed;
  bottom: 100px;
  right: 50px;
  width: 52px;
  height: 52px;
  background: var(--gold, #d97706);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  z-index: 1050;
  transition: all var(--transition);
}

.feedback-float-btn:hover {
  transform: translateY(-4px);
  background: var(--gold-hover, #b45309);
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.25);
}

/* Modal */
.feedback-modal .modal-dialog {
  max-width: 400px;
  margin: 1.75rem auto;
}

.feedback-modal .modal-content {
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--navy-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.feedback-modal .modal-header {
  padding: 1.5rem 1.5rem 0.25rem;
  border: none;
  position: relative;
}

.feedback-modal .modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Progress bar */
.progress-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 1.5rem 0.75rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  transition: background 0.3s ease;
}

.step-dot.active {
  background: var(--gold);
}

.step-dot.done {
  background: var(--gold);
  opacity: 0.5;
}

.step-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 2px;
}

/* Step container */
.feedback-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.feedback-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bước 1: Chips + Stars */
.type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.type-chips .btn-check + .btn {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--navy-input);
  color: var(--text-muted);
  transition: all var(--transition);
}

.type-chips .btn-check:checked + .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.rating-box {
  background: var(--navy-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  margin-bottom: 1.25rem;
}

.rating-stars span {
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.rating-stars span.active {
  color: var(--gold);
}

#ratingLabel {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
  color: var(--text-muted);
}

/* Bước 2: Form */
.feedback-modal .form-control {
  font-size: 0.85rem;
  border-radius: 12px;
  padding: 12px;
  background: var(--navy-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  resize: none;
  transition: all var(--transition);
}

.feedback-modal .form-control:focus {
  background: var(--navy-card);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.feedback-modal .form-control::placeholder {
  color: var(--text-dim);
}

/* Buttons điều hướng */
.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1.5rem;
}

.btn-step {
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: all var(--transition);
}

.btn-step-primary {
  background: var(--gold);
  color: #fff;
}

.btn-step-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-step-secondary {
  background: var(--navy-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-step-secondary:hover {
  background: var(--border-color);
}

.btn-step:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Success state */
#gratitudeView {
  padding: 2rem 1rem;
  text-align: center;
  display: none;
}

.gratitude-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}