/* src/TrafficHub.Web/wwwroot/css/organic.css — Feature 1 (Organic-to-Paid) */
.og-page { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }
.og-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.og-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 .35rem; }
.og-subtitle { color: #9ca3af; margin: 0; max-width: 60ch; }
.og-muted { color: #9ca3af; font-size: .875rem; }

/* O layout pinta o <main> com texto branco sobre fundo escuro; o card é claro e declara a própria
   cor — sem isso títulos e rótulos herdavam branco sobre branco (lição do /settings/meta). */
.og-card { background: #fff; color: #111827; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.og-card .og-muted, .og-card-muted { color: #6b7280; }
.og-error { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.og-baseline { font-weight: 500; }
.og-baseline-ok { border-color: #86efac; background: #f0fdf4; color: #166534; }
.og-baseline-warn { border-color: #fde68a; background: #fffbeb; color: #92400e; }

.og-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 8px;
          border: 1px solid #d1d5db; background: #fff; color: #111827; cursor: pointer; text-decoration: none; font: inherit; }
.og-btn-primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.og-btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.og-btn:disabled { opacity: .6; cursor: default; }
.og-link-btn { background: none; border: none; color: #2563eb; cursor: pointer; padding: 0 .25rem; font: inherit; text-decoration: underline; }

.og-table-wrap { overflow-x: auto; padding: 0; }
.og-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.og-table th, .og-table td { padding: .6rem .75rem; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: middle; }
.og-table th { background: #f9fafb; font-weight: 600; color: #374151; white-space: nowrap; }
.og-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.og-post-cell { display: flex; align-items: center; gap: .6rem; min-width: 260px; }
.og-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #e5e7eb; }
.og-thumb-empty { display: inline-block; }
.og-caption a { color: #1d4ed8; }

.og-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.og-tab { padding: .45rem 1rem; border-radius: 999px; border: 1px solid #4b5563; background: transparent; color: #d1d5db; cursor: pointer; font: inherit; }
.og-tab-active { background: #00d4ff; border-color: #00d4ff; color: #1a1a2e; font-weight: 600; }

.og-suggestion { display: flex; flex-direction: column; gap: .9rem; }
.og-suggestion-post { display: flex; gap: .9rem; align-items: flex-start; }
.og-suggestion-post .og-thumb { width: 72px; height: 72px; }
.og-suggestion-meta { color: #6b7280; font-size: .85rem; margin: .25rem 0 0; }
.og-reasoning p { margin: 0; line-height: 1.5; }
.og-values { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
.og-values dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.og-values dd { margin: .15rem 0 0; font-weight: 600; }
.og-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.og-dismiss { display: flex; flex-direction: column; gap: .5rem; width: 100%; }
.og-dismiss textarea { width: 100%; min-height: 4rem; padding: .5rem .75rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.og-decision { font-size: .875rem; color: #374151; margin: 0; }
.og-inline-error { color: #b91c1c; font-weight: 500; margin: 0; }

.og-boost-panel { border: 1px solid #bfdbfe; background: #eff6ff; border-radius: 10px; padding: .9rem 1rem; }
.og-boost-panel ul { margin: .5rem 0; padding-left: 1.1rem; }
.og-boost-panel code { background: #fff; border: 1px solid #dbeafe; border-radius: 6px; padding: .05rem .4rem; }
.og-boost-links { display: flex; flex-wrap: wrap; gap: 1rem; margin: .5rem 0 0; }
.og-boost-links a { color: #1d4ed8; }

.og-settings summary { cursor: pointer; font-weight: 600; }
.og-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem 1.25rem; margin-top: 1rem; }
.og-field { display: flex; flex-direction: column; gap: .25rem; }
.og-field label { font-weight: 600; font-size: .85rem; }
.og-field input, .og-field select { padding: .45rem .65rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.og-field small { color: #6b7280; }
.og-check { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.og-settings-footer { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.og-ok { color: #166534; font-weight: 500; }
