.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.feedback-modal {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.feedback-header {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: white;
}

.feedback-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.feedback-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.feedback-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.rating-item-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.rating-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rating-item-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.stars-container {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.star-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #e2e8f0;
}

.star-btn.active {
  color: #fbbf24;
  transform: scale(1.1);
}

.star-btn:active {
  transform: scale(0.9);
}

.feedback-comment-section {
  margin-top: 8px;
}

.feedback-comment-section label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.feedback-comment-section textarea {
  width: 100%;
  border-radius: 16px;
  border: 2px solid var(--border);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: none;
  min-height: 80px;
  outline: none;
  transition: all 0.2s;
}

.feedback-comment-section textarea:focus {
  border-color: var(--primary);
  background: white;
}

.feedback-footer {
  padding: 24px;
  display: flex;
  gap: 12px;
  background: white;
  border-top: 1px solid var(--border);
}

.btn-submit-feedback {
  flex: 2;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.btn-submit-feedback:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-skip-feedback {
  flex: 1;
  background: var(--bg);
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
}
