/* Email Approval — custom styles */

body { background: #f4f6f9; }

/* Queue table */
.email-row { cursor: pointer; }
.email-row:hover td { background: #eef2ff; }

.badge-origin-hubspot         { background: #ff7a59; }
.badge-origin-mailchimp       { background: #ffe01b; color: #333; }
.badge-origin-constant-contact{ background: #1c5fa8; }
.badge-origin-unknown         { background: #6c757d; }

/* Status pills */
.status-pending   { background: #ffc107; color: #333; }
.status-in_review { background: #0d6efd; }
.status-approved  { background: #198754; }
.status-rejected  { background: #dc3545; }

/* Email iframe renderer */
#email-frame {
  width: 100%;
  border: none;
  min-height: 600px;
  background: #fff;
  border-radius: 0 0 .375rem .375rem;
}

/* Comment thread */
.comment-card { border-left: 3px solid #0d6efd; }
.comment-card.reply { margin-left: 2rem; border-left-color: #6c757d; }

/* Approval panel */
.approver-row.required   .badge { background: #dc3545; }
.approver-row.optional   .badge { background: #6c757d; }
.approver-row .decision-approved { color: #198754; }
.approver-row .decision-rejected { color: #dc3545; }
.approver-row .decision-pending  { color: #999; }
