.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.modal-backdrop.show {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 520px;
  padding: 24px;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color, #1f6feb);
}
.modal-subtitle {
  color: #4b5563;
  margin-top: 4px;
}
.route-strong {
  font-weight: 600;
}

.rating-row {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.star {
  font-size: 24px;
  color: #d1d5db;
  background: transparent;
  border: none;
  cursor: pointer;
}
.star.filled {
  color: #f59e0b;
}

.comment-block {
  margin-bottom: 12px;
}
.comment-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.comment-input {
  margin-top: 6px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  outline: none;
}
.comment-input:focus {
  border-color: var(--blue-color-1, #1f6feb);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
}
.comment-input::placeholder {
  font-family: "Poppins", sans-serif;
}

.modal-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.btn-secondary {
  background: #e5e7eb;
  color: #374151;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}
.btn-secondary:hover {
  background: #d1d5db;
}
.btn-primary {
  background: var(--primary-color, #1f6feb);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}
.btn-details {
  color: #374151;
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-family: "Poppins", sans-serif;
}

/* Feedback Questions */
.feedback-questions {
  margin: 20px 0;
  padding: 16px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.questions-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  margin: 0 0 12px 0;
}

.question-item {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.question-item:last-child {
  margin-bottom: 0;
}

.question-item:hover {
  background: #f3f4f6;
}

.question-text {
  font-size: 0.9rem;
  color: #4b5563;
  flex: 1;
}

.question-stars {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.question-stars .star {
  font-size: 20px;
  color: #d1d5db;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.question-stars .star:hover {
  color: #fbbf24;
}

.question-stars .star.filled {
  color: #f59e0b;
}
