/* ============================================
   Win Public TV - Main Stylesheet
   ============================================ */

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --secondary: #1a1a2e;
  --accent: #e74c3c;
  --gold: #f39c12;
  --success: #27ae60;
  --info: #2980b9;
  --light-bg: #f8f9fa;
  --dark-bg: #0f0f1a;
  --card-shadow: 0 2px 15px rgba(0,0,0,0.08);
  --card-hover: 0 8px 30px rgba(0,0,0,0.15);
  --border-radius: 8px;
  --font-main: 'Noto Sans', 'Hind', 'Segoe UI', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background: #fff;
  color: #222;
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--secondary);
  color: #ccc;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 2px solid var(--primary);
}
.top-bar a { color: #ccc; transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-left: 4px;
  color: #ccc;
  font-size: 12px;
  transition: all 0.2s;
}
.top-bar .social-icons a:hover { background: var(--primary); color: #fff; }

/* ============================================
   HEADER
   ============================================ */
.top-bar, .site-header, .navbar-main, .breaking-news {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--secondary); }
.logo-tagline {
  font-size: 11px;
  color: #777;
  display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar-main {
  background: var(--secondary);
  padding: 0;
}
.navbar-main .nav-link {
  color: #ddd !important;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 9px !important;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: #fff !important;
  background: var(--primary);
  border-bottom-color: var(--gold);
}
.navbar-main .dropdown-menu {
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 8px 8px;
  min-width: 200px;
  padding: 5px 0;
}
.navbar-main .dropdown-item {
  color: #ccc;
  font-size: 13px;
  padding: 8px 16px;
  transition: all 0.2s;
}
.navbar-main .dropdown-item:hover { background: var(--primary); color: #fff; }
.navbar-main .navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-main .navbar-toggler-icon { filter: invert(1); }

/* ============================================
   BREAKING NEWS TICKER
   ============================================ */
.breaking-news {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
}
.breaking-label {
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-wrap {
  overflow: hidden;
  flex: 1;
}
.ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 13px;
}
.ticker-text:hover { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ============================================
   HERO / SLIDER
   ============================================ */
.hero-slider .carousel-item { height: 480px; }
.hero-slider .carousel-item img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.hero-slider .carousel-caption {
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  left: 0; right: 0; bottom: 0;
  padding: 40px 30px 30px;
  text-align: left;
}
.hero-cat-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}
.hero-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #eee;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.section-title::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}
.section-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}
.news-card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-3px);
}
.news-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-card:hover .card-img { transform: scale(1.05); }
.news-card .img-wrap { overflow: hidden; position: relative; }
.news-card .cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}
.news-card .card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card .card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 8px;
  flex: 1;
}
.news-card .card-title a:hover { color: var(--primary); }
.news-card .card-meta {
  font-size: 11.5px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.news-card .card-meta i { color: var(--primary); }

/* Small news card (for sidebar) */
.news-card-sm {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
}
.news-card-sm:last-child { border-bottom: none; }
.news-card-sm:hover { background: #fafafa; }
.news-card-sm img {
  width: 80px;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}
.news-card-sm .info h6 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.news-card-sm .info h6 a:hover { color: var(--primary); }
.news-card-sm .info span { font-size: 11px; color: #888; }

/* ============================================
   FEATURED NEWS (BIG)
   ============================================ */
.news-featured {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}
.news-featured:hover { box-shadow: var(--card-hover); }
.news-featured img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-featured:hover img { transform: scale(1.03); }
.news-featured .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 50px 20px 20px;
  color: #fff;
}
.news-featured .cat-badge {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}
.news-featured .title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.news-featured .meta {
  font-size: 11px;
  opacity: 0.8;
}

/* ============================================
   MLM BANNER SECTION
   ============================================ */
.mlm-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.mlm-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192,57,43,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.mlm-banner .section-title { color: #fff; font-size: 28px; }
.mlm-banner .section-title::before { background: var(--gold); }
.mlm-banner p { color: rgba(255,255,255,0.8); }
.mlm-level-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #fff;
  transition: all 0.3s;
}
.mlm-level-card:hover {
  background: rgba(192,57,43,0.3);
  border-color: var(--primary);
  transform: translateY(-5px);
}
.mlm-level-card .level-num {
  width: 50px; height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 10px;
  box-shadow: 0 4px 15px rgba(192,57,43,0.5);
}
.mlm-level-card .percent {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
}
.mlm-level-card .label { font-size: 12px; opacity: 0.8; }

/* ============================================
   STATS / ACHIEVEMENTS
   ============================================ */
.stats-section { background: var(--primary); padding: 50px 0; }
.stat-item { text-align: center; color: #fff; }
.stat-item .number {
  font-size: 40px;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.stat-item .label {
  font-size: 13px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  text-align: center;
  padding: 25px 15px;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}
.team-card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.team-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin-bottom: 12px;
}
.team-card h6 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-card .desig { font-size: 12px; color: var(--primary); font-weight: 600; }

/* ============================================
   CATEGORY TABS
   ============================================ */
.cat-tabs .nav-link {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.cat-tabs .nav-link.active,
.cat-tabs .nav-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-widget {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #f0f0f0;
}
.sidebar-widget .widget-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  padding-bottom: 12px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--secondary);
  color: #bbb;
  padding: 50px 0 0;
}
.footer-logo .logo-text { color: #fff; font-size: 24px; }
.footer-logo .logo-tagline { color: #bbb; }
.footer-about { font-size: 13px; line-height: 1.7; color: #999; margin-top: 12px; }
.footer-widget h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-widget ul { list-style: none; padding: 0; }
.footer-widget ul li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-widget ul li a {
  color: #999;
  font-size: 13px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-widget ul li a:hover { color: #fff; padding-left: 5px; }
.footer-widget ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 16px;
}
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 15px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { font-size: 13px; color: #777; margin: 0; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #bbb;
  margin-left: 6px;
  font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ============================================
   GOOGLE TRANSLATE — Hide injected UI
   ============================================ */

/* Hide the top banner bar Google injects */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-menu-frame { display: none !important; visibility: hidden !important; }

/* Prevent body offset shift when Google Translate is active */
body,
body.translated-ltr,
body.translated-rtl,
body.translated-ltr > .skiptranslate,
body.translated-rtl > .skiptranslate {
  top: 0 !important;
  margin-top: 0 !important;
  position: static !important;
}

/* The translate widget inside our topbar */
#google_translate_element {
  display: inline-block;
  max-width: 130px;
  overflow: hidden;
}
#google_translate_element .goog-te-gadget {
  font-family: var(--font-main) !important;
  color: #ccc !important;
  font-size: 0 !important;
}
#google_translate_element .goog-te-gadget > span > a { display: none !important; }
#google_translate_element .goog-te-gadget-simple {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  color: #ddd !important;
  font-size: 12px !important;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span:first-child {
  color: #ddd !important;
  font-size: 12px !important;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span[style] { display: none !important; }
.goog-te-gadget-icon { display: none !important; }
.goog-te-menu2 { max-height: 220px !important; overflow-y: auto !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,57,43,0.4);
}
.btn-secondary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary-custom:hover {
  background: var(--primary);
  color: #fff;
}
.btn-gold {
  background: var(--gold);
  color: #000;
  border: 2px solid var(--gold);
  padding: 10px 24px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-gold:hover { background: #e67e22; border-color: #e67e22; color: #fff; }

/* ============================================
   MEMBER BADGE / CARDS
   ============================================ */
.member-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-admin { background: #8e44ad; color: #fff; }
.badge-manager { background: #2980b9; color: #fff; }
.badge-coordinator { background: #27ae60; color: #fff; }
.badge-member { background: #7f8c8d; color: #fff; }
.badge-active { background: #27ae60; color: #fff; }
.badge-inactive { background: #e74c3c; color: #fff; }
.badge-pending { background: #f39c12; color: #fff; }

/* ============================================
   ID CARD
   ============================================ */
.id-card-container {
  width: 340px;
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  color: #fff;
  font-family: var(--font-main);
}
.id-card-header {
  background: var(--primary);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.id-card-header .org-name { font-size: 14px; font-weight: 800; }
.id-card-header .org-sub { font-size: 10px; opacity: 0.8; }
.id-card-body { padding: 20px; }
.id-card-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
}
.id-card-name { font-size: 18px; font-weight: 700; }
.id-card-desig { font-size: 12px; color: var(--gold); }
.id-card-info { font-size: 12px; color: rgba(255,255,255,0.7); }
.id-card-id {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: var(--gold);
}
.id-card-footer {
  background: rgba(255,255,255,0.05);
  padding: 10px 20px;
  font-size: 10px;
  opacity: 0.6;
  text-align: center;
}

/* ============================================
   FORMS
   ============================================ */
.form-control, .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.form-label { font-size: 13px; font-weight: 600; color: #555; margin-bottom: 5px; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
  padding: 40px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}
.page-header h1 { font-size: 28px; font-weight: 800; }
.page-header .breadcrumb-item { font-size: 13px; }
.page-header .breadcrumb-item.active { color: #bbb; }
.page-header .breadcrumb-item a { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: #666; }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-sidebar {
  background: var(--secondary);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  top: 0; left: 0;
  overflow-y: auto;
  z-index: 999;
  transition: all 0.3s;
}
.admin-sidebar .sidebar-brand {
  padding: 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar .sidebar-brand .brand-name {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.admin-sidebar .sidebar-brand .brand-sub {
  color: #888;
  font-size: 11px;
}
.admin-sidebar .sidebar-menu { padding: 15px 0; }
.admin-sidebar .menu-label {
  color: #666;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 10px 20px 5px;
}
.admin-sidebar .nav-link {
  color: #aaa;
  font-size: 13px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.admin-sidebar .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
  border-left-color: var(--primary);
}
.admin-sidebar .nav-link.active {
  color: #fff;
  background: rgba(192,57,43,0.2);
  border-left-color: var(--primary);
}
.admin-sidebar .nav-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--primary);
}
.admin-content {
  margin-left: 260px;
  background: #f4f6f9;
  min-height: 100vh;
}
.admin-topbar {
  background: #fff;
  padding: 12px 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-body { padding: 25px; }
.admin-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}
.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.stat-card .icon {
  width: 55px; height: 55px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.stat-card .value { font-size: 24px; font-weight: 800; color: var(--secondary); }
.stat-card .label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }

/* Admin table */
.admin-table th {
  background: var(--secondary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 15px;
  border: none;
}
.admin-table td { vertical-align: middle; font-size: 13px; padding: 10px 15px; }
.admin-table tbody tr:hover { background: #fafafa; }

/* ============================================
   UTILITIES
   ============================================ */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-secondary-custom { background: var(--secondary) !important; }

/* Loading overlay */
.page-loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s;
}
.page-loader.hide { opacity: 0; pointer-events: none; }
.loader-spinner {
  width: 50px; height: 50px;
  border: 4px solid #f3f3f3;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-260px); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-slider .carousel-item { height: 300px; }
  .hero-slider .carousel-item img { height: 300px; }
  .hero-title { font-size: 18px; }
}
@media (max-width: 767px) {
  .hero-slider .carousel-item { height: 220px; }
  .hero-slider .carousel-item img { height: 220px; }
  .hero-title { font-size: 14px; }
  .mlm-banner { padding: 40px 0; }
  .stat-item .number { font-size: 30px; }
  .top-bar .social-icons { display: none; }
}
@media print {
  .site-header, .site-footer, .breaking-news, nav, .back-to-top { display: none !important; }
}
