/* ============================================
   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; }

body {
  overflow-x: hidden;
  max-width: 100%;
  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);
  position: relative;
  z-index: 1050;
}
.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, .breaking-news {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.site-header {
  background: #fff;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.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;
}
.header-site-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  white-space: nowrap;
}
.header-site-tagline {
  font-size: 11px;
  color: #888;
  line-height: 1;
}
@media (min-width: 768px) {
  .header-site-name { font-size: 26px; }
  .header-site-tagline { font-size: 12px; }
  .site-logo img { max-height: 70px; }
}
@media (max-width: 400px) {
  .header-site-name { font-size: 16px; }
  .site-logo img { max-height: 50px; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar-main {
  background: var(--secondary);
  padding: 0;
  z-index: 100;
}
.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); }

/* Mobile navbar collapse scrollable */
@media (max-width: 991px) {
  .navbar-main .navbar-collapse {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-main .navbar-nav {
    padding: 10px 0;
  }
  .navbar-main .dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
  }
}

/* ============================================
   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 ALL Google Translate injected UI: banner bar, tooltip, frames */
.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 { display: none !important; visibility: hidden !important; height: 0 !important; }

/* Hide the Google Translate menu frame iframe (we use custom dropdown) */
iframe.goog-te-menu-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

/* Hide the top "View this page in:" bar with Google logo.
   Target only the div.skiptranslate (not iframes like the language menu). */
body > div.skiptranslate {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

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

/* Custom Language Dropdown */
.custom-lang-wrap {
  position: relative;
  display: inline-block;
}
.custom-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.custom-lang-btn:hover { opacity: 0.85; }
.custom-lang-dropdown {
  display: none;
  position: fixed;
  background: var(--secondary);
  border-radius: 12px;
  min-width: 180px;
  padding: 6px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 99999;
  max-height: 320px;
  overflow-y: auto;
}
.custom-lang-dropdown.show { display: block; }
.custom-lang-dropdown .lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.custom-lang-dropdown .lang-item:last-child { border-bottom: none; }
.custom-lang-dropdown .lang-item:hover {
  background: var(--primary);
  color: #fff;
  padding-left: 20px;
}
.custom-lang-dropdown .lang-item.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 700;
}
.custom-lang-dropdown .lang-item.active::after {
  content: '✓';
  margin-left: auto;
  font-size: 12px;
  color: var(--primary);
}
.custom-lang-dropdown .lang-flag { font-size: 16px; }
.custom-lang-dropdown::-webkit-scrollbar { width: 5px; }
.custom-lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.custom-lang-dropdown::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* Hide the default Google Translate widget */
#google_translate_hidden { display: none !important; height: 0 !important; overflow: hidden !important; }
.goog-te-gadget-icon { display: none !important; }

/* Mobile Horizontal Scroll Nav */
.mobile-scroll-nav {
  background: var(--secondary);
  overflow: hidden;
  position: relative;
  z-index: 99;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-scroll-inner {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
  padding: 0 4px;
}
.mobile-scroll-inner::-webkit-scrollbar { display: none; }
.msn-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.msn-item i { font-size: 10px; }
.msn-item:hover, .msn-item.active {
  color: #fff;
  background: var(--primary);
  border-bottom-color: var(--gold);
}

/* Header LIVE TV Button — TV Shape */
.header-live-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}
.header-live-btn:hover { transform: scale(1.08); }
.header-live-btn .tv-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 48px;
  background: #e00;
  border-radius: 4px;
  border: 3px solid #222;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  position: relative;
}
.header-live-btn .live-text {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  line-height: 1;
}
.header-live-btn .tv-stand {
  width: 24px;
  height: 5px;
  background: #222;
  border-radius: 0 0 3px 3px;
  margin-top: -1px;
}
@media (max-width: 575px) {
  .header-live-btn .tv-screen { width: 60px; height: 38px; border-radius: 3px; border-width: 2.5px; }
  .header-live-btn .live-text { font-size: 10px; letter-spacing: 1px; }
  .header-live-btn .tv-stand { width: 18px; height: 4px; }
}

/* ============================================
   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);
  height: 100vh;
  height: 100dvh;
  width: 260px;
  position: fixed;
  top: 0; left: 0;
  overflow: hidden;
  z-index: 999;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.admin-sidebar .sidebar-brand {
  flex-shrink: 0;
  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;
  padding-bottom: 60px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
/* Custom scrollbar inside sidebar */
.admin-sidebar .sidebar-menu::-webkit-scrollbar { width: 4px; }
.admin-sidebar .sidebar-menu::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar .sidebar-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.admin-sidebar .sidebar-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
.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;
  min-height: 100dvh;
}
.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; padding-bottom: 40px; }
.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
   ============================================ */
/* Sidebar mobile overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.sidebar-overlay.show { display: block; }

@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-260px); overflow-y: auto; overflow-x: hidden; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar .sidebar-menu { overflow-y: visible; flex: none; }
  .admin-content { margin-left: 0; }
  .admin-body { padding: 15px; padding-bottom: 60px; }
  .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; }
}
/* ============================================
   LIVE TV MODAL
   ============================================ */
.live-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99998;
  justify-content: center;
  align-items: center;
}
.live-modal-backdrop.show { display: flex; }
.live-modal-box {
  background: #111;
  border-radius: 12px;
  width: 90%;
  max-width: 820px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.live-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #000;
}
.live-modal-header h6 { color: #fff; margin: 0; font-weight: 700; font-size: 14px; }
.live-modal-header .close-live { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: 0.7; }
.live-modal-header .close-live:hover { opacity: 1; }
.live-modal-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  background: #1a1a1a;
  overflow-x: auto;
}
.live-modal-tabs .tab-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.live-modal-tabs .tab-btn.active,
.live-modal-tabs .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.live-modal-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.live-modal-player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ============================================
   NOTIFICATION BELL
   ============================================ */
.news-notif-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  font-size: 20px;
  cursor: pointer;
  z-index: 997;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.news-notif-btn:hover { transform: scale(1.1); }
.news-notif-btn .notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 10px; height: 10px;
  background: #e74c3c;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: blink 1.2s infinite;
}
.news-notif-popup {
  display: none;
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 360px;
  max-height: 440px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 997;
  overflow: hidden;
  animation: modalIn 0.25s ease;
}
.news-notif-popup.show { display: block; }
.news-notif-popup .notif-header {
  padding: 12px 16px;
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-notif-popup .notif-body {
  overflow-y: auto;
  max-height: 380px;
  padding: 0;
}
.news-notif-popup .notif-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}
.news-notif-popup .notif-item:hover { background: #f8f9fa; }
.news-notif-popup .notif-item .notif-img {
  width: 50px; height: 50px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.news-notif-popup .notif-item .notif-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-notif-popup .notif-item .notif-date {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

@media (max-width: 575px) {
  .news-notif-popup { right: 10px; left: 10px; width: auto; }
}

@media print {
  .site-header, .site-footer, .breaking-news, nav, .back-to-top, .news-notif-btn, .news-notif-popup { display: none !important; }
}
