/* Feedback modal + status */
#feedbackModal.feedback-modal-overlay,
#rateAppModal.rate-app-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#rateAppModal .feedback-modal-content {
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-elevated, #1a1f28);
  color: var(--color-text-primary, #e8eaed);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

#rateAppModal .feedback-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#rateAppModal .feedback-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

#rateAppModal .feedback-modal-body {
  padding: 1rem 1.1rem 1.25rem;
}

#rateAppModal .feedback-modal-body label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

#rateAppModal .feedback-modal-body .modal-input,
#rateAppModal .feedback-modal-body select.modal-input {
  width: 100%;
  margin-bottom: 0.85rem;
  box-sizing: border-box;
}

#rateAppModal .rate-app-comment {
  min-height: 5rem;
  resize: vertical;
}

.rate-app-rating-field {
  margin-bottom: 1rem;
}

.rate-app-rating-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.rate-app-disabled-note {
  font-size: 0.9rem;
  opacity: 0.88;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

#feedbackModal .feedback-modal-content {
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-elevated, #1a1f28);
  color: var(--color-text-primary, #e8eaed);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

#feedbackModal .feedback-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#feedbackModal .feedback-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

#feedbackModal .feedback-modal-body {
  padding: 1rem 1.1rem 1.25rem;
}

#feedbackModal .feedback-modal-body label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

#feedbackModal .feedback-modal-body .modal-input,
#feedbackModal .feedback-modal-body select.modal-input {
  width: 100%;
  margin-bottom: 0.85rem;
  box-sizing: border-box;
}

#feedbackModal .feedback-modal-body textarea.modal-input {
  min-height: 8rem;
  resize: vertical;
}

.feedback-form-status {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  min-height: 1.25rem;
}

.feedback-form-status.success {
  color: #7dcea0;
}

.feedback-form-status.error {
  color: #f1948a;
}

#feedbackDisabledNote {
  font-size: 0.9rem;
  opacity: 0.88;
  line-height: 1.45;
}

.feedback-honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Password reset (email link) */
.auth-forgot-intro {
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.92;
  margin: 0 0 0.75rem;
}

.auth-forgot-back {
  margin-top: 0.75rem;
}

.auth-forgot-link {
  font-size: 0.9rem;
}

.auth-register-hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--theme-text-muted, rgba(255, 255, 255, 0.65));
  margin: 0 0 0.65rem;
}

#registerForm .modal-body label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text-secondary, rgba(255, 255, 255, 0.85));
}

.password-reset-modal-content {
  max-width: 420px;
}

.password-reset-lead {
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.9;
  margin: 0 0 1rem;
}
