/* =============================================
   Indian Galleries – feedback.css
   Extends style.css without overriding it
   ============================================= */

/* ─── Section Wrapper ─────────────────────────── */
.feedback-section {
  background-color: #f5f8ff;
  min-height: 60vh;
}

/* ─── Card ────────────────────────────────────── */
.feedback-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 54, 129, 0.10);
  overflow: hidden;
  border: 1px solid #e4e7ee;
  margin-bottom: 40px;
}

.feedback-card-header {
  background: linear-gradient(to right, #062f69, #094274);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  padding: 22px 30px;
}

.feedback-card-body {
  padding: 36px 40px;
}

@media (max-width: 576px) {
  .feedback-card-body {
    padding: 24px 18px;
  }
}

/* ─── Section Titles Inside Form ──────────────── */
.form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #003681;
  border-left: 4px solid #003681;
  padding-left: 10px;
  margin-bottom: 16px;
  margin-top: 8px;
}

/* ─── Form Controls ───────────────────────────── */
.form-control {
  border: 1.5px solid #d0d8e8;
  border-radius: 8px;
  font-size: 0.97rem;
  color: #333;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  border-color: #003681;
  box-shadow: 0 0 0 3px rgba(0, 54, 129, 0.12);
  outline: none;
}

.form-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #2c3e50;
  margin-bottom: 5px;
}

/* ─── Star Rating ─────────────────────────────── */
.star-rating {
  display: flex;
  gap: 6px;
  font-size: 1.7rem;
  cursor: pointer;
  user-select: none;
}

.star-rating span i {
  color: #ccc;
  transition: color 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.star-rating span:hover i,
.star-rating span.hovered i,
.star-rating span.selected i {
  color: #f5a623;
}

.star-rating span:hover {
  transform: scale(1.15);
}

/* ─── NPS Scale ───────────────────────────────── */
.nps-wrapper {
  margin-top: 10px;
}

.nps-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nps-label-left,
.nps-label-right {
  font-size: 0.78rem;
  color: #6c757d;
  white-space: nowrap;
}

.nps-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nps-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid #cdd6e8;
  background: #fff;
  color: #444;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nps-btn:hover {
  border-color: #003681;
  background: #eef2fc;
  color: #003681;
}

.nps-btn.selected {
  background: #003681;
  color: #fff;
  border-color: #003681;
}

/* NPS colour zones */
.nps-btn[data-value="0"].selected,
.nps-btn[data-value="1"].selected,
.nps-btn[data-value="2"].selected,
.nps-btn[data-value="3"].selected,
.nps-btn[data-value="4"].selected,
.nps-btn[data-value="5"].selected,
.nps-btn[data-value="6"].selected  { background: #c0392b; border-color: #c0392b; }

.nps-btn[data-value="7"].selected,
.nps-btn[data-value="8"].selected  { background: #e67e22; border-color: #e67e22; }

.nps-btn[data-value="9"].selected,
.nps-btn[data-value="10"].selected { background: #27ae60; border-color: #27ae60; }

@media (max-width: 480px) {
  .nps-scale {
    flex-direction: column;
    align-items: flex-start;
  }
  .nps-btn {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }
}

/* ─── Permission Checkbox ─────────────────────── */
.permission-check {
  background: #f0f4fb;
  border: 1px solid #c8d4ea;
  border-radius: 8px;
  padding: 14px 18px;
}

.form-check-input:checked {
  background-color: #003681;
  border-color: #003681;
}

/* ─── Submit Button ───────────────────────────── */
.btn-feedback-submit {
  background: linear-gradient(to right, #062f69, #094274);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 40px;
  border-radius: 8px;
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
  min-width: 200px;
}

.btn-feedback-submit:hover {
  background: linear-gradient(to right, #0a3d82, #0b5395);
  color: #fff;
  transform: translateY(-2px);
}

.btn-feedback-submit:active {
  transform: translateY(0);
}

/* ─── Success Message ─────────────────────────── */
.success-message {
  padding: 40px 20px;
}

.success-icon {
  font-size: 4rem;
  color: #27ae60;
}

.btn-google-review {
  background: #fff;
  color: #444;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-google-review:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #222;
}

.btn-google-review .fab.fa-google { color: #4285F4; }
