/* ==========================================================================
   SILVER LINING ASTROLOGY - VEDIC CALCULATOR & KUNDALI DESIGN SYSTEM
   ========================================================================== */

.calculator-hero-section {
  padding-top: calc(var(--navbar-height) + 20px);
}

.max-w-780 {
  max-width: 780px;
}

.max-w-600 {
  max-width: 600px;
}

/* Calculator Form Card */
.calculator-input-card {
  background: linear-gradient(145deg, rgba(16, 22, 50, 0.88) 0%, rgba(10, 14, 34, 0.98) 100%);
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.form-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Input Fields with Icons */
.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--gold-light);
  font-size: 0.95rem;
  pointer-events: none;
}

.extra-small {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Gender Select Buttons */
.gender-select-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--text-muted-light);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.gender-select-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #fff;
  border-color: var(--gold-primary);
}

.gender-select-btn.active {
  background: var(--gold-gradient);
  color: #0b0e21;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Quick Location Chips */
.location-quick-chips .loc-chip {
  font-size: 0.72rem;
  color: var(--text-muted-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.location-quick-chips .loc-chip:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #fff;
  border-color: var(--gold-primary);
}

/* Pillar Result Cards */
.pillar-result-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.pillar-result-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.12);
}

.pillar-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.pillar-value {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 4px;
}

.pillar-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* North Indian Kundali SVG Chart Wrapper */
.kundali-chart-card {
  border-color: var(--gold-border-bright);
}

.chart-legend-pills .legend-pill {
  font-size: 0.75rem;
  color: var(--text-muted-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-color.gold {
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.legend-color.cyan {
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.kundali-svg-wrapper {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(212, 175, 55, 0.1);
}

.kundali-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG Chart Houses */
.chart-house {
  cursor: pointer;
  transition: all 0.25s ease;
}

.chart-house:hover {
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
}

.house-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  fill: #38bdf8;
}

.house-planets {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  fill: #e2e8f0;
  letter-spacing: 0.05em;
}

.house-planets.text-gold {
  fill: #d4af37;
}

.active-house-indicator {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--gold-border) !important;
}

/* Celestial Ephemeris Table */
.celestial-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

.celestial-table thead th {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid var(--gold-border);
  padding: 12px 16px;
}

.celestial-table tbody td {
  font-size: 0.88rem;
  padding: 12px 16px;
  vertical-align: middle;
}

.dignity-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
}

.dignity-badge.exalted {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dignity-badge.own {
  background: rgba(212, 175, 55, 0.15);
  color: #f5e7b2;
  border: 1px solid var(--gold-border);
}

.dignity-badge.friendly {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.border-gold-bright {
  border-color: var(--gold-border-bright) !important;
}
