/* =============================================
   GOIÁS AQUI — ADMIN STYLESHEET
   ============================================= */

/* --- SMOOTH SCROLL --- */
html {
  scroll-behavior: smooth;
}

/* --- BASE ADMIN --- */
.admin-body {
  background: #f0f2f5;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}
.admin-body *,
.admin-body *::before,
.admin-body *::after {
  box-sizing: border-box;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
}

/* ─── LOGIN ─────────────────────────────────── */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #181818 0%, #2c0a0b 50%, #D2181C 100%);
  padding: 24px;
}
.login-card {
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .logo-text {
  font-size: 2.8rem;
  justify-content: center;
  display: flex;
}
.login-subtitle {
  color: #999;
  font-size: 13px;
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.login-form .form-group { margin-bottom: 20px; }
.login-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.login-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #181818;
  transition: border-color 0.2s;
  outline: none;
}
.login-form input:focus { border-color: #D2181C; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  transition: color 0.2s;
}
.password-toggle:hover { color: #D2181C; }
.btn-login {
  width: 100%;
  background: #D2181C;
  color: #fff;
  padding: 13px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.btn-login:hover { background: #a81215; }
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.login-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 20px;
}
.login-back {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: #999;
  font-size: 13px;
  transition: color 0.2s;
}
.login-back:hover { color: #D2181C; }

/* ─── DASHBOARD LAYOUT ────────────────────── */
.admin-dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* ─── SIDEBAR ─────────────────────────────── */
.admin-sidebar {
  background: #181818;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.admin-sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-sidebar-logo .logo-text { font-size: 1.4rem; }
.admin-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #D2181C;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}
.admin-nav {
  padding: 12px 0;
  flex: 1;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.admin-nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.admin-nav-item.active {
  color: #fff;
  background: rgba(210,24,28,0.18);
  border-left-color: #D2181C;
}
.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #D2181C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.admin-user-info { line-height: 1.3; }
.admin-user-name { font-size: 13px; color: #fff; font-weight: 600; display: block; }
.admin-user-role { font-size: 11px; color: #888; text-transform: capitalize; }
.btn-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: all 0.2s;
  width: 100%;
}
.btn-logout:hover { background: rgba(210,24,28,0.3); color: #fff; }
.btn-ver-site {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: all 0.2s;
  text-align: center;
  justify-content: center;
}
.btn-ver-site:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ─── MAIN AREA ──────────────────────────── */
.admin-main { overflow-y: auto; display: flex; flex-direction: column; scroll-behavior: smooth; }
.admin-topbar {
  background: #fff;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #181818;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.topbar-date { font-size: 12px; color: #999; }

/* ─── PANELS ─────────────────────────────── */
.admin-panel { display: none; padding: 28px; flex: 1; }
.admin-panel.active { display: block; }

/* ─── TOAST ──────────────────────────────── */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  border-left: 4px solid #D2181C;
  animation: slideIn 0.25s ease;
}
.toast.success { border-left-color: #16a34a; }
.toast.error { border-left-color: #dc2626; }
.toast.info { border-left-color: #2563eb; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── STATS ───────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stats-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #D2181C;
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-icon { font-size: 28px; }
.stat-icon.scheduled { color: #c2410c; }
.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #181818;
  line-height: 1;
}
.stat-label { font-size: 12px; color: #888; margin-top: 2px; }

/* ─── DASHBOARD SECTIONS ─────────────────── */
.dashboard-sections {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}
.dash-section {
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.dash-section-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #181818;
  text-transform: uppercase;
}
.recent-list { display: flex; flex-direction: column; gap: 12px; }
.recent-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}
.recent-item:last-child { border-bottom: none; }
.recent-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.recent-status.published { background: #dcfce7; color: #166534; }
.recent-status.draft { background: #fef9c3; color: #854d0e; }
.recent-status.scheduled { background: #ffedd5; color: #c2410c; }
.recent-title {
  font-size: 13px;
  font-weight: 600;
  color: #181818;
  line-height: 1.4;
  flex: 1;
}
.recent-time { font-size: 11px; color: #aaa; flex-shrink: 0; }

/* Quick Actions */
.quick-actions { display: flex; flex-direction: column; gap: 10px; }
.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  text-align: left;
}
.quick-action-btn:hover {
  border-color: #D2181C;
  color: #D2181C;
  background: #fff;
}

/* ─── TABLE ──────────────────────────────── */
.admin-table-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: #f8f8f8;
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #666;
  border-bottom: 2px solid #e5e5e5;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13.5px;
  color: #333;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.admin-table .title-cell {
  font-weight: 600;
  color: #181818;
  max-width: 320px;
}
.admin-table .title-cell small { display: block; color: #999; font-weight: 400; font-size: 12px; margin-top: 2px; }
.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.status-badge.published { background: #dcfce7; color: #166534; }
.status-badge.draft { background: #fef9c3; color: #854d0e; }
.status-badge.scheduled { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.action-btns { display: flex; gap: 6px; }
.action-btn {
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.action-btn.edit { background: #e0f2fe; color: #0369a1; }
.action-btn.edit:hover { background: #0369a1; color: #fff; }
.action-btn.delete { background: #fee2e2; color: #dc2626; }
.action-btn.delete:hover { background: #dc2626; color: #fff; }
.action-btn.view { background: #f3f4f6; color: #374151; }
.action-btn.view:hover { background: #374151; color: #fff; }

/* ─── TOOLBAR ────────────────────────────── */
.panel-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.panel-search { flex: 1; min-width: 200px; }
.panel-filters { display: flex; gap: 8px; flex-shrink: 0; }
.admin-search-input {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.admin-search-input:focus { border-color: #D2181C; }
.admin-select {
  padding: 9px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.admin-select:focus { border-color: #D2181C; }
.admin-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.admin-input:focus { border-color: #D2181C; }

/* ─── BUTTONS ────────────────────────────── */
.btn-primary {
  background: #D2181C;
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: #a81215; }
.btn-outline {
  background: transparent;
  color: #D2181C;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1.5px solid #D2181C;
  transition: all 0.2s;
}
.btn-outline:hover { background: #D2181C; color: #fff; }
.btn-sm {
  background: #f0f0f0;
  color: #333;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-sm:hover { background: #D2181C; color: #fff; }

/* ─── EDITOR LAYOUT ────────────────────── */
.editor-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.editor-main { display: flex; flex-direction: column; gap: 20px; }
.editor-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; }
.form-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.form-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #181818;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #444;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="datetime-local"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #181818;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #D2181C; }

/* Rich editor */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 8px;
  background: #f8f8f8;
  border: 1.5px solid #e0e0e0;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.editor-btn {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  background: transparent;
  transition: all 0.15s;
  min-width: 32px;
  text-align: center;
}
.editor-btn:hover { background: #D2181C; color: #fff; }
.editor-sep {
  width: 1px;
  background: #ddd;
  margin: 3px 4px;
  display: inline-block;
  height: 20px;
  align-self: center;
}
.rich-editor {
  min-height: 320px;
  padding: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 0 0 6px 6px;
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}
.rich-editor:focus { border-color: #D2181C; }
.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #bbb;
  pointer-events: none;
}
.rich-editor h2 { font-size: 1.4rem; font-weight: 700; margin: 16px 0 8px; }
.rich-editor h3 { font-size: 1.2rem; font-weight: 700; margin: 12px 0 6px; }
.rich-editor p { margin-bottom: 12px; }
.rich-editor blockquote {
  border-left: 4px solid #D2181C;
  padding: 8px 16px;
  background: #fff5f5;
  margin: 12px 0;
}

/* Editor actions */
.editor-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.btn-draft {
  padding: 10px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  background: #f3f4f6;
  color: #374151;
  transition: all 0.2s;
  border: 1.5px solid #e5e7eb;
}
.btn-draft:hover { background: #e5e7eb; }
.btn-publish {
  padding: 11px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  background: #D2181C;
  color: #fff;
  transition: background 0.2s;
}
.btn-publish:hover { background: #a81215; }

/* Cover preview */
.cover-preview {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
}
.cover-preview img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* ─── CATEGORIAS LAYOUT ──────────────────── */
.categorias-layout { display: flex; gap: 24px; align-items: start; }

/* ─── MISC ───────────────────────────────── */
.loading-msg {
  text-align: center;
  padding: 32px;
  color: #999;
  font-size: 13.5px;
}
.empty-msg {
  text-align: center;
  padding: 48px 24px;
  color: #999;
  font-size: 14px;
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
  .admin-dashboard { grid-template-columns: 200px 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-sections { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-sidebar { position: static; }
}

/* ─── TOGGLE SWITCH ─────────────────────── */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.toggle-input { display: none; }
.toggle-switch {
  width: 42px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.25s;
}
.toggle-input:checked + .toggle-switch { background: #D2181C; }
.toggle-input:checked + .toggle-switch::after { transform: translateX(18px); }
.toggle-text { font-size: 13.5px; font-weight: 500; color: #333; }

@media (max-width: 1200px) {
  .admin-dashboard { grid-template-columns: 200px 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .dashboard-sections { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-sidebar { position: static; }
}
@media (max-width: 768px) {
  .admin-dashboard { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    left: -100%;
    z-index: 9999;
    width: 240px;
    transition: left 0.3s;
  }
  .admin-sidebar.open { left: 0; }
  .admin-panel { padding: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ─── NAV SEPARATOR ──────────────────────── */
.admin-nav-sep {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  padding: 14px 20px 4px;
}

/* ─── NAV BADGE ──────────────────────────── */
.nav-badge {
  background: #D2181C;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── MODAL ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f0f0;
}
.modal-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #181818;
  text-transform: uppercase;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #555;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: #D2181C; color: #fff; }

/* ─── ROLE BADGE ─────────────────────────── */
.role-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.role-badge.admin { background: #fee2e2; color: #991b1b; }
.role-badge.editor { background: #dbeafe; color: #1e40af; }
.role-badge.reporter { background: #dcfce7; color: #166534; }

/* ─── COMMENT STATUS ─────────────────────── */
.coment-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.coment-status.pendente { background: #fef9c3; color: #854d0e; }
.coment-status.aprovado { background: #dcfce7; color: #166534; }
.coment-status.reprovado { background: #fee2e2; color: #991b1b; }

/* ─── BREAKING NEWS CARDS ────────────────── */
.breaking-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #D2181C;
  position: relative;
}
.breaking-card.urgente { border-left-color: #dc2626; background: #fff5f5; }
.breaking-card.exclusivo { border-left-color: #d97706; background: #fffbeb; }
.breaking-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}
.breaking-badge.normal { background: #f0f0f0; color: #555; }
.breaking-badge.urgente { background: #fee2e2; color: #991b1b; }
.breaking-badge.exclusivo { background: #fef3c7; color: #92400e; }
.breaking-card-text {
  font-size: 14px;
  font-weight: 600;
  color: #181818;
  line-height: 1.4;
  margin-bottom: 8px;
}
.breaking-card-meta { font-size: 11px; color: #999; }
.breaking-card-actions { display: flex; gap: 6px; margin-top: 10px; }

/* ─── DESTAQUE SLOTS ─────────────────────── */
.destaque-slot {
  background: #f8f9fa;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  transition: all 0.2s;
}
.destaque-slot:hover { border-color: #D2181C; }
.destaque-slot-num {
  width: 22px; height: 22px;
  background: #D2181C;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.destaque-slot-title {
  flex: 1;
  font-weight: 600;
  color: #181818;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.destaque-slot-remove {
  width: 22px; height: 22px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 4px;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.destaque-slot-remove:hover { background: #dc2626; color: #fff; }

/* ─── CONFIG PANEL ───────────────────────── */
.config-save-bar {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid #e0e0e0;
  padding: 16px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  backdrop-filter: blur(8px);
}
@media (max-width: 900px) {
  .admin-panel > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .admin-panel > div[style*="grid-template-columns:1fr 320px"] {
    grid-template-columns: 1fr !important;
  }
  .admin-panel > div[style*="grid-template-columns:1fr 340px"] {
    grid-template-columns: 1fr !important;
  }
}


/* --- META DESCRIPTION COUNTER --- */
.meta-desc-counter {
  float: right;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s;
}
.meta-desc-bar {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.meta-desc-bar-fill {
  height: 100%;
  width: 0%;
  background: #d1d5db;
  border-radius: 2px;
  transition: width 0.2s ease, background 0.2s ease;
}

/* --- CROP MODAL --- */
.crop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.crop-modal-card {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  animation: slideUp 0.25s ease;
  overflow: hidden;
}
.crop-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 2px solid #f0f0f0;
  flex-shrink: 0;
}
.crop-modal-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #181818;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.crop-modal-header p {
  font-size: 12px;
  color: #888;
}
.crop-modal-close {
  width: 34px;
  height: 34px;
  background: #f3f4f6;
  border-radius: 8px;
  color: #555;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.crop-modal-close:hover { background: #D2181C; color: #fff; }
.crop-modal-body {
  flex: 1;
  overflow: hidden;
  padding: 16px 24px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.crop-canvas-wrap {
  max-height: 55vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crop-canvas-wrap img {
  max-width: 100%;
  max-height: 55vh;
  display: block;
}
.crop-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 2px solid #f0f0f0;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.crop-ratio-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crop-ratio-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #f0f0f0;
  color: #555;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.crop-ratio-btn:hover { border-color: #D2181C; color: #D2181C; background: #fff; }
.crop-ratio-btn.active { background: #D2181C; color: #fff; border-color: #D2181C; }
.crop-action-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-crop-reopen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  margin-top: 8px;
  background: rgba(0,0,0,0.05);
  border: 1.5px dashed #ccc;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  transition: all 0.2s;
}
.btn-crop-reopen:hover {
  background: #fff3cd;
  border-color: #f59e0b;
  color: #b45309;
}
