/* =========================================
   BIGO IPTV - Reseller Panel Page Styles
   ========================================= */

/* General layout for sections on this page */
#reseller-hero,
#reseller-video,
#subscription-credits,
#min-balance,
#reseller-benefits,
#faq,
#skills {
  padding: 60px 0;
}

@media (max-width: 768px) {
  #reseller-hero,
  #reseller-video,
  #subscription-credits,
  #min-balance,
  #reseller-benefits,
  #faq,
  #skills {
    padding: 40px 0;
  }
}

.section-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0b2458;
}

.section-header p {
  margin: 0;
  font-size: 15px;
  color: #5c667b;
}

/* blue accent line under headings */
.section-header::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: #236fff;
  margin: 18px auto 0;
}

/* =========================
   Hero (top) section
   ========================= */

.reseller-hero {
  background: radial-gradient(circle at top left, #edf6ff 0, #f3f7ff 40%, #ffffff 100%);
}

.reseller-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px 40px;
}

.hero-badge span {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(35, 115, 255, 0.08);
  color: #236fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.reseller-hero-inner h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #071739;
}

.reseller-hero-inner h1 span {
  color: #236fff;
}

.reseller-hero-inner p {
  font-size: 15px;
  color: #5c667b;
  max-width: 640px;
  margin: 0 auto 26px;
}

.btn-hero-panel {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: #236fff;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(8, 44, 140, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-hero-panel:hover {
  background: #1748c9;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(8, 44, 140, 0.5);
}

/* =========================
   Video section
   ========================= */

.reseller-video-section {
  background: #f3f6ff;
}

.video-shell {
  max-width: 920px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 45px rgba(15, 35, 95, 0.35);
}

/* 16:9 responsive video */
.video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 16px;
}

.video-controls button,
.video-controls select {
  border-radius: 999px;
  border: 1px solid #d3ddff;
  padding: 7px 18px;
  font-size: 13px;
  background: #ffffff;
  color: #1c2742;
  cursor: pointer;
}

.video-controls button:hover,
.video-controls select:focus {
  border-color: #236fff;
}

/* =========================
   Subscription credits cards
   ========================= */

.subscription-credits {
  background: #ffffff;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.credits-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e1e7ff;
  box-shadow: 0 12px 30px rgba(6, 37, 88, 0.06);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.credits-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #12254a;
}

/* highlighted stats pills under package title */
.package-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.package-stats span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(35, 111, 255, 0.06);
  color: #0d47a1;
}

.package-stats span:nth-child(1) {
  background: rgba(0, 200, 255, 0.10);
}

.package-stats span:nth-child(2) {
  background: rgba(123, 97, 255, 0.10);
}

.package-stats span:nth-child(3) {
  background: rgba(35, 111, 255, 0.08);
}

.credits-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.credits-card-body li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed #e6ecff;
}

.credits-card-body li:last-child {
  border-bottom: none;
}

.credits-card-body span {
  color: #313b52;
}

.credits-card-body strong {
  color: #236fff;
  font-weight: 700;
}

.trial-note {
  font-size: 12px;
  color: #7a8498;
  margin: 4px 0 0;
}

/* =========================
   Currency switcher (PKR/INR/USDT) - OLD STYLE
   ========================= */

.currency-switcher {
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.currency-btn {
  border: none;
  outline: none;
  padding: 7px 18px;
  border-radius: 14px 0 0 14px;
  background: #2196f3;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.currency-btn.active {
  background: #ff1744;
  box-shadow: 0 8px 20px rgba(255, 23, 68, 0.55);
}

.currency-btn:hover {
  transform: translateX(-1px);
}

@media (max-width: 768px) {
  .currency-switcher {
    position: fixed;
    top: auto;
    bottom: 15px;
    right: 15px;
    transform: none;
    flex-direction: row;
  }

  .currency-btn {
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
  }
}

/* =========================
   Minimum balance plans
   ========================= */

.min-balance {
  background: #ffffff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.plan-card {
  position: relative;
  background: #f6f8ff;
  border-radius: 22px;
  border: 1px solid #dde6ff;
  padding: 24px 22px 20px;
  text-align: left;
  box-shadow: 0 14px 34px rgba(7, 36, 104, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0c1b3f;
}

.plan-price {
  font-size: 22px;
  font-weight: 800;
  margin: 2px 0 6px;
  color: #0d47a1;
}

.plan-subtitle {
  font-size: 13px;
  color: #5b6683;
  margin-bottom: 12px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.plan-features li {
  font-size: 13px;
  color: #3a4563;
  padding: 4px 0;
}

.plan-btn {
  margin-top: auto;
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  background: #236fff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35, 111, 255, 0.4);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.plan-btn:hover {
  background: #1748c9;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(35, 111, 255, 0.45);
}

/* Popular plan */
.plan-card.popular {
  background: #ffffff;
  border-color: #236fff;
  box-shadow: 0 20px 40px rgba(20, 68, 180, 0.18);
}

.plan-ribbon {
  position: absolute;
  top: 14px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #236fff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================
   Benefits cards (Why Choose) – modern style
   ========================= */

.reseller-benefits {
  background: #f3f6ff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.benefit-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #e2e9ff;
  padding: 20px 24px 22px;
  box-shadow: 0 14px 30px rgba(8, 30, 90, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  padding-left: 32px; /* space for left accent bar */
}

.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #236fff, #00c9ff);
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #17264b;
}

.benefit-card p {
  margin: 0;
  font-size: 14px;
  color: #4a5473;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 30, 90, 0.12);
}

/* =========================
   FAQ section - accordion style
   ========================= */

.faq-reseller {
  background: #ffffff;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  counter-reset: faq-counter;
}

.faq-item {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(35, 111, 255, 0.18);
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 14px 32px rgba(10, 24, 60, 0.06);
  overflow: hidden;
  cursor: pointer;
}

.faq-header {
  padding: 16px 52px 16px 92px;
  position: relative;
}

.faq-body {
  padding: 0 24px 0 92px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.open .faq-body {
  padding-bottom: 16px;
  max-height: 260px; /* enough for 2–3 lines */
}

.faq-item::before {
  counter-increment: faq-counter;
  content: counter(faq-counter, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #236fff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(35, 111, 255, 0.5);
}

.faq-item::after {
  content: "﹀";
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 18px;
  color: #236fff;
  transition: transform 0.2s ease;
}

.faq-item.open::after {
  transform: rotate(180deg);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #13254b;
}

.faq-item p {
  font-size: 14px;
  margin: 0;
  color: #555f7a;
}

@media (max-width: 576px) {
  .faq-header {
    padding: 14px 42px 14px 72px;
  }
  .faq-body {
    padding: 0 14px 0 72px;
  }
  .faq-item::before {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* =========================
   Skills section tweaks - modern bars
   ========================= */

.skills {
  background: #f8fbff;
}

#skills .skills-content {
  row-gap: 22px;
}

#skills .progress {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 30, 90, 0.06);
  border: 1px solid #e0e7ff;
}

#skills .skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #222c49;
  margin-bottom: 6px;
}

#skills .val {
  font-weight: 700;
  color: #236fff;
}

#skills .progress-bar-wrap {
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
}

#skills .progress-bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #236fff, #00c9ff);
}

/* Small helpers */
@media (max-width: 576px) {
  .reseller-hero-inner h1 {
    font-size: 30px;
  }
}










/* Reduce top/bottom space */
.channel-list-section {
  margin-top: 10px !important;   /* was 40px */
  margin-bottom: 10px !important;
}

/* Card Box */
.channel-list-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 25px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(15, 35, 52, 0.10);
  border-left: 4px solid #e63946;   /* 🔥 Red side-line */
  position: relative;
  border-right: 1px solid rgba(0, 92, 255, 0.12);
  border-top: 1px solid rgba(0, 92, 255, 0.12);
  border-bottom: 1px solid rgba(0, 92, 255, 0.12);
}

/* Title */
.channel-list-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

/* Description */
.channel-list-text {
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto 18px auto;
  color: #4b5563;
}

/* Button */
.channel-list-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, #005cff, #1d9bf0);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 92, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.channel-list-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 92, 255, 0.45);
  opacity: 0.95;
}