/* Central de Apoio — Gestão Multibenefícios (FNGR-508) */

.mb-apoio.help-center { display: flex; flex-direction: column; gap: 18px; }

/* ── hero ───────────────────────────────────────────── */
.mb-apoio .hc-hero { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 14px; background: #f4effb; border: 1px solid #e6dcf5; border-radius: 10px; padding: 18px 20px; }
.mb-apoio .hc-hero-icon { grid-row: 1; width: 42px; height: 42px; border-radius: 50%; background: #ffffff; color: #6d28b8; display: flex; align-items: center; justify-content: center; border: 1px solid #e6dcf5; align-self: center; font-size: 20px; }
.mb-apoio .hc-hero-text { grid-row: 1; align-self: center; }
.mb-apoio .hc-hero-text h2 { margin: 0; font-size: 16.5px; font-weight: 800; color: #6d28b8; }
.mb-apoio .hc-hero-text p { margin: 3px 0 0 0; font-size: 13px; color: #6b6b75; }

/* ── filtros ────────────────────────────────────────── */
.mb-apoio .hc-filters { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mb-apoio .hc-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.mb-apoio .pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d8d4e2; background: #ffffff; color: #555; border-radius: 999px; padding: 6px 13px; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.mb-apoio .pill:hover { border-color: #b8b0cc; }
.mb-apoio .pill.active { background: #3a3a3a; border-color: #3a3a3a; color: #ffffff; }
.mb-apoio .pill.active .pill-dot { background: #ffffff !important; }
.mb-apoio .pill-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mb-apoio .pill-n { font-weight: 600; font-size: 11px; opacity: 0.65; }
.mb-apoio .hc-theme { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6b6b75; }
.mb-apoio .hc-theme label { margin: 0; font-weight: 600; }
.mb-apoio .hc-theme select { font-family: inherit; font-size: 12.5px; color: #333; border: 1px solid #d8d4e2; border-radius: 6px; padding: 6px 9px; background: #ffffff; cursor: pointer; }

/* ── contagem ───────────────────────────────────────── */
.mb-apoio .hc-count { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #6b6b75; }
.mb-apoio .hc-clear { background: none; border: none; font-family: inherit; font-size: 12px; font-weight: 700; color: #6d28b8; cursor: pointer; text-decoration: underline; padding: 0; }
.mb-apoio .hc-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #999; padding: 40px 0 20px 0; text-align: center; }
.mb-apoio .hc-empty p { margin: 0; font-size: 13px; }

/* ── benefit sections ───────────────────────────────── */
.mb-apoio .benefit-section { display: flex; flex-direction: column; gap: 10px; }
.mb-apoio .benefit-head { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.mb-apoio .benefit-bar { width: 4px; height: 34px; border-radius: 2px; flex: 0 0 4px; }
.mb-apoio .benefit-headtext { flex: 1; min-width: 0; }
.mb-apoio .benefit-headtext h3 { margin: 0; font-size: 15px; font-weight: 800; }
.mb-apoio .benefit-headtext p { margin: 1px 0 0 0; font-size: 12px; color: #6b6b75; }
.mb-apoio .benefit-count { margin-left: auto; font-size: 11.5px; color: #999; white-space: nowrap; }
.mb-apoio .benefit-list { display: flex; flex-direction: column; gap: 8px; }

/* ── topic cards ────────────────────────────────────── */
.mb-apoio .topic-card { border: 1px solid #e2e0e8; border-radius: 10px; background: #ffffff; overflow: hidden; }
.mb-apoio .topic-card.open { border-color: #cfc4e4; box-shadow: 0 2px 10px rgba(81,37,119,0.07); }
.mb-apoio .topic-head { display: flex; align-items: center; gap: 13px; width: 100%; background: none; border: none; font-family: inherit; text-align: left; padding: 13px 16px; cursor: pointer; }
.mb-apoio .topic-head:hover { background: #fbfafd; }
.mb-apoio .topic-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; background: #f4effb; }
.mb-apoio .topic-headtext { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mb-apoio .topic-title { font-size: 13.5px; font-weight: 700; color: #6d28b8; }
.mb-apoio .topic-resumo { font-size: 12px; color: #6b6b75; }
.mb-apoio .topic-meta { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.mb-apoio .chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.mb-apoio .chip-theme { background: #f1f0f5; color: #717080; }
.mb-apoio .chip-script { background: #e8f6ee; color: #1e7e44; }
.mb-apoio .chip-interno-flag { background: #f5f0e4; color: #93762a; }
.mb-apoio .chev { color: #a39ab8; transition: transform 0.18s ease; }
.mb-apoio .chev.up { transform: rotate(180deg); }

/* ── topic body ─────────────────────────────────────── */
.mb-apoio .topic-body { padding: 2px 16px 16px 65px; display: flex; flex-direction: column; gap: 12px; }

.mb-apoio .interno-box { background: #fbf7ec; border: 1px solid #f0e6c8; border-radius: 8px; padding: 11px 14px; }
.mb-apoio .interno-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: #93762a; margin-bottom: 6px; }
.mb-apoio .interno-box ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.mb-apoio .interno-box li { font-size: 12.5px; color: #6e5c28; line-height: 1.5; }

.mb-apoio .step-box { background: #f8f8fb; border: 1px solid #ececf2; border-radius: 8px; padding: 13px 16px; }
.mb-apoio .step-box-title { font-size: 13px; font-weight: 700; color: #3c3c46; margin-bottom: 7px; }
.mb-apoio .step-intro { margin: 0 0 7px 0; font-size: 12.5px; color: #6b6b75; }
.mb-apoio .step-box ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.mb-apoio .step-box li { font-size: 13px; color: #44444e; line-height: 1.55; }
.mb-apoio .step-box li strong { color: #2c2c34; }

.mb-apoio .alerta-box { display: flex; align-items: flex-start; gap: 8px; background: #fef4ec; border: 1px solid #f7ddc4; border-radius: 8px; padding: 10px 13px; font-size: 12.5px; color: #9a5b1d; line-height: 1.5; }

.mb-apoio .script-box { border: 1px solid #d9efe2; border-radius: 8px; overflow: hidden; }
.mb-apoio .script-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #eef9f2; padding: 8px 13px; border-bottom: 1px solid #d9efe2; }
.mb-apoio .script-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: #1e7e44; }
.mb-apoio .copy-btn { display: inline-flex; align-items: center; gap: 6px; background: #ffffff; border: 1px solid #bfe3cd; color: #1e7e44; font-family: inherit; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 5px 11px; cursor: pointer; transition: all 0.15s ease; }
.mb-apoio .copy-btn:hover { background: #1e7e44; border-color: #1e7e44; color: #ffffff; }
.mb-apoio .copy-btn.copied { background: #1e7e44; border-color: #1e7e44; color: #ffffff; }
.mb-apoio .script-text { padding: 12px 15px; font-size: 13px; color: #3a3a42; line-height: 1.6; white-space: pre-wrap; background: #ffffff; }

.mb-apoio .links-row { display: flex; flex-direction: column; gap: 5px; }
.mb-apoio .oficial-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #2563eb; text-decoration: underline; width: fit-content; }
.mb-apoio .oficial-link:hover { color: #1d4ed8; }

/* ── rodapé Wellhub ─────────────────────────────────── */
.mb-apoio .hc-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e2e0e8; padding-top: 16px; }
.mb-apoio .hc-footer strong { font-size: 13.5px; color: #2e2e36; }
.mb-apoio .hc-footer p { margin: 3px 0 0 0; font-size: 12.5px; color: #6b6b75; }
.mb-apoio .btn-roxo { display: inline-flex; align-items: center; gap: 8px; background: #6d28b8; color: #ffffff; font-size: 13px; font-weight: 700; border-radius: 7px; padding: 10px 18px; text-decoration: none; white-space: nowrap; }
.mb-apoio .btn-roxo:hover { background: #5b219c; color: #ffffff; }

@media (max-width: 980px) {
  .mb-apoio .topic-body { padding-left: 16px; }
  .mb-apoio .topic-meta .chip-theme { display: none; }
}
