/* ==========================================================================
   Astrology AI Light Theme - Complete Responsive Design System (Mobile & Desktop)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Philosopher:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Warm Ivory & Saffron-Gold Light Theme Palette */
  --bg-main: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FFFDF9;
  --bg-card-hover: #FDFBF7;
  --bg-accent: #FEF3C7;
  --bg-accent-soft: #FFFBEB;
  
  --primary: #D97706;        /* Warm Amber Saffron */
  --primary-dark: #B45309;   /* Deep Saffron */
  --primary-light: #F59E0B;  /* Golden Amber */
  --primary-soft: #FDE68A;   /* Soft Gold */
  --primary-gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #B45309 100%);
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --accent-purple: #7C3AED;
  --accent-blue: #2563EB;
  --accent-green: #059669;

  --text-main: #1E293B;      /* Deep Slate Navy */
  --text-muted: #64748B;     /* Slate Muted */
  --text-light: #94A3B8;     /* Light Muted */
  --text-gold: #B45309;      /* Gold Text */

  --border-subtle: #E2E8F0;
  --border-gold: #FDE68A;
  --border-gold-strong: #F59E0B;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(217, 119, 6, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-gold: 0 10px 30px -5px rgba(217, 119, 6, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-hindi: 'Philosopher', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(217, 119, 6, 0.04) 0%, transparent 40%);
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Typography */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-serif);
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   NAVBAR (RESPONSIVE)
   ========================================================================== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  font-family: var(--font-serif);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop Navigation Links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-link-btn {
  background: #FFF;
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nav-link-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

/* Panchang Ticker Pill */
.panchang-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--primary-dark);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.panchang-pill:hover {
  background: var(--bg-accent);
}

/* Profile Switcher Pill */
.profile-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF;
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.profile-switcher-btn:hover {
  border-color: var(--primary-light);
}

/* Mobile Overflow Menu Dropdown */
.dropdown-mobile-container {
  position: relative;
  display: none;
}

.btn-mobile-menu {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #334155;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-mobile-menu:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.dropdown-mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}

.dropdown-mobile-menu.active {
  display: flex;
  animation: fadeInDown 0.2s ease-out;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: #F8FAFC;
  color: var(--primary-dark);
}

.dropdown-item.text-danger {
  color: #DC2626;
}

.dropdown-item.text-danger:hover {
  background: #FEF2F2;
}

.dropdown-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0.25rem 0;
}

.truncate-mobile {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-badge {
  width: 24px;
  height: 24px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Token Badge */
.token-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFBEB;
  border: 1px solid var(--border-gold-strong);
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

.token-pulse {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

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

.btn-recharge, .btn-primary-sm {
  background: var(--primary-gradient);
  color: #FFF;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-recharge:hover, .btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

/* Small Sleek Unified Navbar Token & Recharge Button (Combined in 1 Button) */
.btn-unified-recharge-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFDF9;
  border: 1.5px solid #F59E0B;
  border-radius: var(--radius-full);
  padding: 0.24rem 0.55rem 0.24rem 0.68rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-unified-recharge-sm:hover {
  transform: translateY(-1px);
  border-color: #D97706;
  background: #FFFBEB;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.token-pulse-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

.unified-token-num {
  font-weight: 800;
  color: #1E293B;
  font-size: 0.78rem;
  letter-spacing: -0.1px;
}

.unified-recharge-badge {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.58rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
  transition: all 0.2s ease;
}

.btn-unified-recharge-sm:hover .unified-recharge-badge {
  background: linear-gradient(135deg, #B45309 0%, #C2410C 100%);
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.35);
}

.btn-add-person-nav {
  background: var(--bg-accent-soft);
  color: var(--primary-dark);
  border: 1px dashed var(--primary);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-add-person-nav:hover {
  background: var(--bg-accent);
  border-style: solid;
}

.btn-logout, .btn-logout-sm {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-logout:hover, .btn-logout-sm:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.token-badge-pill {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

/* Mobile Subnav Strip */
.mobile-subnav-strip {
  display: none;
  background: #FFFDF9;
  border-top: 1px solid #F1F5F9;
  padding: 0.4rem 0.75rem;
  overflow-x: auto;
  gap: 0.5rem;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.mobile-subnav-pill {
  background: #FFF;
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   HOMEPAGE STYLING
   ========================================================================== */
.home-hero-section {
  padding: 3rem 1.25rem 2rem 1.25rem;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-accent);
  border: 1px solid var(--border-gold-strong);
  color: var(--primary-dark);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-main-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.hero-main-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: var(--primary-gradient);
  color: #FFF;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
  transition: all 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.badge-free {
  background: #FFF;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.btn-hero-secondary {
  background: #FFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-serif);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* Hero Quick Form Card */
.hero-preview-box {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-preview-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.preview-badge {
  display: inline-block;
  background: var(--bg-accent-soft);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.preview-card-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.preview-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* Section Containers */
.section-container {
  margin-top: 3.5rem;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Panchang Grid */
.panchang-grid-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.panchang-stat-box {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.panchang-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.p-icon {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.p-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.p-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.panchang-stat-box.alert-box {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.panchang-stat-box.success-box {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

/* ==========================================================================
   COSMIC GUIDANCE & PLANETARY WEATHER WIDGET (GEMINI AI)
   ========================================================================== */
.cosmic-guidance-card {
  background: linear-gradient(135deg, #FFFDF9 0%, #FFFBEB 50%, #FEF3C7 100%);
  border: 1.5px solid #FCD34D;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.cosmic-guidance-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cosmic-guidance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cosmic-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.25);
}

.cosmic-energy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  color: #92400E;
  border: 1px solid #FDE68A;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.32rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cosmic-headline-box {
  margin-bottom: 1.25rem;
}

.cosmic-main-headline {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.cosmic-weather-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.cosmic-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cosmic-stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.cosmic-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
  background: #FFFFFF;
}

.cosmic-stat-card .c-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.cosmic-stat-card .c-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.25rem;
}

.cosmic-stat-card .c-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.45;
}

.cosmic-favored-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}

.fav-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #92400E;
}

.fav-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fav-tag {
  background: #FFFFFF;
  border: 1px solid #F59E0B;
  color: #B45309;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.1);
}

/* ==========================================================================
   12 ZODIAC SIGNS (DYNAMIC GEMINI AI RASHIFAL)
   ========================================================================== */
.horoscope-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.horoscope-filter-group .filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.horoscope-filter-group .filter-btn:hover {
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #B45309;
}

.horoscope-filter-group .filter-btn.active {
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
  color: #FFFFFF;
  border-color: #1E293B;
  box-shadow: 0 2px 6px rgba(30, 41, 59, 0.25);
}

.zodiac-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.zodiac-card-dynamic {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.zodiac-card-dynamic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F59E0B, #D97706);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.zodiac-card-dynamic:hover {
  transform: translateY(-4px);
  border-color: #FCD34D;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.12);
}

.zodiac-card-dynamic:hover::before {
  opacity: 1;
}

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

.zodiac-symbol-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B45309;
}

.zodiac-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.zodiac-elem-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.zodiac-elem-tag.elem-fire {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.zodiac-elem-tag.elem-earth {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.zodiac-elem-tag.elem-air {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.zodiac-elem-tag.elem-water {
  background: #ECFEFF;
  color: #0891B2;
  border: 1px solid #A5F3FC;
}

.zodiac-score-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: #B45309;
  background: #FFFBEB;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid #FDE68A;
}

.zodiac-title-wrap {
  margin-bottom: 0.45rem;
}

.zodiac-title-wrap .z-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 0.15rem 0;
  line-height: 1.3;
}

.zodiac-title-wrap .z-en {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748B;
}

.zodiac-title-wrap .z-lord {
  font-size: 0.76rem;
  color: #94A3B8;
}

.zodiac-title-wrap .z-lord strong {
  color: #B45309;
}

.z-headline-text {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.z-micro-stats {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.z-stat-pill {
  font-size: 0.68rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.z-stat-pill strong {
  color: #1E293B;
}

.z-card-action {
  font-size: 0.78rem;
  font-weight: 800;
  color: #D97706;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}

.zodiac-card-dynamic:hover .z-card-action {
  transform: translateX(3px);
  color: #B45309;
}

/* ==========================================================================
   INTERACTIVE HOROSCOPE MODAL (GEMINI AI DETAIL VIEW)
   ========================================================================== */
.horoscope-modal-card {
  max-width: 680px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1.5px solid #FCD34D;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.hm-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #F1F5F9;
}

.hm-symbol-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B45309;
  flex-shrink: 0;
}

.hm-date-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #B45309;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.hm-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}

.hm-meta {
  font-size: 0.82rem;
  color: #64748B;
}

.hm-headline-box {
  background: #FFFDF9;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.hm-rating-star {
  font-size: 0.82rem;
  font-weight: 800;
  color: #D97706;
  margin-bottom: 0.35rem;
}

.hm-headline-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
}

.hm-summary-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.hm-scores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hm-score-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.hm-score-lbl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #64748B;
  margin-bottom: 0.4rem;
}

.hm-score-lbl strong {
  color: #1E293B;
  font-size: 0.85rem;
}

.hm-progress-bar {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.hm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #D97706);
  border-radius: 10px;
  transition: width 0.6s ease;
}

.hm-progress-fill.fill-love {
  background: linear-gradient(90deg, #F43F5E, #E11D48);
}

.hm-progress-fill.fill-health {
  background: linear-gradient(90deg, #10B981, #059669);
}

.hm-spheres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hm-sphere-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.hm-s-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.35rem;
}

.hm-s-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.45;
}

.hm-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hm-matrix-item {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  text-align: center;
}

.hm-matrix-item .m-lbl {
  display: block;
  font-size: 0.68rem;
  color: #92400E;
  margin-bottom: 0.2rem;
}

.hm-matrix-item .m-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E293B;
}

.hm-remedy-box {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
  border: 1.5px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hm-remedy-box .hm-r-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hm-remedy-box strong {
  font-size: 0.85rem;
  color: #B45309;
  display: block;
  margin-bottom: 0.2rem;
}

.hm-remedy-box p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

.hm-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .zodiac-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cosmic-insights-grid {
    grid-template-columns: 1fr;
  }
  .hm-spheres-grid {
    grid-template-columns: 1fr;
  }
  .hm-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .zodiac-cards-grid {
    grid-template-columns: 1fr;
  }
  .hm-scores-grid {
    grid-template-columns: 1fr;
  }
  .hm-cta-row {
    flex-direction: column;
  }
  .hm-cta-row .btn-wizard, .hm-cta-row button {
    width: 100%;
  }
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: #FFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
}

.faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   DEDICATED CHAT PAGE WORKSPACE (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */
.chat-main-container {
  max-width: 1440px;
  margin: 0.75rem auto 1rem auto;
  padding: 0 1.25rem;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Desktop Split Layout (Side-by-Side Viewport Fitted) */
.workspace-desktop-split {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 1.25rem;
  height: calc(100vh - 90px);
  min-height: 600px;
  width: 100%;
}

/* Kundli Left Panel */
.kundli-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.active-profile-card {
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.profile-details-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.profile-details-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-switch-kundli {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #FFF;
  border: 1px solid var(--border-gold-strong);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}

.btn-switch-kundli:hover {
  background: var(--primary);
  color: #FFF;
}

.kundli-chart-wrapper {
  background: #FFFDF9;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.chart-tabs {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.chart-tab-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: #FFF;
  cursor: pointer;
}

.chart-tab-btn.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.svg-chart-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kundli-svg {
  width: 100%;
  max-width: 330px;
  height: auto;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

.vedic-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.stat-item {
  background: #FAF8F5;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.05rem;
}

.planet-table-card {
  background: #FFFDF9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.65rem;
}

.table-responsive-wrapper {
  overflow-x: auto;
}

.planet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.planet-table th {
  background: #F8FAFC;
  padding: 0.35rem 0.45rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.planet-table td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid #F1F5F9;
}

/* Chat Right Panel */
.chat-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.chat-header {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFDF9;
  gap: 0.65rem;
  flex-shrink: 0;
}

.astrologer-avatar-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.astrologer-pic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  flex-shrink: 0;
}

.astrologer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.astrologer-status {
  font-size: 0.72rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.prompt-file-indicator {
  font-size: 0.7rem;
  color: #D97706;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-file-indicator code {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 600;
  color: #B45309;
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  padding: 1.15rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #FCFAF7;
}

.message-bubble-wrapper {
  display: flex;
  gap: 0.6rem;
  max-width: 88%;
}

.message-bubble-wrapper.user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.msg-avatar.ai {
  background: var(--primary-gradient);
  color: #fff;
}

.msg-avatar.user {
  background: #3B82F6;
  color: #fff;
}

.message-bubble {
  padding: 0.75rem 1.05rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
  word-break: break-word;
}

.message-bubble.ai {
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  border-top-left-radius: 3px;
}

.message-bubble.user {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-top-right-radius: 3px;
}

.message-bubble.ai h3, .message-bubble.ai h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin: 0.5rem 0 0.25rem 0;
  font-weight: 700;
}

.message-bubble.ai ul, .message-bubble.ai ol {
  padding-left: 1.15rem;
  margin: 0.35rem 0;
}

.message-bubble.ai li {
  margin-bottom: 0.25rem;
}

.msg-time {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-align: right;
}

.message-bubble.user .msg-time {
  color: rgba(255, 255, 255, 0.85);
}

/* Suggestion Chips */
.suggestion-chips-bar {
  padding: 0.55rem 0.85rem;
  background: #FFF;
  border-top: 1px solid var(--border-subtle);
  overflow-x: auto;
  display: flex;
  gap: 0.35rem;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}

.suggestion-chip {
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.suggestion-chip:hover, .suggestion-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Input Bar */
.chat-input-bar {
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.input-container-inner {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input-field {
  flex: 1;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: all 0.2s;
}

.chat-input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.btn-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-send:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   ONBOARDING WIZARD (RESPONSIVE)
   ========================================================================== */
.onboarding-card-wrapper {
  max-width: 620px;
  margin: 1.5rem auto;
  width: 100%;
}

.onboarding-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.onboarding-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.hero-banner-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.35rem;
}

.hero-banner-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 1.5rem auto;
}

/* Wizard Steps Compact Indicators */
.wizard-steps-compact {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.75rem;
  gap: 0.35rem;
  width: 100%;
}

.step-indicator-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.step-indicator-compact .step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.step-indicator-compact.active .step-number {
  background: var(--primary-gradient);
  color: #FFF;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.step-indicator-compact.completed .step-number {
  background: var(--accent-green);
  color: #FFF;
}

.step-indicator-compact .step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-indicator-compact.active .step-label {
  color: var(--primary-dark);
  font-weight: 700;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  max-width: 45px;
  margin-bottom: 1rem;
}

.step-pane {
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.step-pane.active {
  display: block;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-control-custom {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: #FFF;
  outline: none;
  transition: all 0.2s;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.gender-select-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gender-option {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  background: #FFF;
  transition: all 0.2s;
}

.gender-option.selected {
  border-color: var(--primary);
  background: var(--bg-accent-soft);
  color: var(--primary-dark);
}

.wizard-btn-row {
  display: flex;
  gap: 0.5rem;
}

.btn-wizard {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-wizard-primary {
  background: var(--primary-gradient);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
}

.btn-wizard.btn-back {
  width: auto;
  min-width: 90px;
  background: #F1F5F9;
  color: #475569;
}

.city-suggestions-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.token-promo-alert {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  color: #B45309;
}

/* Feature Cards Grid */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-box {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.pricing-card {
  background: #FFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 0.85rem;
  text-align: center;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
}

.pricing-card.popular {
  border-color: var(--primary);
  background: var(--bg-accent-soft);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.15);
}

.pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
}

.pack-tokens {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.3rem;
}

.pack-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.3rem 0;
}

.pack-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.25;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #F1F5F9;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Footer */
.footer-custom {
  margin-top: 3.5rem;
  background: #FFF;
  border-top: 1px solid var(--border-gold);
  padding: 1.75rem 1.25rem 1.15rem 1.25rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-light);
  max-width: 800px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Mobile Screens (< 1024px) */
@media (max-width: 1023px) {
  .nav-links-desktop {
    display: none;
  }
  .mobile-subnav-strip {
    display: flex;
  }
  
  .chat-main-container {
    padding: 0.5rem 0.75rem;
    margin: 0.5rem auto;
  }

  /* Split layout collapses to clean single container */
  .workspace-desktop-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  /* Mobile Tab Bar */
  .mobile-tab-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    background: #FFF;
    padding: 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-sm);
  }

  .mobile-tab-btn {
    padding: 0.55rem 0.85rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
  }

  .mobile-tab-btn.active {
    background: var(--primary-gradient);
    color: #FFF;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  }

  /* Toggle between Kundli and Chat panels on mobile */
  #workspaceKundliPanel {
    display: none;
  }
  #workspaceChatPanel {
    display: flex;
    height: calc(100vh - 170px);
    min-height: 480px;
  }

  .workspace-tab-kundli #workspaceKundliPanel {
    display: flex;
    height: auto;
  }
  .workspace-tab-kundli #workspaceChatPanel {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-main-title {
    font-size: 2.35rem;
  }
  .nav-links-desktop {
    display: none !important;
  }
  .dropdown-mobile-container {
    display: block !important;
  }
  .panchang-grid-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zodiac-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 767px) {
  .nav-container {
    padding: 0.35rem 0.5rem;
    height: 52px;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
  }
  .dropdown-mobile-container {
    display: block !important;
  }
  .nav-actions {
    flex-wrap: nowrap;
    gap: 0.25rem;
    flex-shrink: 0;
  }
  .brand-logo {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 0.98rem;
    line-height: 1;
  }
  .brand-sub {
    display: none !important;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    border-radius: 7px;
  }
  .profile-switcher-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.72rem;
    max-width: 85px;
    flex-shrink: 1;
  }
  .profile-switcher-btn .avatar-badge {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }
  .profile-switcher-btn .profile-name-text {
    max-width: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .token-badge {
    padding: 0.2rem 0.45rem;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .btn-recharge {
    padding: 0.2rem 0.45rem;
    font-size: 0.72rem;
    flex-shrink: 0;
  }
  .btn-mobile-menu {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }
  .truncate-mobile {
    max-width: 60px;
  }
  .hero-main-title {
    font-size: 1.85rem;
  }
  .panchang-grid-card {
    grid-template-columns: 1fr;
  }
  .zodiac-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .onboarding-card {
    padding: 1.35rem 1rem;
  }
  .hide-mobile {
    display: none !important;
  }
  .mobile-tab-bar {
    display: flex;
    flex-shrink: 0;
  }
  .chat-main-container {
    padding: 0 0.35rem;
    margin: 0;
    height: calc(100dvh - 56px);
    max-height: calc(100dvh - 56px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .workspace-desktop-split {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 0;
    gap: 0;
    overflow: hidden;
  }
  .kundli-panel {
    display: none;
    flex: 1;
    height: 100%;
    min-height: 0;
    border-radius: 14px;
    padding: 0.75rem;
    overflow-y: auto;
  }
  .chat-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
  }
  .chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.75rem 0.65rem;
    gap: 0.75rem;
  }
  .chat-header {
    padding: 0.55rem 0.75rem;
  }
  .chat-input-bar {
    padding: 0.45rem 0.65rem;
    background: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
  }
  .suggestion-chips-bar {
    padding: 0.35rem 0.5rem;
  }
  .message-bubble-wrapper {
    max-width: 96%;
  }
}

/* Mobile Segmented Tab Bar */
.mobile-tab-bar {
  display: none;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 3px;
  margin: 0.35rem 0 0.5rem 0;
  gap: 4px;
}

.mobile-tab-btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.mobile-tab-btn.active {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
}

/* Very Small Mobile Screens (< 480px) */
@media (max-width: 479px) {
  .hero-main-title {
    font-size: 1.65rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-metrics {
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
  }
  .metric-divider {
    display: none;
  }
  .zodiac-cards-grid {
    grid-template-columns: 1fr;
  }
  .hide-mobile-xs {
    display: none !important;
  }
  .profile-switcher-btn {
    max-width: 72px;
    padding: 0.18rem 0.35rem;
  }
  .profile-switcher-btn .profile-name-text {
    max-width: 38px;
  }
  .token-badge {
    padding: 0.18rem 0.4rem;
    font-size: 0.7rem;
  }
  .btn-mobile-menu {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .truncate-mobile {
    max-width: 80px;
  }
  .step-connector {
    max-width: 25px;
  }
  .premium-plan-card {
    padding: 1.5rem 1.15rem 1.25rem;
    border-radius: 16px;
  }
  .plan-price-main {
    font-size: 2.75rem;
  }
  .plan-cta-btn {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }
}

/* =========================================================================
   PREMIUM ULTRA-PROFESSIONAL PRICING CARD & MODAL STYLES
   ========================================================================= */
.premium-plan-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  box-shadow: 0 10px 30px -5px rgba(217, 119, 6, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2.25rem 2rem 1.85rem;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(217, 119, 6, 0.18), 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(217, 119, 6, 0.45);
}

.premium-plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #F59E0B, #EA580C, #D97706);
}

.plan-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FCD34D;
  color: #B45309;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

.plan-price-hero {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.25rem 0 0.4rem;
}

.plan-price-main {
  font-size: 3.5rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
}

.plan-price-unit {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 600;
}

.plan-rate-pill {
  display: inline-flex;
  align-items: center;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.plan-token-banner {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1px solid #FDBA74;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  color: #C2410C;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.plan-feature-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.15rem 0 1.65rem;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.45;
}

.plan-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-feature-text strong {
  color: #0F172A;
  font-weight: 700;
}

.plan-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
}

.plan-cta-btn:hover {
  background: linear-gradient(135deg, #B45309 0%, #C2410C 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
  color: #FFFFFF;
}

.plan-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 0.85rem;
}

.payment-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.payment-mini-tag {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ==========================================================================
   UNIVERSAL REUSABLE KUNDLI MODAL & SPLIT INPUT GRIDS (DOB & TOB)
   ========================================================================== */
.modal-wizard-card {
  max-width: 520px;
  width: 95%;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 25px 60px -15px rgba(217, 119, 6, 0.25);
  position: relative;
  overflow: visible;
}

.modal-wizard-header {
  margin-bottom: 1.25rem;
}

.intent-toggle-group {
  display: flex;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 1rem;
}

.intent-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  color: #78350F;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.intent-btn:hover {
  background: rgba(253, 230, 138, 0.4);
}

.intent-btn.active {
  background: #FFFFFF;
  color: #B45309;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.15);
}

.modal-wizard-title-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.25rem;
}

.modal-wizard-title-box h3 span {
  color: var(--primary);
}

.modal-wizard-title-box p {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 0;
}

/* 3-Column Split DOB & TOB Grid */
.dob-split-grid, .tob-split-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.split-input-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.split-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.split-input-box .form-control-custom {
  padding: 0.6rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* AM/PM Toggle Group */
.ampm-toggle-group {
  display: flex;
  height: 42px;
  background: #F1F5F9;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}

.ampm-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: #64748B;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ampm-btn.active {
  background: #D97706;
  color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.2);
}

.form-hint-text {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
}

.form-helper-note {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 0.5rem;
}

.hero-quick-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.hero-quick-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #FFFDF9;
  border: 1px solid #FEF3C7;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.hero-quick-feat-item .q-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-quick-feat-item strong {
  font-size: 0.88rem;
  color: #1E293B;
  display: block;
}

.hero-quick-feat-item p {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

/* 35-Page Kundli Showcase Banner on Homepage */
.report35-banner-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFF7ED 100%);
  border: 2px solid #FCD34D;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 35px -5px rgba(217, 119, 6, 0.15);
  position: relative;
  overflow: hidden;
}

.report35-badge {
  display: inline-block;
  background: #B45309;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.report35-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.report35-title span {
  color: #D97706;
}

.report35-desc {
  font-size: 1rem;
  color: #64748B;
  max-width: 760px;
  margin-bottom: 2rem;
}

.report35-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.r-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.05);
}

.r-feat-item .r-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: #FFFBEB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.r-feat-item strong {
  font-size: 0.95rem;
  color: #1E293B;
  display: block;
}

.r-feat-item p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0.2rem 0 0;
}

.report35-action-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-report35-cta {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3);
  transition: all 0.2s ease;
}

.btn-report35-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

.report35-note {
  font-size: 0.82rem;
  color: #78350F;
  font-weight: 600;
}

/* ==========================================================================
   35-PAGE KUNDLI REPORT TEMPLATE STYLES
   ========================================================================== */
.report-wrapper {
  max-width: 1080px;
  margin: 2rem auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.report-cover-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFF7ED 100%);
  border: 2px solid #FCD34D;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.1);
}

.report-cover-badge {
  display: inline-block;
  background: #B45309;
  color: #FFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.report-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1E293B;
  font-family: var(--font-serif);
  margin-bottom: 0.4rem;
}

.report-main-title span {
  color: #D97706;
}

.report-subtitle {
  font-size: 1.05rem;
  color: #64748B;
  margin-bottom: 1.75rem;
}

.report-native-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  padding: 1rem;
}

.native-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.n-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.n-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E293B;
}

.report-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.report-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 1rem;
}

.sec-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: #B45309;
  background: #FEF3C7;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.report-section-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.2rem;
}

.report-section-header p {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
}

.avakahada-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.av-box {
  background: #FFFDF9;
  border: 1px solid #FEF3C7;
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.av-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.av-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E293B;
}

.av-val.highlight {
  color: #B45309;
}

.charts-comparison-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.chart-report-card {
  background: #FFFDF9;
  border: 1px solid #FDE68A;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}

.chart-card-head {
  margin-bottom: 1rem;
}

.chart-card-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.2rem;
}

.chart-tag {
  font-size: 0.76rem;
  color: #64748B;
}

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

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.report-table th {
  background: #FEF3C7;
  color: #78350F;
  font-weight: 800;
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 2px solid #FDE68A;
}

.report-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
}

.house-badge {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.dignity-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
}

.dignity-badge.good {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.dasha-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.dasha-card {
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  padding: 1rem;
  background: #FFFFFF;
}

.dasha-card.active {
  border: 2px solid #F59E0B;
  background: #FFFBEB;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.dasha-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.dasha-card-top h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #1E293B;
}

.dasha-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #64748B;
  text-transform: uppercase;
}

.dasha-card.active .dasha-status-pill {
  background: #D97706;
  color: #FFFFFF;
}

.dasha-period-line {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.4rem;
}

.dasha-desc {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0;
}

.dosha-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.dosha-box {
  background: #FFFDF9;
  border: 1px solid #FDE68A;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dosha-box-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dosha-icon {
  font-size: 1.5rem;
}

.dosha-box-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.15rem;
}

.badge-safe {
  font-size: 0.7rem;
  font-weight: 700;
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.badge-active-dosha {
  font-size: 0.7rem;
  font-weight: 700;
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.dosha-box p {
  font-size: 0.82rem;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

.dosha-remedy-note {
  font-size: 0.78rem;
  background: #FEF3C7;
  color: #78350F;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.gemstones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gemstone-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.gem-icon {
  font-size: 2rem;
}

.gemstone-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
}

.gem-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #B45309;
}

.gemstone-card p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
}

.gem-spec {
  font-size: 0.74rem;
  font-weight: 600;
  background: #F8FAFC;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  color: #475569;
  margin-top: 0.5rem;
}

.predictions-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pred-item {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.pred-title {
  background: #FFFDF9;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
}

.pred-body {
  padding: 1.1rem 1.25rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
}

.report-footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-report-action {
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-report-action.print {
  background: #1E293B;
  color: #FFFFFF;
}

.btn-report-action.chat {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

/* ==========================================================================
   UNIFIED KUNDLI WORKSPACE: COLLAPSIBLE UPPER BANNER & SIDEBAR
   ========================================================================== */
.btn-pdf-nav {
  background: #1E293B;
  color: #FFFFFF;
  border: 1px solid #334155;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pdf-nav:hover {
  background: #0F172A;
  color: #FFFFFF;
}

.upper-kundli-banner-wrapper {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFF7ED 100%);
  border-bottom: 2px solid #FDE68A;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.08);
  transition: all 0.3s ease;
}

.upper-kundli-banner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  transition: all 0.3s ease;
}

.upper-banner-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge-mini-gold {
  background: #B45309;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.upper-native-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
  font-family: var(--font-serif);
}

.upper-native-title span {
  color: #D97706;
}

.upper-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-upper-action {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #FDE68A;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.btn-upper-action:hover {
  background: #FFFDF9;
  border-color: #D97706;
}

.btn-upper-action.primary {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
}

.btn-upper-action.primary:hover {
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.btn-collapse-toggle {
  background: #FEF3C7;
  color: #78350F;
  border: 1px solid #FDE68A;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.btn-collapse-toggle:hover {
  background: #FDE68A;
}

.upper-details-content {
  margin-top: 1rem;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  max-height: 400px;
  opacity: 1;
  overflow: hidden;
}

.upper-kundli-banner.collapsed .upper-details-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.upper-native-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.6rem;
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 0.75rem;
}

.u-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
  padding: 0.35rem;
  border-radius: 8px;
}

.u-stat-box.highlight {
  background: #FFFBEB;
}

.u-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.u-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1E293B;
}

.u-stat-box.highlight .u-val {
  color: #B45309;
}

/* Outer Workspace Layout */
.workspace-outer-container {
  max-width: 1440px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
  width: 100%;
}

.workspace-flex-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

/* Left Sidebar Profile */
.workspace-left-profile {
  width: 340px;
  flex-shrink: 0;
/* =========================================================================
   UNIVERSAL LEFT PROFILE SIDEBAR STYLING
   ========================================================================= */
.workspace-left-profile {
  width: 320px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: sticky;
  top: 85px;
}

.workspace-left-profile.collapsed {
  width: 72px;
  padding: 0.85rem 0.5rem;
}

.workspace-left-profile.collapsed .sidebar-user-meta,
.workspace-left-profile.collapsed .sidebar-active-profile-card,
.workspace-left-profile.collapsed .sidebar-profiles-manager,
.workspace-left-profile.collapsed .btn-add-another-dob span:not(.btn-icon),
.workspace-left-profile.collapsed .sidebar-token-status-card {
  display: none !important;
}

.workspace-left-profile.collapsed .sidebar-header-row {
  justify-content: center;
  border-bottom: none;
  padding-bottom: 0;
}

.workspace-left-profile.collapsed .sidebar-avatar-circle {
  margin: 0 auto;
}

.workspace-left-profile.collapsed .btn-sidebar-collapse {
  position: absolute;
  top: 10px;
  right: -14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: #D97706;
  color: #FFF;
  border-color: #D97706;
}

.workspace-left-profile.collapsed .collapse-icon {
  transform: rotate(180deg);
}

/* Sidebar Top Header Row */
.sidebar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid #F8FAFC;
  gap: 0.5rem;
}

.sidebar-user-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.sidebar-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  flex-shrink: 0;
}

.sidebar-user-meta {
  min-width: 0;
}

.sidebar-user-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
  line-height: 1.2;
}

.sidebar-relation-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #B45309;
  background: #FFFBEB;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.2rem;
  border: 1px solid #FEF3C7;
}

.btn-sidebar-collapse {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-sidebar-collapse:hover {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FDE68A;
}

.collapse-icon {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

/* Active Profile Card (Royal Golden Framed) */
.sidebar-active-profile-card {
  background: linear-gradient(135deg, #FFFDF9 0%, #FEFCE8 100%);
  border: 1.5px solid #FDE68A;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.active-profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed #FCD34D;
}

.active-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #15803D;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.active-asc-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #92400E;
  background: #FEF3C7;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #FDE68A;
}

.profile-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.p-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 0.5rem;
}

.p-row-label {
  color: #64748B;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.p-icon {
  font-size: 0.9rem;
}

.p-row-value {
  color: #1E293B;
  font-weight: 700;
  text-align: right;
}

.p-relation-badge {
  background: #FEF3C7;
  color: #B45309;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.72rem;
  border: 1px solid #FDE68A;
}

.p-row-highlight {
  background: #FFFBEB;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #FEF3C7;
}

.text-gold-bold {
  color: #B45309 !important;
  font-weight: 800 !important;
}

.btn-sidebar-download-pdf {
  background: #1E293B;
  color: #FFFFFF !important;
  border: 1px solid #334155;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
}

.btn-sidebar-download-pdf:hover {
  background: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.3);
}

/* Saved Profiles / Multi-Profile Manager */
.sidebar-profiles-manager {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profiles-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.25rem;
}

.manager-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: #1E293B;
}

.manager-icon {
  font-size: 1.05rem;
}

.profiles-count-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #E2E8F0;
  color: #334155;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
}

.saved-profiles-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 2px;
}

.saved-profile-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.65rem;
}

.saved-profile-card-item:hover {
  border-color: #F59E0B;
  background: #FFFDF9;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.1);
}

.saved-profile-card-item.active {
  border-color: #D97706;
  background: linear-gradient(135deg, #FFFDF7 0%, #FEFCE8 100%);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.14);
}

.prof-left-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.prof-item-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #F1F5F9;
  color: #475569;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  border: 1px solid #E2E8F0;
}

.prof-item-avatar.active-avatar {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.prof-item-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.prof-item-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
}

.prof-item-rel {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 600;
}

.prof-right-action {
  flex-shrink: 0;
}

.badge-active-pill {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.1);
}

.check-icon {
  font-size: 0.75rem;
  font-weight: 900;
}

.btn-switch-pill {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.saved-profile-card-item:hover .btn-switch-pill {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

/* Add Another Person CTA Button */
.btn-add-another-dob {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #B45309;
  border: 1.5px dashed #F59E0B;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.06);
  width: 100%;
}

.btn-add-another-dob:hover {
  background: #FEF3C7;
  border-color: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.15);
}

.btn-icon {
  font-size: 1.1rem;
  font-weight: 900;
}

/* Sidebar Token Status Card (Royal Indigo Gradient) */
.sidebar-token-status-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  border: 1.5px solid #4338CA;
  box-shadow: 0 6px 20px rgba(30, 27, 75, 0.2);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.token-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.token-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #E0E7FF;
}

.token-icon {
  font-size: 0.95rem;
}

.token-count-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
}

.token-count-badge.has-tokens {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.token-count-badge.zero-tokens {
  background: #F59E0B;
  color: #1E1B4B;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.btn-sidebar-recharge {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF !important;
  border: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-sidebar-recharge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

/* Main Workspace Content Area */
.workspace-main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.workspace-page-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 20px;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  gap: 1rem;
  flex-wrap: nowrap;
}

.page-title-badge-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.page-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #FDE68A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}

.page-main-heading {
  font-size: 1.22rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 0.2rem 0;
  font-family: 'Cinzel', serif;
  letter-spacing: -0.2px;
}

.page-sub-heading {
  font-size: 0.84rem;
  color: #64748B;
  margin: 0;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-goto-chat {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
  transition: all 0.25s ease;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}

.btn-goto-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

.btn-goto-report {
  background: #1E293B;
  color: #FFFFFF !important;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.25s ease;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}

.btn-goto-report:hover {
  background: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}

.btn-w-print {
  background: #1E293B;
  color: #FFFFFF !important;
  border: none;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.25s ease;
}

.btn-w-print:hover {
  background: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}

.btn-w-recharge {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF !important;
  border: none;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
  transition: all 0.25s ease;
}

.btn-w-recharge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

.workspace-pane {
  display: none;
}

.workspace-pane.active {
  display: block;
}

/* =========================================================================
   EMBEDDED CHAT CARD & CONSULTATION INTERFACE
   ========================================================================= */
.embedded-chat-card {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

.embedded-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  background: linear-gradient(135deg, #FFFDF9 0%, #FEFCE8 100%);
  border-bottom: 1.5px solid #FDE68A;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  flex-shrink: 0;
}

.token-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #B45309;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.token-status-pill:hover {
  transform: translateY(-1px);
  border-color: #D97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.16);
}

.token-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

/* Chat Messages Scroll Container */
.embedded-chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #FAFAF8;
  min-height: 380px;
}

.message-bubble-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 88%;
}

.message-bubble-wrapper.ai {
  align-self: flex-start;
}

.message-bubble-wrapper.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.msg-avatar.ai {
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.msg-avatar.user {
  background: #1E293B;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.message-bubble {
  padding: 1.15rem 1.35rem;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.75;
  position: relative;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.message-bubble.ai {
  background: #FFFFFF;
  color: #1E293B;
  border: 1.5px solid #FEF3C7;
  border-top-left-radius: 4px;
}

.message-bubble.user {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: #FFFFFF;
  border-top-right-radius: 4px;
}

.message-bubble p {
  margin-bottom: 0.75rem;
}

.message-bubble p:last-child {
  margin-bottom: 0;
}

.msg-time {
  font-size: 0.72rem;
  margin-top: 0.55rem;
  font-weight: 600;
  text-align: right;
  opacity: 0.75;
}

/* Gemini Suggestion Chips */
.suggestion-chips-wrapper {
  padding: 0.85rem 1.25rem;
  background: #FFFDF9;
  border-top: 1.5px solid #FEF3C7;
}

.suggestion-chips-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
}

.suggestion-chip {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  color: #1E293B;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.05);
}

.suggestion-chip:hover {
  background: #FFFBEB;
  border-color: #D97706;
  color: #B45309;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.12);
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 1.15rem 1.5rem;
  background: #FFFFFF;
  border-top: 1.5px solid #F1F5F9;
}

.input-container-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 0.45rem 0.55rem 0.45rem 1.25rem;
  transition: all 0.25s ease;
}

.input-container-inner:focus-within {
  border-color: #D97706;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.chat-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.94rem;
  color: #1E293B;
  outline: none;
  padding: 0.5rem 0;
}

.btn-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  flex-shrink: 0;
}

.btn-send:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

.charts-comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .charts-comparison-row {
    grid-template-columns: 1fr;
  }
}

.chart-report-card {
  background: #FFFDF9;
  border: 1px solid #FDE68A;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid #FEF3C7;
  padding-bottom: 0.75rem;
}

.chart-card-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}

.chart-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: #B45309;
}

.chart-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.chart-svg-wrap svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* =========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE SYSTEM
   ========================================================================= */

/* Desktop / Mobile Visibility Utility Classes */
.hide-desktop {
  display: none !important;
}

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-sidebar-mobile-toggle {
  background: #FFFBEB;
  color: #B45309;
  border: 1.5px solid #FDE68A;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.08);
}

.btn-sidebar-mobile-toggle:hover {
  background: #FEF3C7;
  border-color: #D97706;
}

.mobile-toggle-icon {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.sidebar-collapsible-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: all 0.3s ease;
}

/* Tablet & Mobile Media Queries (< 992px) */
@media (max-width: 991.98px) {
  /* Visibility Toggles */
  .hide-mobile,
  .hide-desktop-nav {
    display: none !important;
  }
  .hide-desktop {
    display: inline-flex !important;
  }
  .dropdown-mobile-container {
    display: block !important;
  }

  /* Navbar Adjustments */
  .nav-container {
    padding: 0.5rem 0.85rem;
    gap: 0.4rem;
  }
  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .profile-switcher-btn {
    padding: 0.22rem 0.5rem;
    font-size: 0.76rem;
    gap: 0.3rem;
  }
  .profile-name-text {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .avatar-badge {
    width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }
  .btn-unified-recharge-sm {
    padding: 0.2rem 0.45rem 0.2rem 0.55rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }
  .unified-token-num {
    font-size: 0.72rem;
  }
  .unified-recharge-badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
  }
  .btn-mobile-menu {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  /* Upper Profile / Kundli Banner */
  .upper-kundli-banner {
    padding: 0.85rem 0.85rem;
  }
  .upper-banner-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .upper-native-title {
    font-size: 1.12rem;
  }
  .upper-banner-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .btn-upper-action {
    font-size: 0.76rem;
    padding: 0.35rem 0.7rem;
    flex: 1;
    text-align: center;
    justify-content: center;
    display: inline-flex;
  }
  .upper-native-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    padding: 0.6rem;
  }
  .u-stat-box {
    padding: 0.25rem 0.35rem;
  }
  .u-label {
    font-size: 0.62rem;
  }
  .u-val {
    font-size: 0.8rem;
  }

  /* Workspace Layout & Sidebar */
  .workspace-outer-container {
    padding: 0 0.65rem;
    margin: 0.75rem auto 2rem;
  }
  .workspace-flex-layout {
    flex-direction: column !important;
    gap: 1rem;
    width: 100%;
  }
  .workspace-left-profile {
    width: 100% !important;
    position: static !important;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .workspace-left-profile.mobile-collapsed .sidebar-collapsible-body {
    display: none !important;
  }
  .workspace-left-profile.mobile-collapsed .mobile-toggle-icon {
    transform: rotate(-90deg);
  }
  .sidebar-header-row {
    cursor: pointer;
    padding-bottom: 0;
    border-bottom: none;
  }
  .workspace-left-profile:not(.mobile-collapsed) .sidebar-header-row {
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #F8FAFC;
  }

  /* Page Header Bar & Actions */
  .workspace-page-header-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    gap: 0.75rem;
  }
  .page-title-badge-group {
    width: 100%;
    gap: 0.65rem;
  }
  .page-icon-badge {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    border-radius: 12px;
  }
  .page-main-heading {
    font-size: 1.05rem;
  }
  .page-sub-heading {
    font-size: 0.76rem;
  }
  .page-header-actions {
    width: 100%;
    gap: 0.4rem;
    flex-direction: column;
  }
  .btn-goto-report, .btn-goto-chat, .btn-w-print, .btn-w-recharge {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.55rem 0.85rem;
  }

  /* Embedded Chat Interface */
  .embedded-chat-card {
    min-height: 480px;
    border-radius: 16px;
  }
  .embedded-chat-header {
    padding: 0.75rem 1rem;
  }
  .embedded-chat-messages {
    padding: 0.75rem;
    gap: 0.85rem;
    min-height: 280px;
  }
  .message-bubble-wrapper {
    max-width: 96%;
    gap: 0.55rem;
  }
  .msg-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    border-radius: 9px;
  }
  .message-bubble {
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    line-height: 1.6;
    border-radius: 14px;
  }
  .suggestion-chips-wrapper {
    padding: 0.6rem 0.75rem;
  }
  .suggestion-chips-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0;
    gap: 0.45rem;
    scrollbar-width: none;
  }
  .suggestion-chips-bar::-webkit-scrollbar {
    display: none;
  }
  .suggestion-chip {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.38rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
  }
  .chat-input-bar {
    padding: 0.65rem 0.75rem;
  }
  .input-container-inner {
    padding: 0.3rem 0.35rem 0.3rem 0.75rem;
    border-radius: 14px;
    gap: 0.45rem;
  }
  .chat-input-field {
    font-size: 0.86rem;
    padding: 0.35rem 0;
  }
  .btn-send {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Kundli 50+ Page Report Responsive */
  .report-cover-strip {
    padding: 1.5rem 1rem !important;
    border-radius: 16px !important;
    margin-bottom: 1.25rem !important;
  }
  .report-cover-strip h1 {
    font-size: 1.45rem !important;
  }
  .report-cover-strip p {
    font-size: 0.84rem !important;
  }
  .report-section {
    padding: 1rem !important;
    border-radius: 16px !important;
    margin-bottom: 1.25rem !important;
  }
  .report-section-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .report-table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 0.75rem !important;
  }
  .report-table {
    min-width: 520px !important;
    font-size: 0.8rem !important;
  }
  .chart-svg-wrap svg {
    max-width: 260px !important;
  }
  .charts-comparison-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Small Smartphone Screen (< 576px) */
@media (max-width: 575.98px) {
  .brand-sub {
    display: none;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .profile-name-text {
    max-width: 55px;
  }
  .btn-unified-recharge-sm {
    padding: 0.18rem 0.35rem 0.18rem 0.45rem;
  }
  .unified-token-num {
    font-size: 0.68rem;
  }
  .unified-recharge-badge {
    font-size: 0.65rem;
    padding: 0.12rem 0.38rem;
  }
  .upper-native-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .upper-banner-actions {
    flex-direction: column;
  }
  .btn-upper-action {
    width: 100%;
  }

  /* Modal Form Controls on Small Phone */
  .modal-dialog-custom {
    max-width: calc(100% - 1rem) !important;
    margin: 0.5rem auto !important;
    padding: 1rem !important;
    border-radius: 16px !important;
  }
  .dob-split-grid, .tob-split-grid {
    grid-template-columns: 1fr 1.2fr 1fr !important;
    gap: 0.35rem !important;
  }
  .split-input-box {
    padding: 0.35rem 0.3rem !important;
  }
  .split-label {
    font-size: 0.62rem !important;
  }
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .gender-select-group {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 0.35rem !important;
  }
  .gender-option {
    padding: 0.4rem 0.25rem !important;
    font-size: 0.75rem !important;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

@media print {
  .no-print, .navbar-custom, .footer-custom, #kundliWizardModal, #rechargeModal, #panchangModal, .workspace-tabs-bar {
    display: none !important;
  }
  body {
    background: #FFF !important;
  }
  .workspace-outer-container, .report-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .workspace-flex-layout {
    display: block !important;
  }
  .workspace-left-profile {
    display: none !important;
  }
  .workspace-pane {
    display: block !important;
  }
  #workspacePaneChat {
    display: none !important;
  }
  .report-section {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #CCC !important;
    margin-bottom: 1.5rem !important;
  }
}


