body {
  background: #f4f6f9;
  font-family: "Segoe UI", sans-serif;
}

.feedback-card {
  max-width: 900px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.section-title {
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 6px;
  margin-bottom: 15px;
  font-weight: 600;
}

.star-rating {
  font-size: 28px;
  color: #dcdcdc;
  cursor: pointer;
  width: max-content;
}

.star-rating i.active {
  color: #f4c150;
}

.star-rating i:hover {
  transform: scale(1.1);
}

.star-rating i {
  font-size: 26px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
  margin-right: 5px;
}

.star-rating i.active {
  color: #ffc107;
}

/* Card (dark) form tweaks */
.card.bg-black .form-label {
  font-weight: 600;
  color: #e6eef6;
}
.card.bg-black .form-control,
.card.bg-black .form-control {
  background: rgba(255,255,255,0.03);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
}
.card.bg-black .form-select {
  /* keep selects readable: light dropdown text, darker on closed control */
  background: rgba(255,255,255,0.03);
  color: #e6eef6;
  border: 1px solid rgba(255,255,255,0.06);
}
.card.bg-black .form-control:focus,
.card.bg-black .form-select:focus {
  box-shadow: none;
  border-color: rgba(255,255,255,0.12);
}
.card.bg-black .reason {
  background: rgba(255,255,255,0.02);
}

/* Placeholder and select option colors for readability */
.card.bg-black .form-control::placeholder {
  color: #9aa0a6;
  opacity: 1;
}
.card.bg-black .form-select option {
  /* Most browsers respect option styling in the dropdown itself */
  color: #111;
  background: #fff;
}
.card.bg-black .form-select option[value=""] {
  color: #9aa0a6; /* placeholder-like color for the empty option */
}

/* CSS variables and responsive tweaks */
:root {
  --muted-placeholder: #9aa0a6;
  --accent: #ECAD04; /* brand gold */
  --logo-dark: #16163F; /* brand dark */
  --logo-light: #F7F1E5; /* brand cream */
  --danger: #ff6b6b;
}

/* Star sizing and interaction */
.star-rating i {
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.15rem;
  transition: transform 150ms ease, color 150ms ease;
}
.star-rating i:hover {
  transform: scale(1.12);
}
.star-rating i.active {
  color: var(--accent);
}

/* Fix alignment between star group and 'Did not have' checkbox */
.d-flex.align-items-center .star-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.d-flex.align-items-center .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0; /* override bootstrap default */
}
.d-flex.align-items-center .form-check-input {
  margin-top: 0; /* keep checkbox vertically centered */
  margin-right: 0.5rem;
}
.d-flex.align-items-center .form-check-label {
  margin-bottom: 0;
}
.star-rating i { vertical-align: middle; }

/* Visual for required reason textarea */
.reason.required-reason {
  border: 1px solid var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.06);
}

/* Limit card width for readability */
.container > .card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  .card-body { padding: 1rem; }
  .col-md-4 { flex: 0 0 100%; max-width: 100%; }
  .star-rating i { font-size: 1.6rem; padding: 0.35rem; }
  .btn { padding: 0.8rem 1.4rem; }
}

/* Classic dark gradient background + subtle vignette */
body {
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(236,173,4,0.12) 0%,
      rgba(22,24,60,0.9) 35%,
      rgba(10,15,44,1) 80%
    ),
    linear-gradient(
      135deg,
      var(--logo-dark) 0%,
      #0b2130 60%,
      #041622 100%
    );
  background-attachment: fixed;
  color-scheme: dark;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(900px 480px at 12% 14%, rgba(247,241,229,0.06), transparent 12%),
    radial-gradient(700px 420px at 88% 86%, rgba(236,173,4,0.06), transparent 18%),
    radial-gradient(1000px 500px at 50% 50%, rgba(0,0,0,0.28), transparent 40%);
}

/* Keep card slightly translucent to show the gradient */
.card.bg-black {
  /* Brand: translucent card with cream highlight */
  background: linear-gradient(180deg, rgba(247,241,229,0.05), rgba(12,18,32,0.66));
  border: 1px solid rgba(236,173,4,0.08);
  box-shadow: 0 12px 34px rgba(2,6,12,0.62);
  backdrop-filter: blur(6px);
}

/* Card body: add subtle brand border and slight radius */
.card-body {
  border: 1px solid #ECAD04;
  border-radius: 8px;
}

/* Brand accents */
.card h3, .card h5 {
  color: var(--logo-light);
}
.btn-outline-light {
  border-color: #ECAD04;
  color: #ECAD04;
  transition: all 200ms ease;
}
.btn-outline-light:hover {
  background-color: #ECAD04;
  border-color: #ECAD04;
  color: #16163F;
}

