/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/components/Home/astro-faq.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   Astro FAQ Section — Luxury Centered Vedic Design & Animations
   ========================================================================== */

.astro-faq-section {
  position: relative;
  width: 100%;
  padding: 5.5rem 1.5rem 6rem;
  background:
    radial-gradient(
      ellipse 75% 45% at 50% 0%,
      rgba(212, 168, 83, 0.14),
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 50% 100%,
      rgba(6, 66, 51, 0.05),
      transparent 70%
    ),
    linear-gradient(180deg, #ffffff 0%, #faf6ee 45%, #f6f0e4 100%);
  border-top: 1px solid rgba(212, 168, 83, 0.22);
  border-bottom: 1px solid rgba(212, 168, 83, 0.18);
  box-sizing: border-box;
  overflow: hidden;
}

/* Ambient glows */
.astro-faq-ambient {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.astro-faq-ambient--top {
  width: 480px;
  height: 240px;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 168, 83, 0.22), transparent 70%);
}

.astro-faq-ambient--bottom {
  width: 520px;
  height: 260px;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6, 66, 51, 0.08), transparent 70%);
}

/* Centered Main Container */
.astro-faq-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.astro-faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.astro-faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.38);
  color: #8c631a;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(212, 168, 83, 0.1);
  backdrop-filter: blur(4px);
}

.astro-faq-badge__sparkle {
  color: #c4842a;
  animation: astroSparklePulse 2.8s ease-in-out infinite;
}

@keyframes astroSparklePulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.2) rotate(15deg);
    opacity: 1;
  }
}

.astro-faq-title {
  margin: 0;
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
  color: #064233;
  letter-spacing: -0.01em;
}

.astro-faq-title span {
  color: #c4842a;
  background: linear-gradient(135deg, #c4842a 0%, #d4a853 50%, #9e6315 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.astro-faq-sub {
  margin: 0.9rem auto 0;
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(6, 66, 51, 0.76);
}

/* Category Filter Tabs */
.astro-faq-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  width: 100%;
}

.astro-faq-filter-btn {
  border: 1px solid rgba(212, 168, 83, 0.32);
  background: rgba(255, 255, 255, 0.88);
  color: #064233;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.astro-faq-filter-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #d4a853;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.18);
}

.astro-faq-filter-btn.is-active {
  background: linear-gradient(135deg, #064233 0%, #0b5442 100%);
  color: #ffffff;
  border-color: #064233;
  box-shadow:
    0 6px 18px rgba(6, 66, 51, 0.28),
    0 2px 6px rgba(212, 168, 83, 0.2);
}

/* Accordion List — Centered */
.astro-faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.astro-faq__item {
  width: 100%;
  background: linear-gradient(165deg, #ffffff 0%, #fdfbf7 60%, #f9f4ea 100%);
  border: 1px solid rgba(212, 168, 83, 0.26);
  border-radius: 1.35rem;
  box-shadow:
    0 4px 16px rgba(6, 66, 51, 0.04),
    0 1px 3px rgba(212, 168, 83, 0.06);
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background 0.28s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.astro-faq__item:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow:
    0 14px 32px -6px rgba(6, 66, 51, 0.09),
    0 4px 14px rgba(212, 168, 83, 0.12);
}

.astro-faq__item.is-open {
  border-color: #d4a853;
  border-left: 4px solid #c4842a;
  background: linear-gradient(165deg, #ffffff 0%, #faf5ea 100%);
  box-shadow:
    0 18px 40px -8px rgba(6, 66, 51, 0.12),
    0 4px 18px rgba(212, 168, 83, 0.16);
}

/* Trigger Button */
.astro-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.45rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: padding 0.2s ease;
}

/* Number Badge */
.astro-faq__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.14);
  border: 1px solid rgba(212, 168, 83, 0.32);
  color: #8c631a;
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.astro-faq__item:hover .astro-faq__num {
  transform: scale(1.08);
}

.astro-faq__item.is-open .astro-faq__num {
  background: linear-gradient(135deg, #d4a853 0%, #b8862d 100%);
  color: #ffffff;
  border-color: #d4a853;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.38);
}

/* Question Title and Category Wrap */
.astro-faq__q-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
}

.astro-faq__category-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a46d1c;
  background: rgba(212, 168, 83, 0.12);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
}

.astro-faq__q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #064233;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.astro-faq__item:hover .astro-faq__q {
  color: #0d5c48;
}

.astro-faq__item.is-open .astro-faq__q {
  color: #064233;
}

/* Toggle Button Icon with 45deg rotation animation */
.astro-faq__toggle {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(6, 66, 51, 0.06);
  border: 1px solid rgba(6, 66, 51, 0.12);
  color: #064233;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.astro-faq__toggle-icon {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.astro-faq__item:hover .astro-faq__toggle {
  background: rgba(212, 168, 83, 0.2);
  border-color: rgba(212, 168, 83, 0.45);
  color: #8c631a;
  transform: scale(1.05);
}

.astro-faq__toggle.is-open {
  background: #064233;
  border-color: #064233;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 66, 51, 0.25);
}

.astro-faq__toggle.is-open .astro-faq__toggle-icon {
  transform: rotate(45deg);
}

/* Animated Answer Content (CSS Grid height transition) */
.astro-faq__content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease;
  opacity: 0;
}

.astro-faq__item.is-open .astro-faq__content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.astro-faq__inner {
  overflow: hidden;
}

.astro-faq__a {
  margin: 0;
  padding: 0 1.5rem 1.45rem 5.25rem;
  color: #3b5047;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Support Help Card */
.astro-faq-support {
  margin-top: 3rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2.25rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(212, 168, 83, 0.18),
      transparent 50%
    ),
    linear-gradient(135deg, #064233 0%, #0d5442 100%);
  color: #ffffff;
  border: 1px solid rgba(212, 168, 83, 0.35);
  box-shadow:
    0 18px 40px -10px rgba(6, 66, 51, 0.4),
    0 4px 16px rgba(212, 168, 83, 0.15);
  box-sizing: border-box;
}

.astro-faq-support__left {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  min-width: 0;
}

/* Astrologer Avatars */
.astro-faq-support__avatars {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.astro-faq-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #ffffff;
  overflow: hidden;
  margin-left: -0.65rem;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.astro-faq-avatar:first-child {
  margin-left: 0;
}

.astro-faq-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.astro-faq-avatar--pulse {
  background: rgba(212, 168, 83, 0.3);
  color: #ffffff;
}

.astro-faq-live-dot {
  position: absolute;
  bottom: 0;
  right: -0.2rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #064233;
  box-shadow: 0 0 8px #22c55e;
  animation: astroLivePulse 2s infinite;
}

@keyframes astroLivePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.astro-faq-support__copy h4 {
  margin: 0;
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 1.22rem;
  color: #ffffff;
  line-height: 1.3;
}

.astro-faq-support__copy p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.astro-faq-support__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a853 0%, #e0b865 100%);
  color: #064233 !important;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(212, 168, 83, 0.35);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    box-shadow 0.28s ease;
}

.astro-faq-support__btn:hover {
  background: linear-gradient(135deg, #e3bd6d 0%, #ecd089 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(212, 168, 83, 0.5);
}

.astro-faq-support__btn svg:last-child {
  transition: transform 0.25s ease;
}

.astro-faq-support__btn:hover svg:last-child {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 800px) {
  .astro-faq-section {
    padding: 4rem 1rem 4.5rem;
  }

  .astro-faq__trigger {
    gap: 0.95rem;
    padding: 1.1rem 1.15rem;
  }

  .astro-faq__a {
    padding: 0 1.15rem 1.25rem 4.6rem;
  }

  .astro-faq-support {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem;
    gap: 1.25rem;
  }

  .astro-faq-support__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .astro-faq-support__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .astro-faq__num {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.8rem;
  }

  .astro-faq__q {
    font-size: 0.94rem;
  }

  .astro-faq__a {
    padding: 0 1.15rem 1.25rem 1.15rem;
  }

  .astro-faq__toggle {
    width: 2.1rem;
    height: 2.1rem;
  }

  .astro-faq-filters {
    gap: 0.4rem;
  }

  .astro-faq-filter-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astro-faq__item,
  .astro-faq__content,
  .astro-faq__toggle-icon,
  .astro-faq-badge__sparkle,
  .astro-faq-live-dot {
    animation: none !important;
    transition: none !important;
  }
}

/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/views/calculator.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   TATHAASTU VEDIC KUNDLI & AI ASTROLOGY SUITE - ULTRA PREMIUM STYLING
   ========================================================================== */

.kundli-page {
  --kundli-ink: #064233;
  --kundli-ink-light: #0d5c47;
  --kundli-gold: #c59a45;
  --kundli-gold-light: #e6c875;
  --kundli-gold-dark: #9e7422;
  --kundli-coral: #e74660;
  --kundli-bg: #fdfcf7;
  --kundli-card-bg: rgba(255, 255, 255, 0.92);
  --kundli-border: rgba(197, 154, 69, 0.22);
  --kundli-max: 76rem;

  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #fff9f0 0%, #fdfbf7 55%, #f7f3eb 100%);
  color: var(--kundli-ink);
  font-family: inherit;
  position: relative;
}

/* --------------------------------------------------------------------------
   AI TOOLS NAV BAR
   -------------------------------------------------------------------------- */
.ai-tools-nav-wrapper {
  max-width: var(--kundli-max);
  margin: -1.2rem auto 2rem;
  padding: 0 1rem;
  position: relative;
  z-index: 20;
}

.ai-tools-nav-inner {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 154, 69, 0.28);
  border-radius: 9999px;
  box-shadow: 0 12px 32px -8px rgba(6, 66, 51, 0.08);
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.ai-tools-nav-inner::-webkit-scrollbar {
  display: none;
}

.ai-tools-nav-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kundli-ink);
  white-space: nowrap;
  border-right: 1px solid rgba(197, 154, 69, 0.25);
}

.ai-tools-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.ai-tools-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #4b635c;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ai-tools-nav-tab:hover {
  background: rgba(197, 154, 69, 0.1);
  color: var(--kundli-ink);
}

.ai-tools-nav-tab.is-active {
  background: linear-gradient(135deg, #064233 0%, #0d5c47 100%);
  color: #fff;
  box-shadow: 0 4px 14px -3px rgba(6, 66, 51, 0.35);
}

.ai-tools-nav-tab.is-active .tab-icon-wrap {
  color: #e6c875;
}

.tab-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  background: rgba(197, 154, 69, 0.18);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--kundli-gold-dark);
}

.ai-tools-nav-tab.is-active .tab-badge {
  background: rgba(230, 200, 117, 0.25);
  color: #f7e7ba;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.kundli-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #f5efe6 0%, #fbf9f4 60%, transparent 100%);
}

.kundli-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(197, 154, 69, 0.16), transparent 70%);
  pointer-events: none;
}

.kundli-hero__inner {
  max-width: var(--kundli-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kundli-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(197, 154, 69, 0.12);
  border: 1px solid rgba(197, 154, 69, 0.3);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kundli-gold-dark);
  margin-bottom: 1.1rem;
}

.kundli-hero h1 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--kundli-ink);
  letter-spacing: -0.02em;
}

.kundli-hero h1 .gold-text {
  background: linear-gradient(135deg, #b8860b 0%, #c59a45 40%, #7d5a18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kundli-hero__sanskrit {
  font-family: "Noto Serif Devanagari", Georgia, serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: #8b6e35;
  margin: 0 0 0.8rem;
  letter-spacing: 0.04em;
}

.kundli-hero p {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #556c64;
}

/* --------------------------------------------------------------------------
   BODY & CARDS GRID
   -------------------------------------------------------------------------- */
.kundli-body {
  position: relative;
  padding: 1.5rem 1rem 4rem;
  max-width: var(--kundli-max);
  margin: 0 auto;
}

.kundli-body__mandala {
  position: absolute;
  width: min(20rem, 35vw);
  opacity: 0.06;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.kundli-body__mandala--left {
  top: 0;
  left: -5rem;
}

.kundli-body__mandala--right {
  top: 10rem;
  right: -5rem;
  transform: scaleX(-1);
}

.kundli-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.95fr);
  gap: 1.8rem;
  align-items: start;
}

/* Card Base */
.kundli-card {
  background: var(--kundli-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--kundli-border);
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px -12px rgba(6, 66, 51, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 2rem 2.2rem;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.kundli-card:hover {
  box-shadow: 0 24px 50px -15px rgba(6, 66, 51, 0.12), 0 0 0 1px rgba(197, 154, 69, 0.3) inset;
}

.kundli-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 154, 69, 0.16);
}

.kundli-card h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--kundli-ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.kundli-card h2 .icon-gold {
  color: var(--kundli-gold);
}

.kundli-card-subtitle {
  font-size: 0.82rem;
  color: #6a8279;
}

/* Form Fields */
.kundli-field {
  margin-bottom: 1.25rem;
  position: relative;
}

.kundli-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kundli-ink);
}

.kundli-field-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.kundli-field-icon {
  position: absolute;
  left: 1rem;
  color: #8b9d97;
  pointer-events: none;
  width: 1.1rem;
  height: 1.1rem;
}

.kundli-input {
  width: 100%;
  height: 3.1rem;
  padding: 0 1rem;
  border-radius: 0.85rem;
  border: 1px solid #d8dfdc;
  background: #ffffff;
  color: #1a2a24;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) inset;
}

.kundli-input.has-icon {
  padding-left: 2.75rem;
}

.kundli-input:focus {
  outline: none;
  border-color: var(--kundli-gold);
  box-shadow: 0 0 0 3px rgba(197, 154, 69, 0.2), 0 2px 6px rgba(0, 0, 0, 0.02) inset;
}

.kundli-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Gender Toggle Buttons */
.kundli-gender-group {
  display: flex;
  gap: 0.5rem;
  height: 3.1rem;
}

.kundli-gender-btn {
  flex: 1;
  border-radius: 0.85rem;
  border: 1px solid #d8dfdc;
  background: #ffffff;
  color: #4b635c;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.kundli-gender-btn:hover {
  border-color: var(--kundli-gold);
  background: #fdfbf7;
}

.kundli-gender-btn.is-active {
  background: linear-gradient(135deg, #064233 0%, #0d5c47 100%);
  border-color: #064233;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 66, 51, 0.2);
}

/* Autocomplete Dropdown */
.geo-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--kundli-gold);
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px -6px rgba(6, 66, 51, 0.16);
  z-index: 50;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.4rem;
}

.geo-autocomplete-item {
  padding: 0.65rem 0.85rem;
  border-radius: 0.55rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #1a2a24;
  transition: background 0.15s ease;
}

.geo-autocomplete-item:hover {
  background: #f5efe6;
}

.geo-coords-badge {
  font-size: 0.72rem;
  color: #799088;
  font-family: monospace;
}

/* Advanced Options */
.kundli-advanced-toggle {
  background: none;
  border: none;
  padding: 0.4rem 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kundli-gold-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.kundli-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #3b5049;
  cursor: pointer;
  margin-bottom: 1rem;
}

.kundli-checkbox-row input[type="checkbox"] {
  accent-color: var(--kundli-gold);
  width: 1.05rem;
  height: 1.05rem;
}

/* Submit CTA */
.kundli-submit-btn {
  width: 100%;
  height: 3.4rem;
  border: none;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #c59a45 0%, #e6c875 50%, #9e7422 100%);
  color: #064233;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -6px rgba(197, 154, 69, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.kundli-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(197, 154, 69, 0.6);
  background: linear-gradient(135deg, #d4a954 0%, #fae29c 50%, #ad822e 100%);
}

.kundli-submit-btn:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.kundli-submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: btnShimmer 3s infinite;
}

@keyframes btnShimmer {
  0% {
    left: -100%;
  }

  25%,
  100% {
    left: 200%;
  }
}

/* Loading status banner */
.kundli-loading-banner {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: #fbf7ee;
  border: 1px solid rgba(197, 154, 69, 0.35);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: #6a5323;
}

.spinner-mandala {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(197, 154, 69, 0.25);
  border-top-color: var(--kundli-gold);
  border-radius: 50%;
  animation: spinMandala 1s linear infinite;
}

@keyframes spinMandala {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   RIGHT CARD: SAVED CHARTS / CELESTIAL VAULT
   -------------------------------------------------------------------------- */
.kundli-card--saved {
  display: flex;
  flex-direction: column;
}

.saved-vault-empty {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.vault-lock-orb {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: radial-gradient(circle, #f9f2e3 0%, #f0e4ca 100%);
  border: 1px solid var(--kundli-gold);
  box-shadow: 0 8px 20px -4px rgba(197, 154, 69, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--kundli-gold-dark);
}

.saved-vault-empty h3 {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kundli-ink);
  margin: 0 0 0.5rem;
}

.saved-vault-empty p {
  font-size: 0.88rem;
  color: #6a8279;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.vault-perks-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vault-perks-list li {
  font-size: 0.82rem;
  color: #3b5049;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vault-login-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid var(--kundli-gold);
  border-radius: 0.85rem;
  color: var(--kundli-gold-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vault-login-btn:hover {
  background: var(--kundli-gold);
  color: #ffffff;
}

/* Recent session charts list */
.recent-charts-section {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(197, 154, 69, 0.25);
}

.recent-charts-heading {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b9d97;
  margin-bottom: 0.75rem;
}

.recent-chart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e7ecea;
  margin-bottom: 0.55rem;
  transition: all 0.2s ease;
}

.recent-chart-item:hover {
  border-color: var(--kundli-gold);
  background: #fdfbf7;
}

.recent-chart-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--kundli-ink);
}

.recent-chart-meta span {
  font-size: 0.75rem;
  color: #6a8279;
}

.recent-chart-action {
  background: rgba(197, 154, 69, 0.12);
  border: none;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--kundli-gold-dark);
  cursor: pointer;
  transition: background 0.15s ease;
}

.recent-chart-action:hover {
  background: var(--kundli-gold);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   RESULTS SECTION: CELESTIAL BLUEPRINT
   -------------------------------------------------------------------------- */
.kundli-result-wrapper {
  margin-top: 3.5rem;
  animation: fadeInResult 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInResult {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kundli-result-header {
  background: linear-gradient(135deg, #064233 0%, #0d5c47 100%);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2.2rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(6, 66, 51, 0.3);
}

.kundli-result-header::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(230, 200, 117, 0.2), transparent 70%);
  pointer-events: none;
}

.result-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.result-prov-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(230, 200, 117, 0.18);
  border: 1px solid rgba(230, 200, 117, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6c875;
}

.kundli-result-header h3 {
  margin: 0 0 0.35rem;
  font-family: Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
}

.result-header-meta {
  font-size: 0.92rem;
  color: #c9e2d9;
}

/* Metric Badges Grid */
.kundli-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  padding: 1.6rem;
  background: #ffffff;
  border: 1px solid var(--kundli-border);
  border-top: none;
  box-shadow: 0 12px 24px -8px rgba(6, 66, 51, 0.06);
}

.metric-pill-card {
  background: #fdfbf7;
  border: 1px solid rgba(197, 154, 69, 0.25);
  border-radius: 1rem;
  padding: 1rem 0.85rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-pill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px -4px rgba(197, 154, 69, 0.22);
}

.metric-pill-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b6e35;
  margin-bottom: 0.35rem;
}

.metric-pill-value {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kundli-ink);
}

.metric-pill-sub {
  display: block;
  font-size: 0.72rem;
  color: #799088;
  margin-top: 0.15rem;
}

/* North Indian Chart Component Styles */
.vedic-chart-wrapper {
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid var(--kundli-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 30px -10px rgba(6, 66, 51, 0.08);
}

.vedic-chart-container {
  max-width: 520px;
  margin: 0 auto;
}

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

.chart-sign-num {
  fill: #8b6e35;
  font-size: 14px;
  font-weight: bold;
  text-anchor: middle;
}

.chart-house-label {
  fill: #8b9d97;
  font-size: 10px;
  text-anchor: middle;
}

.chart-planet {
  fill: #064233;
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
}

.chart-planet.is-retro {
  fill: #e74660;
  font-weight: bold;
}

.vedic-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: #6a8279;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.legend-lagna {
  background: #c59a45;
}

.legend-kendra {
  background: #064233;
}

.legend-trikona {
  background: #e74660;
}

/* Tabs for In-depth Reading */
.result-tabs-container {
  background: #ffffff;
  border: 1px solid var(--kundli-border);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 2rem 2.2rem;
  box-shadow: 0 16px 36px -12px rgba(6, 66, 51, 0.08);
}

.result-tabs-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(197, 154, 69, 0.2);
  margin-bottom: 1.8rem;
  scrollbar-width: none;
}

.result-tabs-nav::-webkit-scrollbar {
  display: none;
}

.result-tab-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 0.75rem;
  background: none;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: #607971;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.result-tab-btn:hover {
  background: #f7f3ec;
  color: var(--kundli-ink);
}

.result-tab-btn.is-active {
  background: #064233;
  color: #ffffff;
  border-color: #064233;
}

.result-tab-content {
  line-height: 1.75;
  color: #2b3d36;
}

.result-tab-content h4 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--kundli-ink);
  margin: 0 0 1rem;
}

.result-tab-content p {
  font-size: 0.98rem;
  margin: 0 0 1.25rem;
}

.remedies-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.remedies-list li {
  background: #fdfbf7;
  border: 1px solid rgba(197, 154, 69, 0.28);
  border-left: 4px solid var(--kundli-gold);
  border-radius: 0.65rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.94rem;
  color: #2b3d36;
}

/* Action Buttons Bar */
.result-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 154, 69, 0.2);
}

.action-btn-primary {
  flex: 1;
  min-width: 220px;
  height: 3.2rem;
  background: linear-gradient(135deg, #064233 0%, #0d5c47 100%);
  color: #ffffff;
  border: none;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(6, 66, 51, 0.25);
  transition: all 0.2s ease;
}

.action-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 66, 51, 0.35);
}

.action-btn-secondary {
  flex: 1;
  min-width: 200px;
  height: 3.2rem;
  background: #ffffff;
  color: var(--kundli-gold-dark);
  border: 1.5px solid var(--kundli-gold);
  border-radius: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn-secondary:hover {
  background: #fdfbf7;
  border-color: var(--kundli-gold-dark);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .kundli-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kundli-card {
    padding: 1.5rem 1.25rem;
  }

  .kundli-row {
    grid-template-columns: 1fr;
  }

  .kundli-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-tabs-container {
    padding: 1.4rem 1.25rem;
  }
}
