@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Kuuthi.in - Yogas & Muhurat Astrologer Panels
   Design: Modern, Clean, Professional Light Executive Theme
   ========================================================================== */

/* --- Root Mount Points --- */
#kuthi-yogas-panel,
#kuthi-muhurat-panel {
  display: none;
  width: 100%;
  clear: both;
  box-sizing: border-box;
}

/* --- Global Panel Container --- */
.astro-panel-container {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

/* --- Panel Card Shell --- */
.astro-panel-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #dce5f2;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(53, 120, 229, 0.04);
  overflow: hidden;
  margin-bottom: 28px;
  transition: box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.astro-panel-card:hover {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(53, 120, 229, 0.06);
}

/* --- Panel Header (Clean Modern Light Theme) --- */
.astro-panel-header {
  background: #ffffff;
  color: #0f172a;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1.5px solid #e2e8f0;
  position: relative;
}

.astro-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.astro-panel-icon {
  font-size: 1.4rem;
  line-height: 1;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astro-panel-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.astro-panel-subtitle {
  margin: 3px 0 0 0;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.astro-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.astro-panel-badge strong {
  color: #2563eb;
  font-weight: 700;
}

.astro-panel-plan-corner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin-left: auto !important;
  gap: 3px !important;
  z-index: 2 !important;
}

.plan-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  user-select: none !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.plan-badge:hover {
  transform: translateY(-1px);
}

.astro-panel-upgrade-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.28) !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  margin-top: 2px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.astro-panel-upgrade-action-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.38) !important;
}

.astro-panel-upgrade-action-btn:active {
  transform: translateY(0) !important;
}

/* GRACE Plan Corner Badge (Emerald Botanical Gradient) */
.plan-badge-grace {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* PRO Plan Corner Badge (Sleek Royal Indigo Gradient) */
.plan-badge-pro {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #93c5fd !important;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* ULTRA Plan Corner Badge (Ultra-Luxury Violet-Gold Shimmer Gradient) */
.plan-badge-ultra {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #ea580c 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #f472b6 !important;
  box-shadow: 0 3px 14px rgba(192, 38, 211, 0.45) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  animation: ultraGlow 3s infinite alternate ease-in-out !important;
}

.plan-badge-sparkle {
  font-size: 0.85rem;
  line-height: 1;
}

@keyframes ultraGlow {
  0% {
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35);
  }

  100% {
    box-shadow: 0 4px 18px rgba(217, 70, 239, 0.55), 0 0 8px rgba(251, 146, 60, 0.4);
  }
}

/* ==========================================================================
   Muhurat Plan Upgrade & Purchase Cards (Astro Pro 1..4 / Pro 1..4)
   ========================================================================== */
.muhurat-plan-upgrade-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 16px 0;
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}

.muhurat-plan-upgrade-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.muhurat-plan-upgrade-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.muhurat-plan-upgrade-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.muhurat-plan-upgrade-title h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.01em;
}

.muhurat-plan-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #bae6fd;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.muhurat-plan-target-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.muhurat-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 1200px) {
  .muhurat-plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 600px) {
  .muhurat-plans-grid {
    grid-template-columns: 1fr;
  }
}

.muhurat-plan-card {
  background: rgba(30, 41, 59, 0.85);
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.muhurat-plan-card.is-free-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(34, 197, 94, 0.45);
}

.muhurat-plan-card.is-free-card .muhurat-plan-card-name {
  color: #4ade80;
}

.muhurat-plan-card.is-free-card .muhurat-plan-window-pill {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.muhurat-modal-card .muhurat-plan-card.is-free-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}

.muhurat-modal-card .muhurat-plan-card.is-free-card .muhurat-plan-card-name {
  color: #166534;
}

.muhurat-modal-card .muhurat-plan-card.is-free-card .muhurat-plan-card-tagline {
  color: #15803d;
}

.muhurat-modal-card .muhurat-plan-card.is-free-card .muhurat-plan-desc {
  color: #1e3a29;
}

.muhurat-modal-card .muhurat-plan-card.is-free-card .muhurat-plan-window-pill {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #14532d;
}

.muhurat-modal-card .muhurat-plan-card.is-free-card .muhurat-plan-range-dates {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.muhurat-plan-free-btn {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: default;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.muhurat-modal-card .muhurat-plan-free-btn {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.muhurat-plan-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.25);
}

.muhurat-plan-card.is-recommended {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3) !important;
}

.muhurat-plan-recommended-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
  white-space: nowrap;
}

.muhurat-plan-card-header {
  margin-bottom: 10px;
}

.muhurat-plan-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.muhurat-plan-card-tagline {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.muhurat-plan-window-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  margin: 8px 0;
}

.muhurat-plan-card.is-recommended .muhurat-plan-window-pill {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.muhurat-plan-pricing-pill {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 12px 0;
  flex-wrap: wrap;
}

.muhurat-price-actual {
  text-decoration: line-through !important;
  color: #94a3b8 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  opacity: 0.85;
}

.muhurat-price-num {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #22c55e !important;
  font-family: 'Outfit', sans-serif !important;
}

.muhurat-validity-tag {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.muhurat-price-free {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #22c55e !important;
  font-family: 'Outfit', sans-serif !important;
}

.muhurat-plan-desc {
  font-size: 0.76rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 12px;
}

.muhurat-plan-range-dates {
  font-size: 0.7rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}

.muhurat-plan-buy-btn {
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.muhurat-plan-buy-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.5);
}

.muhurat-plan-card.is-recommended .muhurat-plan-buy-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
}

.muhurat-plan-card.is-recommended .muhurat-plan-buy-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 5px 18px rgba(245, 158, 11, 0.65);
}

/* --- Filter & Action Toolbar --- */
.astro-panel-toolbar {
  background: #f8fafc;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.astro-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.astro-filter-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.astro-filter-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.astro-filter-tab.is-active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.astro-search-input {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.84rem;
  font-family: inherit;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  width: 220px;
  transition: all 0.2s ease;
}

.astro-search-input::placeholder {
  color: #94a3b8;
}

.astro-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   Yogas Grid & Foldable Modern Cards (Clean, Spacious Executive Layout)
   ========================================================================== */
.astro-yogas-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .astro-yogas-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }
}

.astro-yoga-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.astro-yoga-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.astro-yoga-card.is-unfolded {
  border-color: #93c5fd;
  box-shadow: 0 10px 26px -4px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

/* Subtle Left Accent Indicator */
.astro-yoga-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #cbd5e1;
  border-radius: 14px 0 0 14px;
  transition: width 0.2s ease, background 0.2s ease;
}

.astro-yoga-card.is-unfolded::before {
  width: 5px;
}

/* Color Accent Bars on Left Border */
.astro-yoga-card:has(.cat-raja)::before {
  background: #e11d48;
}

.astro-yoga-card:has(.cat-dhana)::before {
  background: #d97706;
}

.astro-yoga-card:has(.cat-mahapurusha)::before {
  background: #7c3aed;
}

.astro-yoga-card:has(.cat-chandra-surya)::before {
  background: #0284c7;
}

.astro-yoga-card:has(.cat-spiritual)::before {
  background: #059669;
}

/* Yoga Card Header (Always Visible) */
.astro-yoga-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.astro-yoga-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.astro-yoga-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.astro-yoga-cat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.4;
}

.cat-raja {
  background: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.cat-dhana {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.cat-mahapurusha {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.cat-chandra-surya {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

.cat-spiritual {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.cat-general {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.astro-yoga-active-dot {
  font-size: 0.7rem;
  color: #16a34a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.astro-yoga-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
  word-break: break-word;
}

.astro-yoga-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 6px;
}

.astro-yoga-circle-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.astro-yoga-card:hover .astro-yoga-circle-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.astro-yoga-card.is-unfolded .astro-yoga-circle-toggle {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.astro-yoga-chevron-svg {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.astro-yoga-card.is-unfolded .astro-yoga-chevron-svg {
  transform: rotate(180deg);
}

/* Foldable Body */
.astro-yoga-foldable-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.astro-yoga-card.is-unfolded .astro-yoga-foldable-body {
  max-height: 800px;
  opacity: 1;
}

.astro-yoga-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 14px 0 12px 0;
}

.astro-yoga-impact-text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 12px 0;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
}

.astro-yoga-impact-text.is-empty {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.82rem;
  background: transparent;
  border: 1px dashed #e2e8f0;
}

.astro-yoga-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  font-size: 0.76rem;
  color: #64748b;
}

.astro-yoga-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-weight: 600;
}

.astro-yoga-modal-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #2563eb;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.astro-yoga-modal-btn:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.astro-expand-all-btn {
  margin-left: auto;
}

/* ==========================================================================
   Muhurat Panel (Modern Ultra-Clean & Professional Theme)
   ========================================================================== */
.muhurat-body {
  padding: 24px 28px;
  background: #f8fafc;
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Astrologer Verified Account Card --- */
.muhurat-astro-account-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2), 0 4px 10px -2px rgba(15, 23, 42, 0.1);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.muhurat-astro-account-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}

.astro-acc-left {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.astro-acc-avatar {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.astro-acc-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.01em;
}

.astro-acc-email {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
}

.astro-acc-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}

.astro-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}

.astro-pill.live-pill {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.astro-pill .pill-lbl {
  color: #94a3b8;
  font-weight: 500;
}

.astro-pill .pill-val {
  color: #f8fafc;
}

.astro-pill .code-val {
  color: #38bdf8;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
}

.astro-pill .plan-val.pro {
  color: #fde047;
  font-weight: 800;
}

.astro-pill .plan-val.ultra {
  color: #c084fc;
  font-weight: 800;
}

.astro-pill .exp-val {
  color: #a7f3d0;
  font-weight: 700;
}

/* --- Interactive Date Picker & Calendar Toolbar --- */
.muhurat-calendar-toolbar {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.muhurat-cal-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.muhurat-cal-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.muhurat-cal-icon {
  font-size: 1.25rem;
}

.muhurat-cal-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
}

.muhurat-date-picker-input {
  padding: 7px 12px;
  border-radius: 9px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.muhurat-date-picker-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.muhurat-date-nav-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.muhurat-nav-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.muhurat-nav-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.muhurat-nav-btn.today-btn {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  font-weight: 700;
}

.muhurat-nav-btn.today-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.muhurat-cal-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.muhurat-active-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(22, 101, 52, 0.06);
}

.muhurat-active-date-pill strong {
  color: #14532d;
}

/* --- Mode Switcher (Segmented Control) --- */
.muhurat-mode-bar {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.muhurat-mode-tabs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}

.muhurat-mode-btn {
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.muhurat-mode-btn:hover {
  color: #0f172a;
}

.muhurat-mode-btn.is-active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  font-weight: 700;
}

/* --- Compact Coordinates Toolbar --- */
.muhurat-location-toolbar-compact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.muhurat-loc-inline-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #0369a1;
  font-weight: 700;
  white-space: nowrap;
}

.muhurat-loc-inline-inputs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.muhurat-mini-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mini-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0369a1;
}

.muhurat-mini-input {
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid #93c5fd;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
}

.muhurat-mini-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.muhurat-mini-input.place-input {
  width: 140px;
}

.muhurat-mini-input.num-input {
  width: 90px;
}

.muhurat-mini-btn {
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.muhurat-mini-btn.apply-mini-btn {
  background: #0284c7;
  color: #ffffff;
}

.muhurat-mini-btn.apply-mini-btn:hover {
  background: #0369a1;
  box-shadow: 0 2px 6px rgba(3, 105, 161, 0.25);
}

.muhurat-mini-btn.reset-mini-btn {
  background: #ffffff;
  color: #0369a1;
  border-color: #bae6fd;
}

.muhurat-mini-btn.reset-mini-btn:hover {
  background: #e0f2fe;
}

.muhurat-bengal-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
  border: 1.5px solid #f5d0fe;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  color: #86198f;
}

.muhurat-bengal-icon {
  font-size: 1.5rem;
}

.muhurat-bengal-banner strong {
  font-size: 0.9rem;
  color: #701a75;
}

.muhurat-bengal-banner p {
  font-size: 0.78rem;
  color: #a21caf;
  margin: 2px 0 0 0;
}

/* --- Solar Metrics & Durations Dashboard Card --- */
.muhurat-dual-summary-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.muhurat-dual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.duration-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.metric-box {
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.day-metric {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
}

.day-metric .metric-label {
  color: #b45309;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.day-metric .metric-value {
  color: #78350f;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.01em;
}

.night-metric {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1.5px solid #cbd5e1;
}

.night-metric .metric-label {
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.night-metric .metric-value {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.01em;
}

.metric-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 4px;
}

.metric-sub strong {
  color: #0f172a;
}

/* --- Section Titles --- */
.muhurat-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 14px 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* --- Active Date Solar Horizon & Day Navigation Single Row --- */
.muhurat-solar-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.muhurat-solar-times {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.solar-time-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.solar-time-chip.sunrise-chip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

.solar-time-chip.sunset-chip {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
}

.solar-time-chip .solar-value {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

.solar-date-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.solar-date-badge button.custom-datepicker-toggle-btn,
.muhurat-solar-nav-row button.custom-datepicker-toggle-btn,
.ashtama-date-nav-toolbar button.custom-datepicker-toggle-btn,
.muhurat-panchang-date-nav button.custom-datepicker-toggle-btn {
  display: none !important;
}

.solar-date-badge input.custom-datepicker-input,
.muhurat-solar-nav-row input.custom-datepicker-input,
.ashtama-date-nav-toolbar input.custom-datepicker-input,
.muhurat-panchang-date-nav input.custom-datepicker-input {
  padding-right: 6px !important;
  padding-left: 6px !important;
  text-align: center !important;
}

.solar-nav-btn {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.solar-nav-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* --- 3-Day Solar Horizon Deck (Legacy / Optional) --- */
.muhurat-3day-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.muhurat-3day-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.muhurat-3day-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.muhurat-3day-card.is-today {
  border-color: #2563eb;
  background: #fcfdfe;
  box-shadow: 0 0 0 1px #2563eb, 0 6px 18px rgba(37, 99, 235, 0.12);
}

.muhurat-3day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.muhurat-3day-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tag-prev {
  background: #f1f5f9;
  color: #64748b;
}

.tag-target {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}

.tag-next {
  background: #f1f5f9;
  color: #64748b;
}

.muhurat-3day-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

.muhurat-3day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.muhurat-3day-item {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 6px 10px;
}

.muhurat-3day-card.is-today .muhurat-3day-item {
  background: #ffffff;
  border-color: #e2e8f0;
}

.muhurat-3day-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.muhurat-3day-val {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   Major Vedic Inauspicious Periods & Avoidance Windows
   ========================================================================== */
.bela-alert-section {
  background: #fff8f8;
  border: 1.5px solid #fecaca;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.06);
}

.bela-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #fee2e2;
}

.bela-badge-alert {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.bela-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.bela-card {
  background: #ffffff;
  border: 1.5px solid #fca5a5;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bela-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.12);
}

.bela-card.rahu-kalam-card {
  border-color: #f87171;
  border-left: 5px solid #dc2626;
  background: #fffafa;
}

.bela-card.yamaghanta-card {
  border-color: #fb923c;
  border-left: 5px solid #ea580c;
  background: #fffaf5;
}

.bela-card.gulika-card {
  border-color: #818cf8;
  border-left: 5px solid #6366f1;
  background: #faf5ff;
}

.bela-card.durmuhurta-card {
  border-color: #f43f5e;
  border-left: 5px solid #e11d48;
  background: #fff1f2;
}

.bela-card.bar-bela-card {
  border-color: #fca5a5;
  border-left: 5px solid #ef4444;
}

.bela-card.kala-bela-card {
  border-color: #fed7aa;
  border-left: 5px solid #f97316;
}

.bela-card.kala-ratri-card {
  border-color: #e9d5ff;
  border-left: 5px solid #a855f7;
}

.bela-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bela-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
}

.bela-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}

.bela-tag.tag-rahu {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.bela-tag.tag-yama {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.bela-tag.tag-gulika {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.bela-tag.tag-durmuhurta {
  background: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.bela-tag.tag-bar {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.bela-tag.tag-kala {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.bela-tag.tag-ratri {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.bela-time-range {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 800;
  color: #7f1d1d;
  background: #fef2f2;
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  text-align: center;
  border: 1px dashed #f87171;
}

.bela-meta-info {
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 8px;
  text-align: center;
}

.bela-meta-info strong {
  color: #0f172a;
}

.bela-desc {
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.4;
  border-top: 1px solid #f1f5f9;
  padding-top: 6px;
}

.durmuhurta-slots-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.durmuhurta-slot-pill {
  background: #ffffff;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
}

.dm-slot-badge {
  font-weight: 800;
  color: #9f1239;
  font-size: 0.72rem;
}

.dm-slot-time {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
  color: #be123c;
}

.dm-slot-dur {
  color: #64748b;
  font-size: 0.72rem;
}

/* ==========================================================================
   15-Segment Classical Muhurta Sections
   ========================================================================== */
.segments-15-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.segment-box-container {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.segment-box-header {
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #e2e8f0;
}

.segment-box-header.day-header {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
  border-bottom-color: #fde68a;
}

.segment-box-header.night-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f172a;
  border-bottom-color: #e2e8f0;
}

.seg-count-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.segments-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.segment-item-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.segment-item-card:hover {
  transform: translateX(3px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.seg-part-badge {
  background: #f1f5f9;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  font-size: 0.85rem;
  font-weight: 800;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-top: 2px;
}

.seg-content {
  flex-grow: 1;
}

.seg-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.seg-deity-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.seg-classical-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
}

.seg-meaning {
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
  font-style: italic;
}

.seg-dur {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
}

.seg-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 8px 0;
  flex-wrap: wrap;
}

.seg-class-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.seg-class-badge.class-mahendra {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.seg-class-badge.class-amrita {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.seg-class-badge.class-shubha {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.seg-class-badge.class-varjya {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.seg-class-badge.class-shunya {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.seg-qual-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.qual-highly-auspicious {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.qual-auspicious {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.qual-inauspicious {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.qual-neutral-fierce {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.qual-neutral-waning {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.qual-neutral-moveable {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.qual-neutral {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.seg-time {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: inline-block;
}

.seg-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

/* Border highlights for classifications */
.segment-item-card.class-mahendra {
  border-left: 5px solid #7c3aed;
}

.segment-item-card.class-amrita {
  border-left: 5px solid #d97706;
}

.segment-item-card.class-shubha {
  border-left: 5px solid #10b981;
}

.segment-item-card.class-varjya {
  border-left: 5px solid #ef4444;
}

.segment-item-card.class-shunya {
  border-left: 5px solid #94a3b8;
}

.segment-item-card.class-general {
  border-left: 5px solid #cbd5e1;
}

/* ==========================================================================
   8-Part Ashtama Bhaga Tables
   ========================================================================== */
.ashtama-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.ashtama-table-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ashtama-table-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}

.ashtama-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.ashtama-table th {
  background: #f8fafc;
  color: #475569;
  padding: 8px 10px;
  text-align: left;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1.5px solid #e2e8f0;
}

.ashtama-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f1f5f9;
}

.ashtama-table tr.row-avoid {
  background: #fff8f8;
}

.ashtama-table tr.row-avoid td {
  border-bottom-color: #fee2e2;
}

.time-cell {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #0f172a;
}

.dur-cell {
  color: #64748b;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
}

.avoid-tag {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.clear-tag {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .muhurat-body {
    padding: 16px 14px;
  }

  .muhurat-astro-account-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .muhurat-calendar-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .duration-metrics-grid,
  .muhurat-3day-deck,
  .bela-cards-grid,
  .segments-15-grid,
  .ashtama-tables-grid,
  .ashtama-test-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   >>> START TEST PANEL STYLES: 8-Division Ashtama Bhaga 4-Quarter Subdivisions <<<
   (Can be safely removed after testing without affecting any other styles)
   ========================================================================== */
.ashtama-test-panel-wrapper {
  margin-top: 28px;
  background: #f8fafc;
  border: 2px dashed #93c5fd;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.ashtama-test-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #e2e8f0;
}

.ashtama-test-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ashtama-test-badge {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.ashtama-test-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.ashtama-test-header-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ashtama-test-meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #475569;
}

.ashtama-test-removable-tag {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Test Date & Day Navigation Toolbar */
.ashtama-test-date-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.ashtama-test-date-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ashtama-test-active-day-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.ashtama-test-day-label {
  color: #15803d;
  font-weight: 600;
}

.ashtama-test-day-val {
  color: #0f172a;
  font-weight: 800;
}

.ashtama-test-date-picker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #475569;
}

.ashtama-test-picker-label {
  font-weight: 700;
  color: #334155;
}

.ashtama-test-date-input {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  cursor: pointer;
}

.ashtama-test-date-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.ashtama-test-nav-btns {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ashtama-test-nav-btn {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ashtama-test-nav-btn:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #2563eb;
}

.ashtama-test-nav-btn.today-btn {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.ashtama-test-nav-btn.today-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

.ashtama-test-nav-btn.next-btn {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.ashtama-test-nav-btn.next-btn:hover {
  background: #059669;
  color: #ffffff;
}

.ashtama-test-date-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ashtama-test-meta-units {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  color: #475569;
}

.ashtama-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.ashtama-test-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.ashtama-test-card.day-test-card {
  border-top: 4px solid #f59e0b;
}

.ashtama-test-card.night-test-card {
  border-top: 4px solid #6366f1;
}

.ashtama-test-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.ashtama-test-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

.ashtama-test-sections-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ashtama-test-sec-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.ashtama-test-sec-item.sec-avoid {
  border-color: #fca5a5;
  background: #fffafa;
}

.ashtama-test-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 8px;
}

.ashtama-test-sec-item.sec-avoid .ashtama-test-sec-header {
  background: #fee2e2;
  border-bottom-color: #fecaca;
}

.ashtama-test-sec-num {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-pill {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}

.sec-pill.sec-pill-night {
  background: #312e81;
}

.sec-time-range {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
}

.ashtama-test-sec-badge-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sec-dur-tag {
  font-size: 0.72rem;
  color: #64748b;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
}

.ashtama-test-sub-table-wrap {
  padding: 4px 8px 8px 8px;
  overflow-x: auto;
}

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

.ashtama-test-sub-table th {
  padding: 6px 8px;
  text-align: left;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #f1f5f9;
}

.ashtama-test-sub-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #f8fafc;
}

.ashtama-test-sub-table tr:last-child td {
  border-bottom: none;
}

.ashtama-test-sub-table tr.row-sub-avoid {
  background: rgba(254, 226, 226, 0.4);
}

.sub-pada-cell strong {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  color: #0f172a;
}

.pada-name {
  color: #64748b;
  font-size: 0.7rem;
  margin-left: 2px;
}

.sub-time-cell {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.sub-dur-cell {
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  color: #64748b;
  white-space: nowrap;
}

.avoid-sub-tag {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.clear-sub-tag {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Collapsible Section Details & Summary */
details.ashtama-test-sec-item summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

details.ashtama-test-sec-item summary::-webkit-details-marker {
  display: none;
}

details.ashtama-test-sec-item summary:hover {
  filter: brightness(0.97);
}

.fold-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 800;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 4px;
  user-select: none;
}

details.ashtama-test-sec-item[open] .fold-chevron {
  transform: rotate(0deg);
}

details.ashtama-test-sec-item:not([open]) .fold-chevron {
  transform: rotate(-90deg);
}

details.ashtama-test-sec-item:not([open]) .ashtama-test-sub-table-wrap {
  display: none;
}

/* Fold & Unfold Toolbar Buttons */
.ashtama-fold-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ashtama-fold-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
}

.ashtama-fold-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.ashtama-mini-fold-btn {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ashtama-mini-fold-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Choghadiya Badge & Miniature Pill Styling */
.chog-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}

.chog-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.chog-ruler-tag {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
  margin-left: 3px;
}

/* Individual Choghadiya Colors */
.chog-amrit {
  background: #fefce8;
  border-color: #fef08a;
  color: #854d0e;
}

.chog-shubh {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.chog-labh {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.chog-char {
  background: #faf5ff;
  border-color: #e9d5ff;
  color: #6b21a8;
}

.chog-udyog {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.chog-kaal {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.chog-rog {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.chog-neutral {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

/* >>> END TEST PANEL STYLES <<< */

/* --- Mandala Sub-Quarter Fold / Unfold Styles --- */
.mandala-unfold-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.mandala-unfold-badge:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.mandala-unfold-badge .unfold-icon {
  font-size: 0.65rem;
  color: #64748b;
  transition: transform 0.15s ease;
}

.mandala-sub-wrap {
  padding: 10px 14px 14px 14px;
}

.mandala-sub-header {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mandala-sub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.mandala-sub-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 6px 10px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.mandala-sub-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: middle;
}

.mandala-sub-table tr:last-child td {
  border-bottom: none;
}

.sub-part-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mandal-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.mandal-badge.mandal-mahendra {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #d8b4fe;
}

.mandal-badge.mandal-vayu {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.mandal-badge.mandal-varun {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.mandal-badge.mandal-yam {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

/* ==========================================================================
   15-Segment Classical Muhurta Dynamic Filter Bar & Section Differentiation
   ========================================================================== */
.muhurat-15seg-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.muhurat-15seg-filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.muhurat-15seg-filter-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.muhurat-filter-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  position: relative;
}

.muhurat-filter-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.muhurat-filter-btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.muhurat-filter-btn.btn-amrita {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.muhurat-filter-btn.btn-amrita:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}

.muhurat-filter-btn.btn-amrita.is-active {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  border: 1.5px solid #f59e0b !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45), 0 0 0 2px rgba(245, 158, 11, 0.35) !important;
  transform: translateY(-1px);
}

.muhurat-filter-btn.btn-mahendra {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6b21a8;
}

.muhurat-filter-btn.btn-mahendra:hover {
  background: #ede9fe;
  border-color: #a855f7;
}

.muhurat-filter-btn.btn-mahendra.is-active {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
  border: 1.5px solid #a855f7 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45), 0 0 0 2px rgba(168, 85, 247, 0.35) !important;
  transform: translateY(-1px);
}

.muhurat-filter-btn.btn-shubha.is-active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #047857;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.35);
}

.muhurat-filter-btn.btn-varjya.is-active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-color: #b91c1c;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
}

.muhurat-filter-btn.btn-panchanga {
  background: #fdf4ff;
  border-color: #f0abfc;
  color: #86198f;
  margin-left: auto;
}

.muhurat-filter-btn.btn-panchanga:hover {
  background: #fae8ff;
  border-color: #d946ef;
  color: #701a75;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(217, 70, 239, 0.25);
}

.muhurat-filter-btn.btn-panchanga.is-active {
  background: linear-gradient(135deg, #a21caf 0%, #701a75 100%) !important;
  border: 1.5px solid #d946ef !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(162, 28, 175, 0.45), 0 0 0 2px rgba(217, 70, 239, 0.35) !important;
  transform: translateY(-1px);
}

.banner-panchanga {
  background: #fdf4ff;
  border: 1px solid #f0abfc;
  color: #701a75;
}

.muhurat-panchang-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-top: 10px;
}

.muhurat-panchang-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.muhurat-panchang-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.muhurat-panchang-month-badge {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.muhurat-panchang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.muhurat-panchang-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.muhurat-panchang-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.muhurat-panchang-item.highlight-tithi {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.muhurat-panchang-item.highlight-tithi:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.muhurat-panchang-item.highlight-meitei {
  background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 100%);
  border-color: #fbcfe8;
}

.muhurat-panchang-item.highlight-meitei:hover {
  border-color: #f472b6;
  box-shadow: 0 4px 12px rgba(190, 24, 93, 0.1);
}

.muhurat-panchang-item.highlight-paksha {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0;
}

.muhurat-panchang-item.highlight-paksha:hover {
  border-color: #86efac;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.1);
}

.muhurat-panchang-item.festival-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}

.muhurat-panchang-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.muhurat-panchang-val {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panchang-entry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease;
}

.panchang-entry-card:hover {
  border-color: #cbd5e1;
}

.panchang-entry-card.is-next-day {
  background: #fffdf5;
  border-color: #fde047;
}

.panchang-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.panchang-entry-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.panchang-next-day-tag {
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #facc15;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.panchang-entry-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #475569;
}

.panchang-time-icon {
  font-size: 0.85rem;
  opacity: 0.85;
}

.panchang-time-text {
  font-size: 0.8rem;
  color: #64748b;
}

.panchang-time-text strong {
  color: #2563eb;
  font-weight: 700;
}

.panchang-entry-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.panchang-entry-empty {
  color: #94a3b8;
  font-size: 0.85rem;
  font-style: italic;
  padding: 4px 0;
}

.muhurat-panchang-astro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.muhurat-panchang-astro-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  color: #475569;
}

.muhurat-panchang-astro-item span {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.muhurat-panchang-astro-item strong {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 800;
}

.filter-count-badge {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.filter-count-badge.badge-amrita {
  background: #fef3c7;
  color: #92400e;
}

.filter-count-badge.badge-mahendra {
  background: #f3e8ff;
  color: #6b21a8;
}

.filter-count-badge.badge-shubha {
  background: #ecfdf5;
  color: #065f46;
}

.filter-count-badge.badge-varjya {
  background: #fee2e2;
  color: #991b1b;
}

.muhurat-filter-btn.is-active .filter-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Informative description banner for active filter */
.muhurat-15seg-info-banner {
  padding: 11px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  border: 1.5px solid transparent;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.muhurat-15seg-info-banner.banner-amrita {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  color: #92400e;
}

.muhurat-15seg-info-banner.banner-mahendra {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border-color: #e9d5ff;
  color: #6b21a8;
}

.muhurat-15seg-info-banner.banner-shubha {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #a7f3d0;
  color: #065f46;
}

.muhurat-15seg-info-banner.banner-varjya {
  background: linear-gradient(135deg, #fffafa 0%, #fef2f2 100%);
  border-color: #fecaca;
  color: #991b1b;
}

.filtered-empty-state {
  padding: 24px 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
}

.seg-omitted-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.08);
}

.seg-inauspicious-row {
  margin-top: 6px;
  margin-bottom: 2px;
}

.seg-inauspicious-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff1f2;
  color: #991b1b;
  border: 1px solid #fecdd3;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(225, 29, 72, 0.05);
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
}

/* Distinctive Muhurat Segment Table Styles */
.muhurat-table-day-card {
  border-top: 3.5px solid #f59e0b !important;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.muhurat-table-night-card {
  border-top: 3.5px solid #6366f1 !important;
  background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
}

.muhurat-table-title-day {
  color: #92400e !important;
  border-bottom: 1.5px solid #fef3c7 !important;
}

.muhurat-table-title-night {
  color: #3730a3 !important;
  border-bottom: 1.5px solid #ede9fe !important;
}

.muhurat-table-count-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.muhurat-distinct-table {
  border-collapse: separate !important;
  border-spacing: 0 7px !important;
  margin-top: 6px;
  width: 100%;
}

.muhurat-distinct-table thead th {
  background: transparent !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.muhurat-table-row {
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.muhurat-table-row td {
  padding: 10px 12px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.muhurat-table-row td:first-child {
  border-left: 3.5px solid #3b82f6;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.muhurat-table-row td:last-child {
  border-right: 1px solid #e2e8f0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.muhurat-table-row:nth-child(even) {
  background: #fbfcfe;
}

.muhurat-table-row:hover {
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.muhurat-table-row.has-inauspicious td:first-child {
  border-left: 3.5px solid #ef4444 !important;
}

.muhurat-table-row.has-inauspicious {
  background: #fffafa;
}

.muhurat-table-row.has-inauspicious:hover {
  background: #fff1f2;
}

.muhurat-seq-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.8rem;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  border: 1px solid #bfdbfe;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06);
}

.muhurat-seq-pill.pill-warn {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.muhurat-time-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.muhurat-time-start {
  color: #047857;
}

.muhurat-time-arrow {
  color: #94a3b8;
  font-size: 0.82rem;
}

.muhurat-time-end {
  color: #0369a1;
}

.coords-toggle-btn {
  display: none;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #93c5fd;
  color: #0284c7;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.coords-toggle-btn:hover {
  background: #e0f2fe;
  border-color: #0284c7;
}

/* ==========================================================================
   Mobile & Responsive Adjustments for Muhurat Section & Coordinates Toolbar
   ========================================================================== */
/* ==========================================================================
   Mobile & Responsive Adjustments for Muhurat Section & Coordinates Toolbar
   ========================================================================== */
@media (max-width: 900px) {
  .ashtama-tables-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  #kuthi-muhurat-panel,
  #kuthi-yogas-panel {
    padding: 0 !important;
    margin: 6px 0 !important;
    width: 100% !important;
  }

  .astro-panel-container {
    padding: 0 4px !important;
    margin: 6px auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .astro-panel-card {
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }

  .astro-panel-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 10px 10px !important;
  }

  .astro-panel-title-wrap {
    gap: 8px !important;
  }

  .astro-panel-icon {
    font-size: 1.15rem !important;
    padding: 6px !important;
    border-radius: 8px !important;
  }

  .astro-panel-title {
    font-size: 1.02rem !important;
  }

  .astro-panel-subtitle {
    font-size: 0.74rem !important;
  }

  .astro-panel-plan-corner {
    align-items: flex-start !important;
    margin-top: 2px !important;
  }

  .astro-panel-controls {
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .muhurat-body {
    padding: 8px 6px !important;
  }

  /* Astrologer Verified Account Card */
  .muhurat-astro-account-card {
    padding: 10px 10px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    gap: 10px !important;
  }

  .astro-acc-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.25rem !important;
    border-radius: 8px !important;
  }

  .astro-acc-name {
    font-size: 0.88rem !important;
  }

  .astro-acc-email {
    font-size: 0.75rem !important;
  }

  .astro-acc-pills {
    gap: 5px !important;
  }

  .astro-pill {
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
  }

  /* Interactive Date Picker & Calendar Toolbar */
  .muhurat-calendar-toolbar {
    padding: 8px 8px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    gap: 8px !important;
  }

  .muhurat-cal-left {
    gap: 8px !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .muhurat-cal-picker-wrap {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .muhurat-cal-picker-wrap .custom-datepicker-wrapper {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .muhurat-date-picker-input {
    padding: 6px 30px 6px 8px !important;
    font-size: 0.82rem !important;
    width: 100% !important;
  }

  .muhurat-date-nav-btns {
    width: 100% !important;
    display: flex !important;
    gap: 6px !important;
  }

  .muhurat-date-nav-btns .muhurat-nav-btn {
    flex: 1 !important;
    text-align: center !important;
    padding: 6px 4px !important;
    font-size: 0.76rem !important;
  }

  .muhurat-cal-right {
    width: 100% !important;
  }

  .muhurat-active-date-pill {
    width: 100% !important;
    justify-content: center !important;
    padding: 5px 10px !important;
    font-size: 0.75rem !important;
  }

  /* Mode Switcher Bar */
  .muhurat-mode-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 6px 8px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }

  .muhurat-mode-tabs {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 4px !important;
    padding: 3px !important;
  }

  .muhurat-mode-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 6px 8px !important;
    font-size: 0.76rem !important;
  }

  /* Custom Coordinates Toolbar */
  .muhurat-location-toolbar-compact {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 6px 8px !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }

  .muhurat-loc-inline-title {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 0.78rem !important;
    cursor: pointer !important;
    user-select: none !important;
    padding: 2px 0 !important;
  }

  .coords-toggle-btn {
    display: inline-flex !important;
  }

  #customCoordsInputsWrap {
    display: none;
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding-top: 8px !important;
    margin-top: 6px !important;
    border-top: 1px solid #bae6fd !important;
  }

  #customCoordsInputsWrap.is-open {
    display: grid !important;
  }

  .muhurat-mini-field {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    width: 100% !important;
  }

  .muhurat-mini-field .mini-label {
    min-width: 24px !important;
    font-size: 0.7rem !important;
  }

  .muhurat-mini-input.num-input {
    width: 100% !important;
    flex: 1 !important;
    padding: 5px 6px !important;
    font-size: 0.78rem !important;
  }

  .muhurat-mini-btn {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Dual Summary / Solar Metrics */
  .muhurat-dual-summary-card {
    padding: 10px 8px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }

  .duration-metrics-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .metric-box {
    padding: 8px 10px !important;
    border-radius: 8px !important;
  }

  .metric-box .metric-value {
    font-size: 1.05rem !important;
  }

  /* Bela Alert Section */
  .bela-alert-section {
    padding: 10px 8px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }

  .bela-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .bela-card {
    padding: 8px 10px !important;
    border-radius: 8px !important;
  }

  /* Compact Solar Nav Row on Small Screen - Show ONLY Date Badge with Nav Buttons */
  .muhurat-solar-nav-row {
    padding: 5px 6px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .solar-nav-btn {
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
  }

  .muhurat-solar-times {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  /* Hide sunrise and sunset chips on small screens */
  .solar-time-chip {
    display: none !important;
  }

  /* Hide calendar icon and Date: label on small screens to prevent collapse */
  .muhurat-picker-icon,
  .muhurat-picker-label,
  .muhurat-cal-icon,
  .muhurat-cal-label {
    display: none !important;
  }

  .solar-date-badge {
    padding: 1px 2px !important;
    gap: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .solar-date-badge input.muhurat-date-picker-input,
  .muhurat-cal-picker-wrap input.muhurat-date-picker-input,
  .ashtama-date-nav-toolbar input.muhurat-date-picker-input,
  .muhurat-panchang-date-nav input.muhurat-date-picker-input {
    width: 82px !important;
    min-width: 76px !important;
    max-width: 88px !important;
    padding: 3px 2px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  .muhurat-15seg-filter-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 6px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }

  .muhurat-15seg-filter-label {
    display: none !important;
  }

  .muhurat-15seg-filter-btns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .muhurat-filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 4px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    gap: 3px !important;
    border-radius: 7px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .muhurat-filter-btn span {
    white-space: nowrap !important;
  }

  .filter-count-badge {
    font-size: 0.64rem !important;
    padding: 1px 4px !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
  }

  .muhurat-panchang-date-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .muhurat-date-nav-btns {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
  }

  .muhurat-panchang-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .muhurat-panchang-astro-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .ashtama-table-card {
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
  }

  .ashtama-table th,
  .ashtama-table td {
    padding: 6px 6px !important;
    font-size: 0.73rem !important;
  }

  .muhurat-time-wrap {
    font-size: 0.76rem !important;
    gap: 3px !important;
    padding: 2px 4px !important;
  }

  .mandala-unfold-badge {
    font-size: 0.66rem !important;
    padding: 2px 6px !important;
  }

  .mandala-sub-wrap {
    padding: 6px 4px 8px 4px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .mandala-sub-table {
    min-width: 260px !important;
    font-size: 0.7rem !important;
  }

  .mandala-sub-table th,
  .mandala-sub-table td {
    padding: 4px 6px !important;
  }

  .mandal-badge {
    font-size: 0.65rem !important;
    padding: 2px 4px !important;
  }

  .choghadiya-grid,
  .ashtama-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .muhurat-section-title {
    margin: 14px 0 8px 0 !important;
    font-size: 0.88rem !important;
  }
}

@media (max-width: 480px) {
  .astro-panel-container {
    padding: 0 2px !important;
    margin: 4px auto !important;
  }

  .muhurat-body {
    padding: 6px 3px !important;
  }

  .astro-panel-header {
    padding: 8px 6px !important;
  }

  .duration-metrics-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
  }

  .metric-box {
    padding: 6px 6px !important;
  }

  .metric-box .metric-value {
    font-size: 0.95rem !important;
  }

  /* Compact Single Line Solar Nav on Small Phones - Only Date Badge */
  .muhurat-solar-nav-row {
    padding: 4px 4px !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }

  .solar-nav-btn {
    padding: 4px 5px !important;
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    gap: 2px !important;
  }

  .solar-time-chip {
    display: none !important;
  }

  .solar-date-badge {
    padding: 0 !important;
    gap: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  .solar-date-badge input.muhurat-date-picker-input,
  .muhurat-cal-picker-wrap input.muhurat-date-picker-input,
  .ashtama-date-nav-toolbar input.muhurat-date-picker-input,
  .muhurat-panchang-date-nav input.muhurat-date-picker-input {
    width: 78px !important;
    min-width: 72px !important;
    max-width: 82px !important;
    padding: 2px 2px !important;
    font-size: 0.68rem !important;
  }

  .muhurat-15seg-filter-bar {
    padding: 4px 4px !important;
  }

  .muhurat-15seg-filter-btns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px !important;
    width: 100% !important;
  }

  .muhurat-filter-btn {
    padding: 5px 2px !important;
    font-size: 0.67rem !important;
    gap: 2px !important;
  }

  .filter-count-badge {
    font-size: 0.6rem !important;
    padding: 0 3px !important;
    margin-left: 1px !important;
  }

  .muhurat-panchang-grid {
    grid-template-columns: 1fr !important;
  }

  .muhurat-panchang-astro-grid {
    grid-template-columns: 1fr !important;
  }

  .muhurat-table-row td.time-cell > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .muhurat-time-wrap {
    width: 100% !important;
    justify-content: center !important;
  }

  .mandala-unfold-badge {
    width: 100% !important;
    justify-content: center !important;
  }

  #customCoordsInputsWrap {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   In-Place Payment, Comparison Table & Modal Luxury Styling
   ========================================================================== */

/* ==========================================================================
   In-Place Payment, Comparison Table & Modal Luxury Styling
   ========================================================================== */

.muhurat-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 20%, rgba(15, 23, 42, 0.82) 0%, rgba(3, 7, 18, 0.94) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.muhurat-modal-card {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  border-radius: 22px;
  max-width: 1040px;
  width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(226, 232, 240, 0.8);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  animation: muhuratModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

@keyframes muhuratModalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.muhurat-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  background: linear-gradient(135deg, #090e1a 0%, #0f172a 60%, #1e1b4b 100%);
  color: #ffffff;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.muhurat-modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

.muhurat-modal-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.muhurat-modal-title h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.muhurat-modal-title p {
  color: #94a3b8 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 3px 0 0 0;
  letter-spacing: 0.01em;
}

.muhurat-modal-icon {
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.35));
  border: 1px solid rgba(139, 92, 246, 0.45);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.muhurat-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.muhurat-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.muhurat-modal-body {
  padding: 22px 26px;
  overflow-y: auto;
  max-height: calc(92vh - 88px);
  background: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.muhurat-modal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.muhurat-modal-user-strip {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modern Muhurat Modal Cards Grid Layout */
.muhurat-modal-cards-container {
  width: 100%;
  box-sizing: border-box;
}

.muhurat-modal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.muhurat-modal-plan-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.muhurat-modal-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: #93c5fd;
}

.muhurat-modal-plan-card.is-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.muhurat-modal-plan-card.is-free {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid #bbf7d0;
}

.muhurat-card-top-tag {
  position: absolute;
  top: -11px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.muhurat-card-top-tag.tag-green { background: #16a34a; color: #fff; box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25); }
.muhurat-card-top-tag.tag-blue { background: #2563eb; color: #fff; box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25); }
.muhurat-card-top-tag.tag-gold { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3); }
.muhurat-card-top-tag.tag-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3); }

.muhurat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.muhurat-card-icon {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.muhurat-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
}

.muhurat-card-subtitle {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.muhurat-card-pricing {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.muhurat-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.muhurat-card-price-original {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
}

.muhurat-card-price-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: #16a34a;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.muhurat-card-price-main.price-free {
  color: #15803d;
}

.muhurat-card-discount-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #86efac;
}

.muhurat-card-discount-badge.badge-free {
  background: #16a34a;
  color: #fff;
  border: none;
}

.muhurat-card-validity-pill {
  font-size: 0.74rem;
  color: #475569;
  font-weight: 700;
  margin-top: 6px;
}

.muhurat-card-window-box {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-left: 3px solid #3b82f6;
}

.muhurat-modal-plan-card.is-free .muhurat-card-window-box {
  border-left-color: #16a34a;
  background: #f0fdf4;
}

.window-title {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.window-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
}

.muhurat-card-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-item {
  font-size: 0.8rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}

.feat-check {
  color: #16a34a;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.muhurat-card-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  box-sizing: border-box;
}

.muhurat-card-btn.btn-active {
  background: #e2e8f0;
  color: #64748b;
  cursor: default;
}

.muhurat-card-btn.btn-pay {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.muhurat-card-btn.btn-pay:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

@media (max-width: 640px) {
  .muhurat-modal-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .muhurat-modal-plan-card {
    padding: 16px 14px;
  }
}

/* In-Place Checkout Luxury Design */
.muhurat-inplace-checkout {
  animation: fadeIn 0.22s ease-out;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.checkout-back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.checkout-back-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.18s ease;
}
.checkout-back-btn:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #2563eb;
  transform: translateX(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}

.checkout-secure-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 700;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-summary-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.checkout-plan-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.checkout-plan-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
}
.checkout-plan-header p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 2px 0 0 0;
}

.checkout-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: #475569;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.checkout-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.checkout-detail-row span {
  color: #64748b;
  font-weight: 600;
}
.checkout-detail-row strong {
  color: #0f172a;
  font-weight: 700;
}

.checkout-features-bullet {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #334155;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.checkout-features-bullet ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.checkout-features-bullet li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
  font-weight: 500;
}

.checkout-contact-form {
  margin-top: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
}
.checkout-contact-form label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.77rem;
  font-weight: 700;
  color: #334155;
  display: block;
  margin-bottom: 4px;
}
.checkout-contact-form input {
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  background: #ffffff;
}
.checkout-contact-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.checkout-payment-card {
  background: #ffffff;
  border: 2px solid #3b82f6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px -4px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.checkout-payment-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.checkout-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  color: #475569;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.checkout-price-breakdown .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-coupon-input-box {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.inplace-coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
  letter-spacing: 0.04em;
  color: #0f172a;
  transition: all 0.2s ease;
  background: #ffffff;
}
.inplace-coupon-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.inplace-coupon-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.inplace-coupon-btn:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  transform: translateY(-1px);
}

.checkout-submit-pay-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.checkout-submit-pay-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 50%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.52);
}

/* Toast */
.plan-activation-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: #15803d;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.plan-activation-toast .toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan-activation-toast .toast-icon {
  font-size: 1.8rem;
}