
.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 8, 18, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.feedback-overlay[hidden] {
  display: none !important;
}

.feedback-modal {
  width: 100%;
  max-width: 430px;
  max-height: 90dvh;
  overflow-y: auto;
  background: #111e30;
  border: 1px solid #34506e;
  border-radius: 16px;
  padding: 22px;
  color: #edf4ff;
  box-sizing: border-box;
}

.feedback-modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.feedback-modal p {
  color: #91a6c0;
  font-size: 13px;
  line-height: 1.6;
}

.feedback-modal label {
  display: block;
  margin: 15px 0 6px;
  font-size: 12px;
  color: #a8c0da;
}

.feedback-modal select,
.feedback-modal textarea,
.feedback-modal input {
  width: 100%;
  box-sizing: border-box;
  background: #091525;
  color: #edf4ff;
  border: 1px solid #34506e;
  border-radius: 9px;
  padding: 11px;
  font: inherit;
  font-size: 14px;
}

.feedback-modal textarea {
  min-height: 115px;
  resize: vertical;
}

.feedback-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.feedback-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 9px;
  border: 1px solid #34506e;
  color: #edf4ff;
  background: #1a2d44;
  font-weight: 600;
  cursor: pointer;
}

.feedback-actions button[type="submit"] {
  background: #267ed1;
  border-color: #267ed1;
}

.feedback-actions button:disabled {
  opacity: .55;
  cursor: wait;
}

#feedback-status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12px;
}

.feedback-honeypot {
  position: absolute;
  left: -9999px;
}


/* CryptoPulse mobile feedback modal layout fix */

.feedback-overlay {
  box-sizing: border-box;
}

.feedback-modal {
  box-sizing: border-box;
  width: 100%;
  max-width: 430px;
  max-height: min(90dvh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.feedback-modal h2 {
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.feedback-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
}

.feedback-modal .feedback-actions button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 8px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 390px) {
  .feedback-overlay {
    padding: 12px;
  }

  .feedback-modal {
    padding: 18px 16px;
    max-height: 92dvh;
  }

  .feedback-modal h2 {
    font-size: 20px;
  }

  .feedback-modal .feedback-actions button {
    font-size: 12px;
  }
}
