
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: sans-serif;   background: radial-gradient(ellipse at top right, #EADBC8, #3E2A1F);
  min-height: 100vh; }

    .admin-layout { display: flex; min-height: 100vh; }

    /* ── SIDEBAR ── */
    .sidebar {
      width: 220px;
      background: rgba(61,40,23,0.95);
      border-right: 1px solid rgba(212,165,116,0.2);
      padding: 1.5rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      flex-shrink: 0;
    }
    .sidebar-logo {
      font-size: 1rem;
      font-weight: 800;
      background: linear-gradient(135deg, #d4a574, #f4e5c2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
      padding-left: 0.5rem;
    }
    .nav-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.6rem 0.75rem;
      border-radius: 8px;
      text-decoration: none;
      color: #c89b5f;
      font-size: 0.88rem;
      font-weight: 600;
      transition: 0.2s;
      border: 1px solid transparent;
    }
    .nav-item:hover { background: rgba(212,165,116,0.12); color: #f4e5c2; }
    .nav-item.active {
      background: rgba(212,165,116,0.18);
      color: #f4e5c2;
      border-color: rgba(212,165,116,0.3);
    }
    .nav-item .icon { font-size: 1rem; }
    .sidebar-bottom { margin-top: auto; }
    .btn-logout-admin {
      width: 100%;
      padding: 0.6rem;
      border-radius: 8px;
      background: rgba(220,80,80,0.1);
      border: 1px solid rgba(220,80,80,0.3);
      color: #e07070;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      transition: 0.2s;
    }
    .btn-logout-admin:hover { background: rgba(220,80,80,0.22); }

    /* ── MAIN ── */
    .admin-main {
      flex: 1;
      padding: 2rem;
      overflow-y: auto;
    }
    .admin-main h1 {
      
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      background: linear-gradient(135deg, #3E2A1F, #f4e5c2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── STATS ── */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .stat-card {
      background: rgba(61,40,23,0.75);
      border: 1px solid rgba(212,165,116,0.2);
      border-radius: 12px;
      padding: 1.25rem;
      text-align: center;
      backdrop-filter: blur(6px);
      cursor: pointer;
      transition: 0.2s;
      text-decoration: none;
    }
    .stat-card:hover { border-color: rgba(212,165,116,0.5); transform: translateY(-2px); }
    .stat-card .num {
      font-size: 2rem;
      font-weight: 800;
      background: linear-gradient(135deg, #d4a574, #f4e5c2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }
    .stat-card .lbl { font-size: 0.78rem; color: #c89b5f; margin-top: 0.4rem; }
    .stat-card.alert .num { background: linear-gradient(135deg, #e07070, #f4a0a0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

    /* ── QUICK LINKS ── */
    .quick-links {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }
    .quick-card {
      background: rgba(61,40,23,0.75);
      border: 1px solid rgba(212,165,116,0.18);
      border-radius: 14px;
      padding: 1.5rem;
      text-decoration: none;
      color: #f4e5c2;
      transition: 0.2s;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .quick-card:hover { border-color: rgba(212,165,116,0.5); transform: translateY(-2px); }
    .quick-card .qicon { font-size: 1.8rem; }
    .quick-card h3 { font-size: 0.95rem; font-weight: 700; }
    .quick-card p { font-size: 0.78rem; color: #c89b5f; }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .admin-layout { flex-direction: column; }
      .sidebar {
        width: 100%; flex-direction: row; flex-wrap: wrap;
        padding: 0.75rem 1rem; gap: 0.4rem;
        border-right: none; border-bottom: 1px solid rgba(212,165,116,0.2);
      }
      .sidebar-logo { width: 100%; margin-bottom: 0.25rem; font-size: 0.9rem; }
      .nav-item { padding: 0.4rem 0.6rem; font-size: 0.78rem; }
      .sidebar-bottom { margin-top: 0; display: flex; gap: 0.4rem; width: 100%; }
      .btn-logout-admin { width: auto; padding: 0.4rem 0.75rem; font-size: 0.78rem; }
      .admin-main { padding: 1rem; }
      .admin-main h1 { font-size: 1.1rem; margin-bottom: 1rem; }
      .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
      .stat-card { padding: 0.85rem; }
      .stat-card .num { font-size: 1.5rem; }
      .quick-links { grid-template-columns: 1fr; gap: 0.75rem; }
      .filters { gap: 0.5rem; }
      .search-input { width: 100%; }
      .count-label { margin-left: 0; }
      th, td { padding: 0.55rem 0.65rem; font-size: 0.78rem; }
      th { font-size: 0.7rem; }
      .actions-cell { flex-direction: column; gap: 0.3rem; }
      .btn-action { font-size: 0.7rem; padding: 0.25rem 0.5rem; }
      .article-img, .img-placeholder { width: 36px; height: 36px; }
      .modal { width: 95vw; padding: 1rem; }
      .table-wrap { overflow-x: auto; }
      table { min-width: 500px; }
    }
    @media (max-width: 480px) {
      .sidebar { padding: 0.5rem 0.75rem; }
      .stats-grid { grid-template-columns: repeat(3, 1fr); }
    }
  