.feedback-trigger,
.feedback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid #4965f5;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  background: #4965f5;
  color: #fff;
  font: 600 0.95rem/1.2 inherit;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feedback-trigger:hover,
.feedback-submit:hover {
  background: #304de2;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(73 101 245 / 20%);
}

.feedback-trigger:focus-visible,
.feedback-submit:focus-visible,
.feedback-panel select:focus-visible {
  outline: 3px solid #91a3ff;
  outline-offset: 3px;
}

.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(12 17 35 / 60%);
  backdrop-filter: blur(8px);
}

.feedback-panel {
  box-sizing: border-box;
  width: min(100%, 460px);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid #e7e9f1;
  border-radius: 24px;
  background: #fff;
  color: #161b2b;
  font-family: inherit;
  box-shadow: 0 24px 80px rgb(8 15 40 / 18%);
}

.feedback-eyebrow {
  margin: 0 0 0.75rem;
  color: #4965f5;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feedback-panel h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.15;
}

.feedback-description {
  margin: 0 0 1.5rem;
  color: #626b7d;
  line-height: 1.6;
}

.feedback-panel label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feedback-panel select {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #cfd4e2;
  border-radius: 12px;
  background: #fff;
  color: #161b2b;
  font: inherit;
}

.feedback-submit { width: 100%; }
.feedback-submit:disabled { opacity: 0.6; cursor: wait; }

.feedback-status {
  min-height: 1.5em;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}