/* ── Feedback Modal — shared styles for news-search-prototype.html ── */
/* help.html uses help.css directly; this file is for the main page only */

/* Modal overlay + container */
.feedback-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

.feedback-modal {
  background: var(--color-surface, #fff); border-radius: 12px;
  width: 460px; max-width: 95vw; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.feedback-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--color-border);
  font-weight: 600; font-size: 15px;
}

.feedback-modal-close {
  background: none; border: none; font-size: 20px; cursor: pointer;
  color: var(--color-text-secondary);
}

.feedback-modal-body { padding: 20px; }

.feedback-modal-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 20px; border-top: 1px solid var(--color-border);
}

/* Form elements */
.fb-form-group { margin-bottom: 14px; }
.fb-form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }

.fb-radio-group { display: flex; flex-wrap: wrap; gap: 8px; }

.fb-radio-btn {
  border: 1px solid var(--color-border); border-radius: 16px;
  padding: 4px 14px; cursor: pointer; font-size: 13px;
  background: var(--color-bg); transition: all 0.2s;
  font-family: inherit;
}
.fb-radio-btn.selected {
  background: var(--color-primary); color: #fff;
  border-color: var(--color-primary);
}

.fb-stars { display: flex; gap: 4px; }
.fb-star {
  font-size: 24px; cursor: pointer; color: #ddd;
  transition: color 0.15s; line-height: 1;
}
.fb-star.lit { color: #f5c842; }

.fb-textarea {
  width: 100%; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  resize: vertical; min-height: 80px; box-sizing: border-box;
}
.fb-textarea:focus { outline: none; border-color: var(--color-primary); }

.fb-email-input {
  width: 100%; border: 1px solid var(--color-border); border-radius: 6px;
  padding: 8px 12px; font-size: 14px; font-family: inherit; box-sizing: border-box;
}

.fb-error { color: #dc3545; font-size: 13px; margin-top: 8px; display: none; }
.fb-success { text-align: center; padding: 24px 20px; color: #28a745; font-size: 15px; }

/* Cancel / Save buttons */
.btn-cancel {
  background: none; border: 1px solid var(--color-border); border-radius: 6px;
  padding: 7px 16px; cursor: pointer; font-size: 14px; font-family: inherit;
}
.btn-save {
  background: var(--color-primary); color: #fff; border: none; border-radius: 6px;
  padding: 7px 16px; cursor: pointer; font-size: 14px; font-weight: 500; font-family: inherit;
}
