/* ============================================================
   DIÁRIO BRASILEIRO (DBR) — CSS do Painel Admin
   ============================================================ */

/* ── Fontes auto-hospedadas — sem dependência do Google Fonts ── */
@font-face { font-family:'Rajdhani'; font-weight:400; font-style:normal; font-display:swap; src:url('../fonts/rajdhani-400.woff2') format('woff2'); }
@font-face { font-family:'Rajdhani'; font-weight:500; font-style:normal; font-display:swap; src:url('../fonts/rajdhani-500.woff2') format('woff2'); }
@font-face { font-family:'Rajdhani'; font-weight:600; font-style:normal; font-display:swap; src:url('../fonts/rajdhani-600.woff2') format('woff2'); }
@font-face { font-family:'Rajdhani'; font-weight:700; font-style:normal; font-display:swap; src:url('../fonts/rajdhani-700.woff2') format('woff2'); }
@font-face { font-family:'Barlow';   font-weight:300; font-style:normal;  font-display:swap; src:url('../fonts/barlow-300.woff2')  format('woff2'); }
@font-face { font-family:'Barlow';   font-weight:400; font-style:normal;  font-display:swap; src:url('../fonts/barlow-400.woff2')  format('woff2'); }
@font-face { font-family:'Barlow';   font-weight:400; font-style:italic;  font-display:swap; src:url('../fonts/barlow-400i.woff2') format('woff2'); }
@font-face { font-family:'Barlow';   font-weight:500; font-style:normal;  font-display:swap; src:url('../fonts/barlow-500.woff2')  format('woff2'); }
@font-face { font-family:'Barlow';   font-weight:600; font-style:normal;  font-display:swap; src:url('../fonts/barlow-600.woff2')  format('woff2'); }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --olive:       #4a5c2a;
  --olive-dark:  #2d3d18;
  --navy:        #1a2a0e;
  --navy-dark:   #0f1a07;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --brown:       #8b6420;
  --cream:       #f0ead8;
  --sidebar-w:   240px;
  --header-h:    56px;
  --bg:          #f0ede6;
  --white:       #ffffff;
  --border:      #ddd8cc;
  --text:        #1a1a1a;
  --text-muted:  #5a5a4a;
  --shadow:      0 2px 8px rgba(0,0,0,.08);
  --danger:      #c0392b;
  --success:     #27ae60;
  --warning:     #d97706;
  --info:        #2980b9;
}

/* ── TEMA: CLARO ─────────────────────────────────────────── */
[data-theme="claro"] {
  --bg:        #ffffff;
  --white:     #ffffff;
  --border:    #e2ddd4;
  --text:      #111111;
  --text-muted:#5a5550;
}

/* ── TEMA: MÉDIO (padrão) ────────────────────────────────── */
[data-theme="medio"] {
  --bg:        #f0ede6;
  --white:     #ffffff;
  --border:    #ddd8cc;
  --text:      #1a1a1a;
  --text-muted:#5a5a4a;
}

/* ── TEMA: ESCURO ────────────────────────────────────────── */
[data-theme="escuro"] {
  --bg:        #111111;
  --white:     #1e1e1e;
  --border:    rgba(255,255,255,.1);
  --text:      #e8e8e8;
  --text-muted:rgba(255,255,255,.45);
}

/* Overrides específicos do tema escuro */
[data-theme="escuro"] body {
  background-image: none;
}
[data-theme="escuro"] .admin-topbar {
  background: #1e1e1e;
  border-bottom-color: rgba(201,168,76,.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
[data-theme="escuro"] .admin-page-title { color: #e8e8e8; }
[data-theme="escuro"] th {
  background: #252525;
  color: rgba(255,255,255,.5);
}
[data-theme="escuro"] td { color: var(--text); border-bottom-color: rgba(255,255,255,.06); }
[data-theme="escuro"] tr:hover td { background: rgba(255,255,255,.03); }
[data-theme="escuro"] .fg label { color: rgba(255,255,255,.45); }
[data-theme="escuro"] .fg .hint { color: rgba(255,255,255,.35); }
[data-theme="escuro"] input[type=text],
[data-theme="escuro"] input[type=password],
[data-theme="escuro"] input[type=url],
[data-theme="escuro"] input[type=number],
[data-theme="escuro"] input[type=search],
[data-theme="escuro"] input[type=email],
[data-theme="escuro"] select,
[data-theme="escuro"] textarea {
  background: #2a2a2a !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #e8e8e8 !important;
}
[data-theme="escuro"] input:focus,
[data-theme="escuro"] select:focus,
[data-theme="escuro"] textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
[data-theme="escuro"] select option { background: #2a2a2a; color: #e8e8e8; }
[data-theme="escuro"] input::placeholder,
[data-theme="escuro"] textarea::placeholder { color: rgba(255,255,255,.3) !important; }
[data-theme="escuro"] .fg-check { color: var(--text); }
[data-theme="escuro"] .upload-area { background: #252525; border-color: rgba(255,255,255,.12); }
[data-theme="escuro"] .upload-area:hover { background: #2e2e2e; border-color: var(--gold); }
[data-theme="escuro"] .upload-texto { color: rgba(255,255,255,.4); }
[data-theme="escuro"] .btn-secondary {
  background: #2a2a2a; color: #e8e8e8 !important;
  border-color: rgba(255,255,255,.12);
}
[data-theme="escuro"] .btn-secondary:hover { background: #333; }
[data-theme="escuro"] .form-card-titulo,
[data-theme="escuro"] .tabela-titulo { color: #e8e8e8; }
[data-theme="escuro"] .stat-label { color: rgba(255,255,255,.45); }
[data-theme="escuro"] .stat-valor { color: #e8e8e8; }
[data-theme="escuro"] .stat-sub { color: rgba(255,255,255,.4); }
[data-theme="escuro"] .aprovacao-preview { background: #252525; color: #e8e8e8; }
[data-theme="escuro"] .aprovacao-titulo { color: #e8e8e8; }
[data-theme="escuro"] .aprovacao-meta { color: rgba(255,255,255,.4); }
[data-theme="escuro"] .destaque-titulo { color: #e8e8e8; }
[data-theme="escuro"] .destaque-slot { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.3); }
[data-theme="escuro"] .destaque-slot.ocupado { background: #252525; }
[data-theme="escuro"] .destaque-slot-titulo { color: #e8e8e8; }
[data-theme="escuro"] .sidebar-section { color: rgba(255,255,255,.25); }
[data-theme="escuro"] .paginacao a,
[data-theme="escuro"] .paginacao span {
  background: #1e1e1e; border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.5) !important;
}
[data-theme="escuro"] .paginacao a:hover { background: var(--olive); border-color: var(--olive); color: #fff !important; }
/* notif-dropdown: no dark mode usa fundo neutro, não verde oliva */
[data-theme="escuro"] .notif-dropdown {
  background: #1a1a1a;
  border-color: rgba(255,255,255,.1);
}
[data-theme="escuro"] .notif-header {
  border-bottom-color: rgba(255,255,255,.08);
  color: #e8e8e8;
}
[data-theme="escuro"] .notif-item {
  border-bottom-color: rgba(255,255,255,.05);
}
[data-theme="escuro"] .notif-item:hover { background: rgba(255,255,255,.05); }
[data-theme="escuro"] .notif-item.nao-lida { background: rgba(201,168,76,.08); }
[data-theme="escuro"] .notif-item.nao-lida:hover { background: rgba(201,168,76,.14); }
[data-theme="escuro"] .notif-msg { color: #e8e8e8; }
[data-theme="escuro"] .notif-tempo { color: rgba(255,255,255,.35); }
[data-theme="escuro"] .notif-vazia { color: rgba(255,255,255,.3); }
[data-theme="escuro"] .notif-loading { color: rgba(255,255,255,.35); }

[data-theme="escuro"] .sidebar-footer a { color: rgba(255,255,255,.35); }
[data-theme="escuro"] .sidebar {
  background: #111111;
  border-right: 1px solid rgba(255,255,255,.07);
}
[data-theme="escuro"] .sidebar-brand { border-bottom-color: rgba(255,255,255,.07); }
[data-theme="escuro"] .sidebar-usuario { border-bottom-color: rgba(255,255,255,.07); }
[data-theme="escuro"] .sidebar-footer { border-top-color: rgba(255,255,255,.07); }
[data-theme="escuro"] .sidebar-link:hover { background: rgba(255,255,255,.05); }
[data-theme="escuro"] .sidebar-link.ativo { background: rgba(201,168,76,.1); }

/* ── Overrides dark mode: tabela de staff e inputs compactos ── */
[data-theme="escuro"] .tr-self {
  background: rgba(201,168,76,.07) !important;
}
[data-theme="escuro"] .tag-self { color: rgba(255,255,255,.35); }
[data-theme="escuro"] .cell-muted-xs { color: rgba(255,255,255,.35); }
[data-theme="escuro"] .cell-muted-sm { color: rgba(255,255,255,.4); }
[data-theme="escuro"] .muted-dash    { color: rgba(255,255,255,.2); }
[data-theme="escuro"] .input-xs {
  background: #2a2a2a !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #e8e8e8 !important;
  color-scheme: dark;
}
[data-theme="escuro"] .select-mini {
  background: #2a2a2a !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #e8e8e8 !important;
  color-scheme: dark;
}
[data-theme="escuro"] .input-mini {
  background: #2a2a2a !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #e8e8e8 !important;
}
[data-theme="escuro"] .reset-senha-wrap .input-xs {
  background: #2a2a2a !important;
  color: #e8e8e8 !important;
}

html { font-size: 15px; }
body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(201,168,76,.06) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--text);
  min-height: 100vh;
  color-scheme: light;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.admin-wrap {
  display: flex; min-height: 100vh;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--navy-dark);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 200; overflow-y: auto;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-brand {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
}

.sidebar-brand-nome {
  font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
  line-height: 1;
}

.sidebar-brand-sub {
  font-size: 10px; color: rgba(212,197,160,.45);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px;
}

.sidebar-usuario {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.sidebar-nick {
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--cream); letter-spacing: .5px;
}

.sidebar-cargo {
  font-size: 10px; color: rgba(212,197,160,.45);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 2px;
}

.sidebar-nav { padding: 12px 0; flex: 1; }

.sidebar-section {
  font-family: 'Rajdhani', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(212,197,160,.3);
  padding: 12px 16px 4px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  color: rgba(212,197,160,.72);
  transition: all .15s; border-left: 3px solid transparent;
}
.sidebar-link:hover { color: var(--cream); background: rgba(255,255,255,.06); }
.sidebar-link.ativo { color: var(--gold); background: rgba(201,168,76,.1); border-left-color: var(--gold); }

.sidebar-link .icon { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }

.sidebar-badge {
  margin-left: auto; background: var(--danger);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 1px 7px; border-radius: 10px; min-width: 20px; text-align: center;
}

.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.sidebar-footer a {
  font-family: 'Rajdhani', sans-serif; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(212,197,160,.45); display: flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.sidebar-footer a:hover { color: var(--cream); }

/* ── MAIN CONTENT ────────────────────────────────────────── */
.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1; display: flex; flex-direction: column; min-height: 100vh;
}

.admin-topbar {
  height: var(--header-h);
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.admin-page-title {
  font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--olive-dark); letter-spacing: 1px; text-transform: uppercase;
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }

/* ── TEMA SWITCHER ───────────────────────────────────────── */
.tema-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px;
}
.tema-btn {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 4px; cursor: pointer;
  background: transparent; font-size: 14px;
  transition: background .15s; opacity: .5;
}
.tema-btn:hover { opacity: .8; background: rgba(0,0,0,.06); }
.tema-btn.ativo { opacity: 1; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.admin-content { padding: 24px; flex: 1; }

/* ── CARDS ESTATÍSTICAS ──────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 24px;
}

.stat-card {
  background: var(--white); border-radius: 6px;
  padding: 20px; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-card.olive   { border-top-color: var(--olive); }
.stat-card.gold    { border-top-color: var(--gold); }
.stat-card.danger  { border-top-color: var(--danger); }
.stat-card.info    { border-top-color: var(--info); }

.stat-label {
  font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
}

.stat-valor {
  font-family: 'Rajdhani', sans-serif; font-size: 34px; font-weight: 700;
  color: var(--text); line-height: 1;
}

.stat-sub { font-size: 12px; color: var(--text-muted); }

/* ── TABELA ──────────────────────────────────────────────── */
.tabela-wrap {
  background: var(--white); border-radius: 6px;
  box-shadow: var(--shadow); overflow: hidden;
  margin-bottom: 20px; border-top: 3px solid var(--gold);
}

.tabela-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.tabela-titulo {
  font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--olive-dark);
}

table {
  width: 100%; border-collapse: collapse;
}

th {
  background: #f5f2ea;
  font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--olive-dark);
  padding: 10px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 12px 16px; border-bottom: 1px solid #f0f0f0;
  font-size: 14px; color: var(--text); vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #faf7f0; }

.td-titulo { font-weight: 600; max-width: 320px; }
.td-titulo a { color: var(--olive); }
.td-titulo a:hover { text-decoration: underline; }

/* ── BADGES DE STATUS ────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 2px 10px; border-radius: 12px; white-space: nowrap;
}
.badge-publicado  { background: #d4edda; color: #155724; }
.badge-aguardando { background: #fff3cd; color: #856404; }
.badge-rascunho   { background: #e2e3e5; color: #383d41; }
.badge-rejeitado  { background: #f8d7da; color: #721c24; }
.badge-destaque   { background: #ffeaa7; color: #6c5a00; }
.badge-nivel-5    { background: #d4edda; color: #155724; }
.badge-nivel-4    { background: #cce5ff; color: #004085; }
.badge-nivel-3    { background: #d1ecf1; color: #0c5460; }
.badge-nivel-2    { background: #fff3cd; color: #856404; }
.badge-nivel-1    { background: #e2e3e5; color: #383d41; }

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 4px; border: none;
  transition: all .15s; white-space: nowrap; cursor: pointer;
  color-scheme: light;
}
.btn-primary   { background: var(--olive);   color: #fff !important; }
.btn-primary:hover { background: var(--olive-dark); }
.btn-gold      { background: var(--gold);    color: var(--navy-dark) !important; }
.btn-gold:hover { background: var(--gold-light); }
.btn-danger    { background: var(--danger);  color: #fff !important; }
.btn-danger:hover { background: #a93226; }
.btn-secondary { background: #f0f0f0; color: var(--text) !important; border: 1px solid var(--border); }
.btn-secondary:hover { background: #e5e5e5; }
.btn-outline   { background: transparent; color: var(--text) !important; border: 1px dashed var(--border); }
.btn-outline:hover { background: rgba(0,0,0,.05); border-style: solid; }
[data-theme="escuro"] .btn-outline { color: #e8e8e8 !important; border-color: rgba(255,255,255,.2); }
[data-theme="escuro"] .btn-outline:hover { background: rgba(255,255,255,.05); }
.btn-warning   { background: var(--warning); color: #fff !important; }
.btn-warning:hover { background: #d35400; }
.btn-success   { background: var(--success); color: #fff !important; }
.btn-success:hover { background: #219a52; }
.btn-sm { padding: 5px 12px; font-size: 10px; }

/* ── FORMULÁRIO ADMIN ────────────────────────────────────── */
.form-card {
  background: var(--white); border-radius: 6px;
  padding: 28px; box-shadow: var(--shadow);
  margin-bottom: 20px; border-top: 3px solid var(--gold);
}

.form-card-titulo {
  font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--olive-dark); margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.fg { margin-bottom: 16px; }

.fg label {
  display: block;
  font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}

.fg input[type=text],
.fg input[type=password],
.fg input[type=url],
.fg input[type=number],
.fg select,
.fg textarea {
  width: 100%;
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #222 !important;
  padding: 9px 12px; border-radius: 4px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  outline: none; transition: border-color .2s;
  color-scheme: light;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--olive) !important;
  box-shadow: 0 0 0 3px rgba(74,92,42,.12);
}
.fg textarea { resize: vertical; min-height: 200px; }
.fg select option { background: #fff; color: #222; }
.fg .hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

.fg-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text); cursor: pointer;
}
.fg-check input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }

/* Upload de imagem */
.upload-area {
  border: 2px dashed #ccc; border-radius: 6px;
  padding: 24px; text-align: center;
  cursor: pointer; transition: all .2s; background: #fafafa;
}
.upload-area:hover { border-color: var(--gold); background: #faf7ee; }
.upload-area input { display: none; }
.upload-preview { max-width: 100%; border-radius: 4px; margin-top: 12px; max-height: 200px; object-fit: cover; }
.upload-texto { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.upload-texto strong { color: var(--olive); }

/* Alertas */
.alerta { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 13px; }
.alerta-erro    { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.alerta-ok      { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alerta-aviso   { background: #fff3cd; border: 1px solid #ffeeba; color: #856404; }
.alerta-info    { background: #cce5ff; border: 1px solid #b8daff; color: #004085; }

/* ── APROVAÇÃO ───────────────────────────────────────────── */
.aprovacao-card {
  background: var(--white); border-radius: 6px;
  padding: 22px; box-shadow: var(--shadow);
  margin-bottom: 16px; border-left: 4px solid var(--warning);
}
.aprovacao-titulo {
  font-family: 'Rajdhani', sans-serif; font-size: 17px; font-weight: 700;
  color: var(--text); text-transform: uppercase; margin-bottom: 8px;
}
.aprovacao-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.aprovacao-preview {
  font-size: 13px; color: #555; line-height: 1.7;
  background: #f8f9fa; border-radius: 4px; padding: 14px;
  margin-bottom: 14px; white-space: pre-wrap;
  max-height: 200px; overflow-y: auto;
}
.aprovacao-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── DESTAQUE ────────────────────────────────────────────── */
.destaque-wrap {
  background: var(--white); border-radius: 6px;
  padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.destaque-titulo {
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between;
}
.destaque-slots {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.destaque-slot {
  flex: 1; min-width: 140px;
  border: 2px dashed #ddd; border-radius: 6px;
  padding: 12px; text-align: center; font-size: 12px; color: #aaa;
  min-height: 80px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.destaque-slot.ocupado {
  border-color: var(--gold); background: #fffdf0; color: var(--text);
}
.destaque-slot-titulo { font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--text); }
.destaque-slot-pos { font-size: 9px; color: var(--gold); font-weight: 700; letter-spacing: 1px; }

/* ── PAGINAÇÃO ───────────────────────────────────────────── */
.paginacao { display: flex; gap: 4px; margin-top: 16px; }
.paginacao a, .paginacao span {
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px;
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text-muted) !important; background: var(--white);
  transition: all .15s; color-scheme: light;
}
.paginacao a:hover { background: var(--olive); color: #fff !important; border-color: var(--olive); }
.paginacao span.atual { background: var(--olive); color: #fff !important; border-color: var(--olive); }

/* ── RESPONSIVO ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.aberto { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}

/* ── Editor Quill — ajustes visuais para o painel DBR ─────── */
.ql-toolbar.ql-snow {
  border: 1px solid #ccc !important;
  border-bottom: none !important;
  border-radius: 4px 4px 0 0;
  background: #f9f9f7;
}
.ql-container.ql-snow {
  border: 1px solid #ccc !important;
  border-radius: 0 0 4px 4px;
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 15px;
  color: #222;
}
.ql-editor {
  min-height: 320px;
  line-height: 1.8;
  color: #222 !important;
}
.ql-editor p { margin-bottom: 10px; color: #222; }
.ql-editor h2 { font-size: 20px; font-weight: 700; margin: 18px 0 8px; color: #1a1a1a; }
.ql-editor h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; color: #1a1a1a; }
.ql-editor blockquote {
  border-left: 4px solid #c9a84c;
  padding: 10px 16px;
  background: #f7f5f0;
  font-style: italic;
  color: #555;
  margin: 14px 0;
}
.ql-editor pre.ql-syntax {
  background: #1e2a1e;
  color: #b8d880;
  padding: 14px;
  border-radius: 4px;
  font-size: 13px;
}
.ql-editor a { color: #4a5c2a; text-decoration: underline; }
/* Placeholder */
.ql-editor.ql-blank::before {
  color: #aaa !important;
  font-style: normal !important;
}

/* ── Notificações ─────────────────────────────────────────── */
.notif-wrap {
  position: relative;
  overflow: visible;
}
.notif-sino {
  background: transparent; border: none; cursor: pointer;
  font-size: 16px; padding: 2px 4px; position: relative;
  border-radius: 4px; transition: background .15s;
}
.notif-sino:hover { background: rgba(255,255,255,.1); }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: #e53e3e; color: #fff;
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 10px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.notif-dropdown {
  position: fixed;
  width: 320px;
  background: #0f1a07;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  border: 1px solid rgba(201,168,76,.2);
  z-index: 99999; overflow: hidden;
}
.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(201,168,76,.12);
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: #f0ead8;
}
.notif-marcar-todas {
  background: transparent; border: none; cursor: pointer;
  font-size: 10px; color: rgba(201,168,76,.7); font-weight: 600;
  transition: color .15s;
}
.notif-marcar-todas:hover { color: #c9a84c; }
.notif-lista { max-height: 360px; overflow-y: auto; }
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05);
  cursor: pointer; transition: background .1s; text-decoration: none;
  color: inherit;
}
.notif-item:hover { background: rgba(255,255,255,.04); }
.notif-item.nao-lida { background: rgba(201,168,76,.06); }
.notif-item.nao-lida:hover { background: rgba(201,168,76,.12); }
.notif-icone { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.notif-corpo { flex: 1; min-width: 0; }
.notif-msg { font-size: 12px; color: #f0ead8; line-height: 1.4; margin-bottom: 3px; word-break: break-word; }
.notif-tempo { font-size: 10px; color: rgba(240,234,216,.4); }
.notif-vazia { padding: 28px 16px; text-align: center; color: rgba(240,234,216,.35); font-size: 13px; }

/* ============================================================
   UTILITÁRIOS — substitui inline styles dos PHPs
   ============================================================ */

/* Layout flex utilitário */
.flex-row             { display: flex; gap: 8px; }
.flex-row-12          { display: flex; gap: 12px; }
.flex-wrap            { flex-wrap: wrap; }
.flex-center          { display: flex; align-items: center; gap: 8px; }
.flex-between         { display: flex; align-items: center; justify-content: space-between; }
.flex-between-wrap    { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.inline-form          { display: inline; }

/* Filtros (busca + select + botão) */
.filtros-bar {
  display: flex; gap: 8px; margin-bottom: 18px;
  flex-wrap: wrap; align-items: center;
}
.filtros-bar input[type=text],
.filtros-bar input[type=search],
.filtros-bar select {
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #222 !important;
  padding: 8px 12px; border-radius: 4px;
  font-size: 14px; outline: none;
  color-scheme: light;
}
.filtros-bar input[type=text],
.filtros-bar input[type=search] { width: 220px; }
.filtros-bar select { padding: 8px 10px; font-size: 13px; }

/* Células de tabela */
.td-bold       { font-weight: 600; }
.td-data       { font-size: 12px; color: #999; }
.td-acoes      { white-space: nowrap; }
.td-vazio      { text-align: center; padding: 30px; color: #aaa; }
.td-muted      { color: var(--text-muted); }

/* Painel LGPD */
.painel-lgpd {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.painel-lgpd.alerta-pendente { border-left-color: var(--warning); }
.painel-lgpd.alerta-pronto   { border-left-color: var(--danger); }
.painel-lgpd-titulo {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); margin-bottom: 4px;
}
.painel-lgpd-info { font-size: 12px; color: var(--text-muted); }
.painel-lgpd-destaque { color: var(--danger); }

.tabela-lgpd {
  width: 100%; margin-top: 14px;
  font-size: 12px; border-collapse: collapse;
}
.tabela-lgpd thead tr { color: var(--text-muted); text-align: left; }
.tabela-lgpd th,
.tabela-lgpd td { padding: 4px 8px; }
.tabela-lgpd tbody tr { border-top: 1px solid var(--border); }
.tabela-lgpd tbody td { padding: 6px 8px; }
.tabela-lgpd .lgpd-nick { font-weight: 600; }
.tabela-lgpd .lgpd-vazia { padding: 12px 8px; color: var(--text-muted); font-style: italic; }
.lgpd-dias { font-weight: 700; color: var(--text-muted); }
.lgpd-dias.atrasado { color: var(--danger); }

/* ============================================================
   UTILITÁRIOS adicionais — substitui inline styles dos PHPs admin
   ============================================================ */

/* Filtros e linhas de ação flexíveis */
.acao-bar              { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.acao-bar-end          { margin-left: auto; }
.filtros-form          { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filtros-form-mb       { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }

/* Form inline curto (usado em add palavra, formularios em linha) */
.form-inline-end       { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.fg-flex               { flex: 1; min-width: 200px; margin: 0; }

/* Inputs em filtros (compactos) */
.input-mini {
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #222 !important;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  color-scheme: light;
}
.input-mini.w200       { width: 200px; }
.input-mini.w220       { width: 220px; }
.input-mini.w260       { width: 260px; }
.input-mini.w280       { width: 280px; }

/* Input ainda mais compacto (inline em tabelas) */
.input-xs {
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #222 !important;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  outline: none;
}
.input-xs.w140         { width: 140px; }
.input-xs.w160         { width: 160px; }

/* Selects compactos (filtros) */
.select-mini {
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #222 !important;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}

/* Form-card spacing helper */
.form-card-mb          { margin-bottom: 20px; }
.form-card-mb-14       { margin-bottom: 14px; }
.form-card-mb-16       { margin-bottom: 16px; }

/* Botões largura total / centralizados */
.btn-full              { width: 100%; justify-content: center; }
.btn-center            { justify-content: center; }
.btn-mb-auto           { margin-bottom: 22px; white-space: nowrap; }

/* Grupo de botões empilhados (sidebar do editor) */
.btn-stack             { display: flex; flex-direction: column; gap: 8px; }
.btn-stack-mt          { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

/* Layout editor (conteúdo + sidebar) */
.editor-layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 20px; align-items: start;
}
.editor-layout-wide {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 20px; align-items: start;
}
.editor-layout-320 {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 20px; align-items: start;
}
.editor-sidebar { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 900px) {
  .editor-layout, .editor-layout-wide, .editor-layout-320 { grid-template-columns: 1fr; }
}

/* Cell helpers para tabelas */
.cell-nowrap-sm        { white-space: nowrap; font-size: 13px; }
.cell-nowrap-xs        { white-space: nowrap; font-size: 12px; }
.cell-muted-xs         { font-size: 12px; color: #888; }
.cell-muted-sm         { font-size: 13px; color: #666; }
.cell-data             { white-space: nowrap; font-size: 12px; color: #999; }
.cell-data-xs          { font-size: 11px; color: #999; white-space: nowrap; }
.cell-ip               { font-size: 11px; color: #aaa; white-space: nowrap; }
.cell-desc             { font-size: 13px; max-width: 280px; }
.cell-coment           { max-width: 340px; }

/* Texto auxiliar pequeno (placeholder/hint inline) */
.text-faint            { font-weight: 400; font-size: 10px; opacity: .6; }
.text-muted-12         { font-size: 12px; color: var(--text-muted); }
.text-dim              { color: #aaa; font-size: 12px; }
.text-em-muted         { font-style: italic; color: #888; margin-bottom: 8px; font-size: 13px; }
.muted-dash            { color: #bbb; }

/* Linha de zero/vazio em tabelas */
.tabela-vazia          { padding: 30px; text-align: center; color: #aaa; }
.tabela-vazia-grande   { padding: 40px; text-align: center; color: #aaa; }
.tabela-vazia-grande-13{ padding: 40px; text-align: center; color: #aaa; font-size: 13px; }

/* Linha da própria conta (staff) */
.tr-self               { background: #fffbf0; }
.tag-self              { font-size: 10px; color: #aaa; }

/* Inline-edit cargo/coluna (staff) */
.inline-edit-form      { display: flex; gap: 4px; align-items: center; margin-top: 4px; }

/* Reset de senha (staff) */
.reset-senha-wrap      { display: none; margin-top: 6px; }
.reset-senha-form      { display: flex; gap: 4px; }

/* Stat-card link (warning) */
.stat-link-warning     { color: var(--warning); }

/* Plus grande dentro do destaque slot vazio */
.slot-vazio-plus       { font-size: 20px; color: #ddd; }

/* Code chip (filtro de palavras / slug colunas) */
.code-chip {
  background: #f0ede6;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 13px;
}
.code-slug             { font-size: 12px; color: #888; }

/* ── Color picker de coluna ── */
.cor-picker-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.cor-picker-input {
  width: 44px; height: 36px;
  border: 1px solid var(--border); border-radius: 4px;
  padding: 2px; cursor: pointer; background: none;
}
.cor-picker-preview {
  display: flex; align-items: center;
}
.cor-badge-demo {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 2px 10px; border-radius: 2px; border: 1px solid currentColor;
  background: rgba(0,0,0,.5);
}
.cor-picker-hex {
  font-size: 12px; color: var(--text-muted);
  font-family: monospace; min-width: 60px;
}
/* Preview da tag na listagem */
.col-tag-demo {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px; border: 1px solid currentColor;
  background: rgba(0,0,0,.4);
  display: inline-block;
}
[data-theme="escuro"] .cor-badge-demo { background: rgba(0,0,0,.6); }
[data-theme="escuro"] .col-tag-demo   { background: rgba(0,0,0,.5); }

/* Logs — tipo (código) */
.log-tipo-codigo       { font-size: 11px; color: #666; margin-left: 4px; }
.log-icone             { font-size: 14px; }
.log-sistema           { color: #aaa; font-size: 12px; }

/* Banner preview em aprovação */
.banner-preview-aprov {
  width: 100%; max-height: 160px; object-fit: cover;
  border-radius: 4px; margin-bottom: 12px;
}

/* Aprovação vazia / estado vazio com ícone grande */
.estado-vazio          { text-align: center; padding: 60px 20px; color: #aaa; }
.estado-vazio-icone    { font-size: 40px; margin-bottom: 12px; }
.estado-vazio-texto {
  font-family: 'Rajdhani', sans-serif; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase;
}

/* Abas (sugestões, paginas, comentários) */
.abas-bar {
  display: flex; gap: 4px; margin-bottom: 18px;
  border-bottom: 2px solid var(--border); padding-bottom: 0;
}
.abas-bar-flex {
  display: flex; gap: 6px; margin-bottom: 20px;
  flex-wrap: wrap; align-items: center;
}
.aba-link {
  padding: 8px 16px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  border-radius: 4px 4px 0 0;
  color: var(--text-muted);
}
.aba-link.ativa { background: var(--olive); color: #fff; }
.aba-badge {
  background: #e53e3e; color: #fff; font-size: 10px;
  padding: 1px 6px; border-radius: 8px; margin-left: 4px;
}
.aba-badge-inline {
  background: #e53e3e; color: #fff; border-radius: 10px;
  padding: 1px 7px; font-size: 10px; margin-left: 6px;
}

/* Aba paginas (tab estilo "tab") */
.aba-tab {
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 10px 20px; text-decoration: none; border-radius: 4px 4px 0 0;
  transition: all .15s; position: relative; bottom: -2px;
  color: var(--text-muted); border: 2px solid transparent;
}
.aba-tab.ativa {
  background: #fff;
  border: 2px solid var(--border);
  border-bottom: 2px solid #fff;
  color: var(--olive-dark);
}

/* Sugestões — coluna assunto */
.sug-assunto-titulo    { font-weight: 600; color: #333; }
.sug-assunto-desc {
  font-size: 11px; color: #888; margin-top: 2px; max-width: 320px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sug-desc-expandida {
  display: none; margin-top: 10px; padding: 10px;
  background: #f9f9f7; border-radius: 4px;
  font-size: 12px; color: #444; line-height: 1.6;
  max-width: 400px; white-space: pre-wrap;
}
.sug-status-badge {
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
  text-transform: uppercase; letter-spacing: .5px;
}
.sug-status-pendente   { background: #b7791f22; color: #b7791f; }
.sug-status-convertida { background: #27674922; color: #276749; }
.sug-status-arquivada  { background: #71809622; color: #718096; }
.sug-status-default    { background: #88888822; color: #888; }

/* Botão arquivar com cor de risco no texto */
.btn-arquivar-text     { color: #e53e3e; }

/* Acoes-row (linha de ações dentro de td) */
.acoes-row             { display: flex; gap: 6px; flex-wrap: wrap; }

/* Paginação interna (dentro de tabela-wrap) */
.paginacao-interna {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

/* Pendentes row destacada (linha amarela) */
.tr-pendente           { background: rgba(255, 200, 0, .04); }

/* Logo upload (configurações) */
.logo-upload-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-top: 6px;
}
.logo-atual-img {
  height: 40px; width: auto;
  background: #0f1a2e; padding: 4px 8px; border-radius: 4px;
}
.logo-file-input       { font-size: 13px; }

/* Prefixo @ do Instagram */
.input-prefix-wrap     { display: flex; align-items: center; }
.input-prefix {
  background: #eee; border: 1px solid #ccc; border-right: none;
  padding: 9px 10px; font-size: 13px; color: #888;
  border-radius: 4px 0 0 4px;
}
.input-prefix + input  { border-radius: 0 4px 4px 0; }

/* Aviso danger leve (config manutenção) */
.hint-danger           { margin-top: 4px; color: var(--danger); }

/* Equipe pública — drag handle / inputs inline */
.ep-drag-handle {
  padding: 10px 8px; color: #bbb;
  font-size: 18px; text-align: center; cursor: grab;
}
.ep-ordem-num {
  padding: 10px 8px; color: #aaa;
  font-size: 12px; font-weight: 700;
}
.ep-row td             { padding: 10px 8px; }
.ep-row                { border-bottom: 1px solid var(--border); }
.ep-cell-edit          { padding: 6px 8px; }
.ep-desc-empty         { color: #aaa; font-size: 12px; }
.ep-status-line        { padding: 10px 18px; font-size: 12px; color: #888; display: none; }
.ep-hint               { font-size: 11px; color: #aaa; }
.ep-toolbar            { display: flex; gap: 8px; align-items: center; }
.sortable-ghost        { opacity: .4; background: rgba(74, 92, 42, .08); }
#equipe-sortable tr:hover { background: rgba(74, 92, 42, .03); }

/* Header-admin: sidebar-nick com sino */
.sidebar-nick-row      { display: flex; align-items: center; gap: 8px; }
.sidebar-nick-link     { color: inherit; text-decoration: none; }
.notif-loading {
  padding: 20px; text-align: center; color: #aaa; font-size: 13px;
}
.topbar-data           { font-size: 12px; color: var(--text-muted); }

/* Destaque-semanal — preview widget v2 (idêntico ao widget da home) */
.dsem-grid {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 20px; align-items: start;
}
@media (max-width: 900px) {
  .dsem-grid { grid-template-columns: 1fr; }
}
.dsem-preview-wrap {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  border: 1px solid rgba(201,168,76,.15);
  display: flex; flex-direction: column;
}
.widget-titulo {
  font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: #c9a84c;
  padding: 10px 16px;
}
.widget-titulo-olive { background: #2d3d18; }
.ds-scene {
  position: relative;
  background: linear-gradient(180deg, #162510 0%, #0d1a07 100%);
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 200px; overflow: hidden;
}
.ds-scene::before {
  content: '';
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 90px;
  background: radial-gradient(ellipse, rgba(201,168,76,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.ds-scene::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ds-habbo-img {
  width: 128px; height: auto;
  image-rendering: pixelated; image-rendering: crisp-edges;
  position: relative; z-index: 1;
  filter: drop-shadow(0 -4px 20px rgba(201,168,76,.2))
          drop-shadow(0 10px 20px rgba(0,0,0,.8));
}
.ds-platform {
  height: 6px; flex-shrink: 0;
  background: linear-gradient(to right, transparent, rgba(201,168,76,.35), transparent);
}
.ds-info { padding: 18px 20px 20px; background: #0f1a07; flex-shrink: 0; }
.ds-semana-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.2);
  color: rgba(201,168,76,.8); font-family: 'Rajdhani', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.ds-nick {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px;
}
.ds-cargo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(201,168,76,.55); margin-bottom: 14px;
}
.ds-quote {
  font-size: 12px; color: rgba(212,197,160,.75);
  font-style: italic; line-height: 1.7;
  padding: 10px 14px; background: rgba(255,255,255,.03);
  border-left: 3px solid #c9a84c; border-radius: 0 8px 8px 0;
}
.dsem-vazio          { text-align: center; padding: 30px; color: #aaa; font-size: 13px; }
.dsem-link-home-wrap { margin-top: 12px; }

/* Aceite-termos page (página standalone fora do layout admin) */
.aceite-body {
  background: #f4f3ee;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; margin: 0;
}
.aceite-wrap {
  background: #fff; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  padding: 40px; max-width: 680px; width: 100%; margin: 20px;
}
.aceite-titulo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #2d3b1e; margin-bottom: 4px;
}
.aceite-sub             { font-size: 12px; color: #999; margin-bottom: 24px; }
.aceite-box {
  height: 320px; overflow-y: auto;
  border: 1px solid #e0ddd5; border-radius: 6px;
  padding: 20px; font-size: 13px; line-height: 1.8;
  color: #444; background: #fafaf7; margin-bottom: 20px;
}
.aceite-box h3 {
  font-size: 14px; font-weight: 700;
  color: #2d3b1e; margin: 16px 0 6px;
}
.aceite-box p, .aceite-box ul { margin: 0 0 10px; }
.aceite-box ul          { padding-left: 20px; }
.aceite-rodape          { margin-top: 16px; font-size: 12px; color: #999; }
.aceite-check {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px;
}
.aceite-check input {
  margin-top: 3px; flex-shrink: 0;
  accent-color: #4a5c2a;
  width: 16px; height: 16px; cursor: pointer;
}
.aceite-check label {
  font-size: 13px; color: #444;
  cursor: pointer; line-height: 1.5;
}
.aceite-check a         { color: #4a5c2a; font-weight: 600; }
.btn-aceite {
  width: 100%; padding: 12px;
  background: #4a5c2a; color: #fff;
  border: none; border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer;
}
.btn-aceite:hover       { background: #3a4a20; }
.btn-sair {
  display: block; text-align: center;
  margin-top: 12px; font-size: 12px;
  color: #999; text-decoration: none;
}
.btn-sair:hover         { color: #666; }
.erro-box {
  background: #fef2f2; border: 1px solid #fca5a5;
  color: #c0392b; padding: 10px 14px;
  border-radius: 4px; font-size: 13px; margin-bottom: 16px;
}

/* Banner preview em form-card de edição */
.banner-thumb {
  width: 100%; border-radius: 4px;
  margin-bottom: 10px; object-fit: cover; height: 120px;
}

/* Span dentro de form-card-titulo */
.titulo-subnote         { font-weight: 400; font-size: 10px; opacity: .6; }

/* Status badge custom (post-editar) */
.badge-status-grande    { font-size: 12px; padding: 4px 14px; }

/* Link verde olive */
.link-olive             { color: var(--olive); }
.link-olive-bold        { color: var(--olive); font-weight: 700; }
.alerta.alerta-mb       { margin: 0 0 16px; }
.alerta-sucesso         { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.actions-row            { display: flex; gap: 10px; margin-top: 16px; }
.btns-mobile-hidden     { display: none; }
.btns-mobile-rasc       { margin-top: 8px; }
.alerta-info-sm         { font-size: 12px; margin-top: 4px; }
.banner-preview-hidden  { display: none; }
.status-atual-row       { margin-bottom: 14px; }
.tabela-ep              { width: 100%; border-collapse: collapse; }
.th-narrow              { width: 32px; }
.ep-row-td              { padding: 10px 8px; }
.ep-input-hidden        { display: none; }
.ep-btn-hidden          { display: none; }
