/**
 * North Indian Jyotish Chart Styles
 */

/* Dual-chart wrapper: D1 and D9 side by side on desktop, stacked on mobile.
   Each chart keeps the exact same visual style and size. */
.chart-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-top: 16px;
}

.chart-figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.chart-caption {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.chart-slot {
  display: flex;
  justify-content: center;
}

.north-chart {
  display: block;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.north-chart text {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
  pointer-events: none;
}

.north-chart .sign-label {
  font-size: 10px;
  font-weight: 400;
  fill: #a0a0a0;
  opacity: 0.8;
}

.north-chart .planet-label {
  font-size: 11px;
  font-weight: 500;
  fill: #2c3e50;
  letter-spacing: 0.3px;
}

/* Responsive sizing */
@media (max-width: 480px) {
  .north-chart {
    max-width: 100%;
    width: 90vw;
  }
}

/* At narrow widths the two charts stack vertically (flex-wrap already does
   this). The gap shrinks a touch so the layout stays comfortable. */
@media (max-width: 900px) {
  .chart-pair {
    gap: 20px;
  }
}

/* Print styles */
@media print {
  .north-chart {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
