/**
 * Weekly Chart — weekly-chart-client-static.html (scoped island).
 */
#weekly-chart-section.weekly-chart-section {
  margin: 0 0 0.45rem;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.weekly-chart-section .wc-client-island {
  all: initial;
  display: block;
  width: 100%;
  font-family: 'Arial Black', 'Segoe UI', sans-serif;
  font-size: medium;
  font-weight: 400;
  line-height: normal;
  color: #000;
  box-sizing: border-box;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.weekly-chart-section .wc-client-island *,
.weekly-chart-section .wc-client-island *::before,
.weekly-chart-section .wc-client-island *::after {
  box-sizing: border-box;
}

.weekly-chart-section .wc-page {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.weekly-chart-section .wc-page-title {
  background: #8e24aa;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  font-size: 1.5rem;
  font-weight: 900;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  line-height: 1.25;
}

.weekly-chart-section .wc-info-box {
  background: #f3e5f5;
  color: #6a1b9a;
  text-align: left;
  padding: 15px 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 3px solid #e1bee7;
  border-left: 5px solid #8e24aa;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
}

.weekly-chart-section .wc-info-box b {
  color: #4a148c;
  font-weight: 700;
}

.weekly-chart-section .wc-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 5px;
  width: 100%;
}

.weekly-chart-section .wc-box {
  border: 2px solid #8e24aa;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.weekly-chart-section .wc-date-badge-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #8e24aa;
  padding: 6px 12px;
}

.weekly-chart-section .wc-badge {
  background: #ffffff;
  color: #000000;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 900;
}

.weekly-chart-section .wc-otc {
  display: flex;
  justify-content: space-around;
  font-size: 2.2rem;
  font-weight: 900;
  color: #000000;
  padding: 10px 0;
}

.weekly-chart-section .wc-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e1bee7;
  border-top: 2px solid #8e24aa;
}

.weekly-chart-section .wc-col {
  background: #ffffff;
  text-align: center;
  padding: 8px 0;
}

.weekly-chart-section .wc-patti-val {
  font-size: 0.85rem;
  font-weight: 900;
  color: #333;
  line-height: 1.35;
}

.weekly-chart-section .wc-jodi-badge {
  background: #8e24aa;
  color: #ffffff;
  padding: 4px 0;
  font-size: 1.2rem;
  display: block;
  margin-top: 5px;
  border-radius: 4px;
  font-weight: 900;
}

.weekly-chart-section .wc-sub-jodi-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: #e1bee7;
}

.weekly-chart-section .wc-sub-jodi-badge {
  background: #ffffff;
  padding: 8px 2px;
  font-weight: 900;
  font-size: 0.9rem;
  text-align: center;
  color: #4a148c;
}

.weekly-chart-section .wc-otc span.passing-indicator,
.weekly-chart-section .wc-patti-val span.passing-indicator,
.weekly-chart-section .passing-indicator {
  color: #2e7d32 !important;
  border-radius: 4px;
}

.weekly-chart-section div.wc-jodi-badge.passing-indicator {
  background: #2e7d32 !important;
  color: #ffffff !important;
}

.weekly-chart-section .wc-sub-jodi-badge span.passing-indicator {
  color: #2e7d32 !important;
}

.weekly-chart-section .wc-footer {
  text-align: center;
  padding: 20px 10px;
  margin-top: 5px;
  background: linear-gradient(135deg, #ffffff, #f3e5f5);
  color: #8e24aa;
  border-top: 2px solid #f3e5f5;
  border-bottom: 3px solid #8e24aa;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.weekly-chart-section .wc-generating-wrap {
  padding: 2rem 1rem 2.5rem;
  text-align: center;
}

.weekly-chart-section .wc-generating {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 900;
  color: #8e24aa;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.04em;
}

.weekly-chart-section .wc-gen-dots {
  animation: wc-dots 1.2s steps(4, end) infinite;
}

@keyframes wc-dots {
  0%, 20% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

@media (max-width: 768px) {
  .weekly-chart-section .wc-container {
    grid-template-columns: 1fr;
  }

  .weekly-chart-section .wc-page-title {
    font-size: 1.15rem;
  }
}
