/* Small additions on top of the Megakit theme - keeps the same palette
   (primary red #f75757, dark #242424, font Poppins/Hind) for admin screens
   and a few widgets not present in the original static template. */

:root {
  --brand-primary: #f75757;
  --brand-primary-dark: #dd0b0b;
  --brand-dark: #242424;
  --brand-gray: #f5f8f9;
}

.blog-single-content { font-size: 17px; line-height: 1.8; color: rgba(0,0,0,.65); }
.blog-single-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 20px 0; }
.comment-item { border-bottom: 1px solid #eee; padding-bottom: 15px; }
.badge-light { background: var(--brand-gray); color: var(--brand-dark); font-weight: 500; padding: 6px 12px; border-radius: 30px; }

/* ---------------- Admin panel ---------------- */
.admin-body { background: var(--brand-gray); font-family: "Hind", serif; color: rgba(0,0,0,.75); min-height: 100vh; }
.admin-sidebar {
  background: var(--brand-dark);
  min-height: 100vh;
  color: #fff;
}
.admin-sidebar .logo { padding: 25px 20px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar .logo span { color: var(--brand-primary); }
.admin-sidebar a.nav-link {
  color: rgba(255,255,255,.7);
  padding: 12px 22px;
  border-left: 3px solid transparent;
  font-size: 14px;
}
.admin-sidebar a.nav-link i { width: 22px; display: inline-block; }
.admin-sidebar a.nav-link:hover,
.admin-sidebar a.nav-link.active {
  color: #fff;
  background: rgba(247,87,87,.12);
  border-left: 3px solid var(--brand-primary);
}
.admin-topbar {
  background: #fff;
  padding: 14px 25px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-content { padding: 25px; }
.admin-card {
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 22px;
}
.admin-card h5 { font-family: "Poppins", sans-serif; font-weight: 600; }
.stat-card { border-left: 4px solid var(--brand-primary); }
.stat-card .stat-number { font-size: 28px; font-weight: 700; font-family: "Poppins", sans-serif; }
.btn-brand { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.btn-brand:hover { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); color: #fff; }
.table thead th { font-family: "Poppins", sans-serif; font-size: 13px; text-transform: uppercase; color: #888; border-top: 0; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--brand-dark); }
.admin-login-card { background: #fff; padding: 40px; border-radius: 8px; width: 100%; max-width: 400px; }
.badge-unread { background: var(--brand-primary); color: #fff; border-radius: 50px; padding: 3px 9px; font-size: 11px; }
.live-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:#2ecc71; margin-right:6px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: .3; } 100% { opacity: 1; } }
#admin-toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; width: 320px; }
.admin-toast { background: #fff; border-left: 4px solid var(--brand-primary); box-shadow: 0 4px 15px rgba(0,0,0,.15); padding: 14px 16px; border-radius: 6px; margin-bottom: 10px; }
