/* ==========================================================================
   UNLIMITED ASTRO - CLEAN PLATFORM DESIGN SYSTEM
   Matched to https://unlimitedastro-web-dev.web.app
   ========================================================================== */

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

:root {
  /* Brand Colors */
  --primary: #c95524;
  --primary-hover: #b3471a;
  --primary-light: #fef0e9;
  --primary-tint: #fbe6dd;
  
  --promo-bg: #fceee2;
  --promo-text: #963b15;
  
  --bg-page: #f5f6f8;
  --bg-surface: #ffffff;
  --bg-input: #eeeff2;
  
  --text-primary: #181c24;
  --text-secondary: #5f6775;
  --text-muted: #8b92a0;
  
  --border-light: #e5e7eb;
  --border-card: #e8ebf0;
  
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #f59e0b;
  --warning-bg: #fef3c7;
  
  /* Layout & Shadows */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 8px 24px rgba(201, 85, 36, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 2rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-wrap img {
  border-radius: 6px;
  object-fit: contain;
}

/* ==========================================================================
   PAGE CONTAINER
   ========================================================================== */

.page-container {
  width: 100%;
  margin: 1.25rem auto 2.5rem;
  padding: 0 1.25rem;
}

/* ==========================================================================
   MAIN RUST HERO BANNER (Matches UnlimitedAstro Home Banner)
   ========================================================================== */

.hero-banner {
  background: linear-gradient(105deg, #c95524 0%, #ba491a 100%);
  border-radius: var(--radius-xl);
  color: #ffffff;
  padding: 2.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(201, 85, 36, 0.22);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.banner-content {
  max-width: 650px;
  z-index: 2;
}

.banner-title {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.banner-perks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.perk-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.banner-cta-group {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.banner-btn-white {
  background: #ffffff;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-btn-white:hover {
  background: #fff8f5;
  transform: translateY(-2px);
}

.banner-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.banner-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.banner-illustration {
  width: 240px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: block;
}

/* ==========================================================================
   BUTTONS & COMMON ACTIONS
   ========================================================================== */

.promo-action-btn {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.promo-action-btn:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   SECTION HEADING & CONTROLS
   ========================================================================== */

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1d20;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* Search Bar (Matches 'Search astrologers...') */
.search-container {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.search-box-wrap {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.platform-search-input {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.platform-search-input:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 85, 36, 0.15);
}

/* Category Filter Tabs (Pill Row) */
.category-pills-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.75rem;
  scrollbar-width: none;
}

.category-pills-row::-webkit-scrollbar {
  display: none;
}

.category-pill {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(201, 85, 36, 0.25);
}



/* ==========================================================================
   BLOG CARDS GRID & CARDS
   (Styled directly to match Astrologer Card in platform screenshot)
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}

/* Top Badge Strip (Matches 'Unlimited Chat/Call mins' and '● AVAILABLE') */
.card-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  background: #fafafb;
  border-bottom: 1px solid var(--border-light);
}

.category-ribbon {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-badge {
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Card Body */
.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.card-title:hover {
  color: var(--primary);
}

.card-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Topics / Tags Row */
.card-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.85rem;
}

.tag-pill {
  background: rgba(201, 85, 36, 0.08);
  color: var(--primary);
  border: 1px solid rgba(201, 85, 36, 0.18);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Astrologer Author Row (Matches Astrologer avatar + name + exp in screenshot) */
.card-author-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  margin-top: auto;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.author-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.modal-author-card .author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.author-meta h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.author-meta span {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.read-action-btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-action-btn:hover {
  background: var(--primary-hover);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}



/* ==========================================================================
   BLOG DETAILS PAGE (FULL EDITORIAL PUBLICATION LAYOUT)
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #c95524 0%, #ea580c 50%, #f59e0b 100%);
  z-index: 99999;
  width: 0%;
  transition: width 0.08s ease-out;
}

.blog-detail-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumb Navigation */
.blog-detail-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.back-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-tint);
  transition: all 0.2s ease;
  cursor: pointer;
}

.back-link-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateX(-2px);
}

.breadcrumb-separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-cat,
.breadcrumb-cat-btn {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.15s ease;
}

.breadcrumb-cat-btn:hover {
  color: var(--primary);
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.breadcrumb-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: contain;
}

/* Article Header */
.article-page-header {
  margin-bottom: 2.5rem;
}

.article-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.meta-dot {
  color: var(--border-light);
  font-weight: bold;
}

.article-page-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

/* Author Byline & Actions */
.article-author-byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.byline-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.byline-left .author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.byline-meta {
  display: flex;
  flex-direction: column;
}

.byline-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.byline-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.byline-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-pill-btn:hover {
  background: var(--bg-page);
  color: var(--primary);
  border-color: var(--primary-tint);
}

.consult-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(201, 85, 36, 0.25);
  transition: all 0.2s ease;
}

.consult-pill-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Featured Cover Image */
.article-featured-image-wrap {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.article-featured-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Layout Grid (2 Columns: Main Content + Sticky Sidebar) */
.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3.5rem;
  align-items: start;
}

/* Article Prose Typography */
.article-content-column {
  min-width: 0;
}

.article-body-prose {
  font-size: 1.125rem;
  line-height: 1.95;
  color: #2d3748;
}

.article-body-prose h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a1d20;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.015em;
  padding-bottom: 0.4rem;
  border-bottom: 2.5px solid var(--primary-light);
  display: inline-block;
}

.article-body-prose h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1d20;
  margin: 2rem 0 0.85rem;
}

.article-body-prose p {
  margin-bottom: 1.35rem;
}

.article-body-prose blockquote {
  border-left: 4.5px solid var(--primary);
  padding: 1.25rem 1.75rem;
  background: var(--primary-light);
  color: var(--primary-hover);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.6;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2.25rem 0;
}

.article-body-prose ul {
  padding-left: 1.6rem;
  margin-bottom: 1.6rem;
}

.article-body-prose li {
  margin-bottom: 0.65rem;
}

.article-body-prose strong {
  color: #1a1d20;
  font-weight: 700;
}

/* Bottom In-Article Consultation Banner */
.article-consult-banner {
  margin: 3.5rem 0 2rem;
  background: linear-gradient(135deg, #fff7f2 0%, #ffffff 100%);
  border: 1.5px solid var(--primary-tint);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 8px 25px rgba(201, 85, 36, 0.08);
}

.consult-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.consult-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(201, 85, 36, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.consult-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a1d20;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.consult-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.consult-perks-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a5568;
  flex-wrap: wrap;
}

.consult-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(201, 85, 36, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.consult-cta-large:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 85, 36, 0.4);
}

/* Article Footer Nav */
.article-footer-nav {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-start;
}

.return-blogs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
  cursor: pointer;
}

.return-blogs-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Sticky Sidebar */
.article-sidebar-column {
  min-width: 0;
}

.sidebar-sticky-wrap {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 1.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.consult-widget-card {
  background: linear-gradient(145deg, #fffaf7, #ffffff);
  border: 1.5px solid var(--primary-tint);
}

.widget-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

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

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

.widget-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #1a1d20;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.widget-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.widget-price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.price-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.price-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.widget-action-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(201, 85, 36, 0.25);
  transition: all 0.2s ease;
}

.widget-action-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.sidebar-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1d20;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-related-item {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.2s ease;
}

.sidebar-related-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-related-item:hover {
  transform: translateX(3px);
}

.sidebar-related-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-related-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-related-meta h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-related-meta span {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* Bottom Recommended Section */
.bottom-recommended-section {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sidebar-sticky-wrap {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-banner {
    flex-direction: column;
    text-align: left;
    padding: 1.75rem 1.5rem;
  }
  .banner-illustration {
    display: none;
  }
}

@media (max-width: 768px) {
  .article-page-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .article-featured-image {
    height: 250px;
  }
  .article-author-byline {
    flex-direction: column;
    align-items: flex-start;
  }
  .consult-banner-inner {
    flex-direction: column;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .banner-title {
    font-size: 1.45rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-body-prose {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* ==========================================================================
   LOADING SPINNER COMPONENT
   ========================================================================== */

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem;
  width: 100%;
  grid-column: 1 / -1;
  text-align: center;
}

.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid var(--primary-tint);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinnerRotate 0.75s linear infinite;
  margin-bottom: 1rem;
}

.spinner-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  font-weight: 600;
}

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

/* ==========================================================================
   ARTICLE DETAIL TAGS & TOPICS STYLES
   ========================================================================== */

.detail-tags-section {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.detail-tags-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.detail-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.detail-tag-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(201, 85, 36, 0.08);
  color: var(--primary);
  border: 1px solid rgba(201, 85, 36, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.detail-tag-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 85, 36, 0.25);
}

.tags-widget-card {
  margin-top: 1.5rem;
}

.sidebar-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ==========================================================================
   PLATFORM TOP NAVIGATION HEADER
   ========================================================================== */

.platform-nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.brand-title {
  color: #1a1d20;
}

.nav-tabs-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-input);
  padding: 0.3rem;
  border-radius: var(--radius-full);
}

.nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}

.nav-tab-btn:hover {
  color: var(--text-primary);
}

.nav-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-right-actions {
  display: flex;
  align-items: center;
}

.nav-consult-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(201, 85, 36, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-consult-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav-header-inner {
    padding: 0.6rem 0.85rem;
    flex-wrap: wrap;
  }
  .nav-tabs-group {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.4rem;
  }
  .nav-consult-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   FREE KUNDALI PROMO STRIP (ON BLOGS PAGE)
   ========================================================================== */

.kundali-promo-strip {
  background: linear-gradient(105deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kundali-promo-strip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 85, 36, 0.12);
  border-color: #fdba74;
}

.promo-mini-badge {
  display: inline-block;
  background: #c95524;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.promo-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: #7c2d12;
  margin-bottom: 0.25rem;
}

.promo-sub {
  font-size: 0.9rem;
  color: #9a3412;
  margin: 0;
}

.promo-action-pill {
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  background: #c95524;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(201, 85, 36, 0.25);
  transition: all 0.2s ease;
  font-family: inherit;
}

.promo-action-pill:hover {
  background: #b3471a;
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .kundali-promo-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .promo-action-pill {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   KUNDALI GENERATION FORM CARD (Exact match to screenshot)
   ========================================================================== */

.kundali-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem 4rem;
  width: 100%;
}

.kundali-form-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  border: 1px solid #eef0f3;
}

.kundali-card-header {
  background: #c75427;
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.kundali-header-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.kundali-card-body {
  padding: 1.75rem 1.5rem 2rem;
}

.kundali-instructions {
  font-size: 0.96rem;
  font-weight: 700;
  color: #23272f;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.k-form-group {
  margin-bottom: 1rem;
  position: relative;
}

.k-input-field {
  width: 100%;
  height: 52px;
  background: #f2f3f5;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e232c;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.k-input-field::placeholder {
  color: #8b92a0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.k-input-field:focus {
  background: #ffffff;
  border-color: #c75427;
  box-shadow: 0 0 0 3px rgba(199, 84, 39, 0.12);
}

/* Custom Select Wrap */
.k-select-wrap {
  position: relative;
}

.k-select-field {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.k-select-arrow {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #5f6775;
  font-size: 0.72rem;
}

/* Location Group & Dropdown */
.k-location-group {
  position: relative;
}

.k-location-field {
  padding-right: 2.75rem;
}

.k-location-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  pointer-events: none;
  filter: grayscale(0.5);
}

.k-places-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  z-index: 500;
  max-height: 220px;
  overflow-y: auto;
}

.k-place-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s ease;
}

.k-place-item:last-child {
  border-bottom: none;
}

.k-place-item:hover {
  background: #fbf1ec;
  color: var(--primary);
}

.k-place-item .place-pin {
  font-size: 1rem;
  color: var(--primary);
}

/* Submit Button (Matches Screenshot) */
.k-submit-button {
  width: 100%;
  height: 52px;
  margin-top: 1rem;
  background: #c75427;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(199, 84, 39, 0.28);
  transition: all 0.2s ease;
  font-family: inherit;
}

.k-submit-button:hover {
  background: #b0461e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(199, 84, 39, 0.35);
}

.spinner-small {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinnerRotate 0.75s linear infinite;
}

/* ==========================================================================
   KUNDALI DETAILS REPORT VIEW
   ========================================================================== */

.kundali-report-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.k-report-header {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.k-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.k-back-btn, .k-new-kundali-btn {
  background: var(--bg-input);
  color: var(--text-primary);
  border: none;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.k-back-btn:hover, .k-new-kundali-btn:hover {
  background: #e2e4e8;
}

.k-profile-summary {
  display: flex;
  flex-direction: column;
}

.k-report-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1d20;
  margin: 0;
}

.k-report-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* Report Tab Bar */
.k-tabs-nav-bar {
  display: flex;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.k-tab-pill {
  flex: 1;
  white-space: nowrap;
  padding: 0.75rem 1.25rem;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
}

.k-tab-pill:hover {
  color: var(--text-primary);
  background: var(--bg-input);
}

.k-tab-pill.active {
  background: #c75427;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(199, 84, 39, 0.25);
}

/* Tab Content Pane */
.k-tab-content-pane {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* Panchang Grid */
.k-panchang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.k-panchang-card {
  background: #fbfbfd;
  border: 1px solid #eef0f4;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.k-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.k-card-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1d20;
}

/* Chart Sub-Controls */
.k-chart-controls {
  margin-bottom: 1.5rem;
}

.k-chart-select-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.k-chart-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.k-chart-type-pill {
  padding: 0.5rem 1.1rem;
  background: var(--bg-input);
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.k-chart-type-pill:hover {
  color: var(--text-primary);
}

.k-chart-type-pill.active {
  background: #fef0e9;
  color: #c75427;
  border-color: #fdba74;
}

.k-chart-display-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: #fcfcfd;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.k-rendered-chart-img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Planetary Table */
.k-planets-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.k-planets-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.k-planets-table th {
  background: #fff9c4;
  color: #5d4037;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ffe082;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.k-planets-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.92rem;
  color: #2b303a;
}

.k-planets-table tr:hover td {
  background: #fefcf8;
}

.planet-retro-tag {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}

/* Dasha Timeline */
.k-dasha-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.k-dasha-card {
  background: #fbfbfd;
  border: 1px solid #eef0f4;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.k-dasha-planet {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1d20;
}

.k-dasha-dates {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   FLUTTER EXACT MATCHING KUNDALI UI STYLES (unlimitedAstro-ios)
   ========================================================================== */

/* Fullscreen Kundali Layout */
body.kundali-body {
  background: #fdfdfd;
}

body.kundali-body .platform-nav-header .nav-header-inner {
  max-width: 100%;
  padding: 0.85rem 2.5rem;
}

#kundaliPage {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.flutter-screen-frame {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  min-height: calc(100vh - 65px);
  display: flex;
  flex-direction: column;
}

/* Flutter AppBar (Rust Orange #C75427) */
.flutter-appbar {
  background: #c75427;
  color: #ffffff;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.flutter-appbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flutter-appbar-back {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.flutter-appbar-back:hover {
  background: rgba(255, 255, 255, 0.15);
}

.flutter-appbar-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.flutter-appbar-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 2px;
}

/* Top Right Dropdown Pill */
.flutter-dropdown-pill {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.35rem 0.85rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.flutter-dropdown-select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  font-family: inherit;
  padding-right: 0.25rem;
}

/* Flutter TabBar (Yellow #FFC107) */
.flutter-tab-bar {
  background: #ffc107;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #f0b400;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.flutter-tab-bar::-webkit-scrollbar {
  display: none;
}

.flutter-tab-item {
  padding: 14px 22px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3.5px solid transparent;
  transition: all 0.15s ease;
  font-family: inherit;
}

.flutter-tab-item:hover {
  color: #000000;
}

.flutter-tab-item.active {
  color: #000000;
  font-weight: 800;
  border-bottom: 3.5px solid #000000;
}

/* Tab Content View */
.flutter-tab-view {
  padding: 2.25rem 2.5rem 4rem;
  min-height: calc(100vh - 180px);
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}

/* Personal Details Yellow Banner */
.flutter-section-banner {
  background: #fff9c4;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  border-radius: 8px 8px 0 0;
  border: 1px solid #eee8aa;
  border-bottom: none;
}

.flutter-detail-row {
  display: flex;
  padding: 14px 24px;
  border-bottom: 1px solid #eeeeee;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
  align-items: center;
}

.flutter-detail-row.even {
  background: #ffffff;
}

.flutter-detail-row.odd {
  background: #f9fafb;
}

.flutter-label-col {
  flex: 1;
  max-width: 320px;
  font-weight: 700;
  font-size: 15px;
  color: #000000;
}

.flutter-value-col {
  flex: 2;
  font-size: 15px;
  color: #212121;
}

/* Flutter Table Styles */
.flutter-table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.flutter-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.flutter-table th {
  background: #fff9c4;
  font-weight: 800;
  font-size: 14px;
  color: #000000;
  padding: 14px 16px;
  border: 1px solid #eeeeee;
}

.flutter-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #212121;
  border: 1px solid #eeeeee;
}

.flutter-table tr:nth-child(even) td {
  background: #f9fafb;
}

.flutter-table tr:nth-child(odd) td {
  background: #ffffff;
}

/* Flutter Dasha Drill-Down Card */
.flutter-dasha-wrapper {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.flutter-dasha-header {
  background: #fff9c4;
  padding: 16px 24px;
  border-bottom: 1px solid #eee8aa;
}

.flutter-dasha-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.flutter-dasha-back-btn {
  background: none;
  border: none;
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flutter-dasha-breadcrumb {
  font-size: 13px;
  color: #757575;
  text-align: right;
}

.flutter-dasha-title {
  font-size: 17px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  margin: 0;
}

.flutter-dasha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #eeeeee;
  cursor: pointer;
  transition: background 0.15s ease;
}

.flutter-dasha-row:hover {
  background: #fafafa;
}

.flutter-dasha-row:last-child {
  border-bottom: none;
}

.flutter-dasha-planet-name {
  font-weight: 700;
  font-size: 15px;
  color: #000000;
}

.flutter-dasha-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #616161;
  font-size: 14.5px;
  font-weight: 500;
}

.flutter-dasha-chevron {
  color: #9e9e9e;
  font-size: 16px;
}

.flutter-dasha-note {
  padding: 16px 24px;
  color: rgba(0, 0, 0, 0.54);
  font-size: 13.5px;
  background: #fafafa;
  border-top: 1px solid #eeeeee;
}

/* Flutter Chart Box */
.flutter-chart-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem 3rem;
  background: #ffffff;
  width: 100%;
}

.flutter-chart-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flutter-chart-img {
  max-width: 100%;
  width: 520px;
  height: auto;
  border-radius: 8px;
}

/* Flutter Form Card (Exact match with ChartPage) */
.flutter-form-card {
  max-width: 640px;
  margin: 2.5rem auto 3.5rem;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #eaeaea;
}

.flutter-form-appbar {
  background: #c75427;
  color: #ffffff;
  padding: 1.25rem 1.75rem;
}

.flutter-form-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.flutter-form-body {
  padding: 28px 32px;
}

.flutter-form-subtitle {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 24px;
}

.flutter-form-input {
  width: 100%;
  height: 52px;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #212121;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.flutter-form-input:focus {
  background: #ffffff;
  border-color: #c75427;
  box-shadow: 0 0 0 2px rgba(199, 84, 39, 0.15);
}

.flutter-form-input::placeholder {
  color: #757575;
  font-weight: 500;
}

.flutter-form-submit-btn {
  width: 100%;
  padding: 16px;
  background: #c75427;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(199, 84, 39, 0.25);
}

.flutter-form-submit-btn:hover {
  background: #b0461e;
  transform: translateY(-1px);
}

/* ==========================================================================
   NEW KUNDALI FORM UI (Exact match with mobile app screenshot)
   ========================================================================== */

/* Mobile / Default layout */
.k-new-page-container {
  max-width: 480px;
  margin: 1.5rem auto 4rem;
  padding: 0 1rem;
}

.k-desktop-layout-grid {
  display: flex;
  flex-direction: column;
}

.k-desktop-info-col {
  display: flex;
  flex-direction: column;
}

.k-desktop-highlights {
  display: none;
}

/* Mobile: preserve exact order (Header -> Form -> Recent) */
@media (max-width: 959px) {
  .k-new-top-header {
    order: 1;
  }
  .k-desktop-form-col {
    order: 2;
  }
  .k-recent-section {
    order: 3;
  }
}

/* Desktop layout (>= 960px) */
@media (min-width: 960px) {
  .k-new-page-container {
    max-width: 1180px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
  }

  .k-desktop-layout-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .k-desktop-form-col {
    position: sticky;
    top: 2rem;
  }

  .k-new-top-header {
    margin-bottom: 2rem;
  }

  .k-new-page-title {
    font-size: 2.35rem;
  }

  .k-desktop-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }

  .k-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #ebecee;
    border-radius: 16px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
  }

  .k-highlight-item:hover {
    border-color: #a8380c;
    box-shadow: 0 6px 18px rgba(168, 56, 12, 0.06);
    transform: translateY(-2px);
  }

  .k-highlight-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    background: #fee7d6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .k-highlight-item strong {
    font-size: 0.98rem;
    color: #1a1d20;
    display: block;
    margin-bottom: 3px;
  }

  .k-highlight-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
  }

  .k-new-card {
    padding: 2.25rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  }
}

@media (min-width: 1280px) {
  .k-new-page-container {
    max-width: 1240px;
  }
  .k-desktop-layout-grid {
    gap: 4.5rem;
  }
  .k-new-page-title {
    font-size: 2.65rem;
  }
}

/* Top Branding Header */
.k-new-top-header {
  margin-bottom: 1.25rem;
}

.k-new-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.k-new-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #c75427;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(199, 84, 39, 0.2);
}

.k-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k-new-brand-meta {
  display: flex;
  flex-direction: column;
}

.k-new-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e232c;
  line-height: 1.2;
}

.k-new-brand-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a8380c;
  letter-spacing: 0.05em;
  margin-top: 1px;
}

.k-dot-orange {
  color: #a8380c;
  font-size: 0.8rem;
}

.k-new-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fed7aa;
  background: linear-gradient(105deg, #ffedd5 0%, #fed7aa 100%);
  color: #9a3412;
  border: 1px solid rgba(199, 84, 39, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.k-star-icon {
  color: #c75427;
  font-size: 0.85rem;
}

.k-new-page-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #1e232c;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.k-italic-title {
  font-style: italic;
  color: #a8380c;
  font-weight: 800;
  margin-left: 3px;
}

.k-new-page-desc {
  font-size: 0.92rem;
  color: #5f6775;
  line-height: 1.45;
  margin: 0 0 1.5rem;
}

/* White Form Card */
.k-new-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #ebecee;
  margin-bottom: 2.25rem;
}

.k-new-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.k-card-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fee7d6;
  color: #a8380c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.k-card-main-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1d20;
  margin: 0 0 2px;
}

.k-card-main-sub {
  font-size: 0.82rem;
  color: #718096;
  margin: 0;
}

/* Fields & Inputs */
.k-field-group {
  margin-bottom: 1.25rem;
}

.k-field-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #1a1d20;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.45rem;
}

.k-required {
  color: #e53935;
}

.k-field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f2f3f5;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.k-field-input-wrap:focus-within {
  background: #ffffff;
  border-color: #a8380c;
  box-shadow: 0 0 0 3px rgba(168, 56, 12, 0.12);
}

.k-input-icon-left {
  position: absolute;
  left: 14px;
  color: #8b92a0;
  font-size: 1.05rem;
  pointer-events: none;
}

.k-input-icon-right {
  position: absolute;
  right: 14px;
  color: #8b92a0;
  font-size: 1.05rem;
  pointer-events: none;
}

.k-styled-input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e232c;
  font-family: inherit;
  padding: 0 14px 0 42px;
}

.k-styled-input::placeholder {
  color: #8b92a0;
  font-size: 0.9rem;
}

/* Gender Segmented Row */
.k-gender-segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.k-gender-btn {
  height: 48px;
  border-radius: 12px;
  border: none;
  background: #f2f3f5;
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.k-gender-btn:hover {
  background: #e5e7eb;
}

.k-gender-btn.active {
  background: #a8380c;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(168, 56, 12, 0.25);
}

.k-gender-sym {
  font-size: 1.05rem;
}

/* Date & Time Input Styling */
.k-date-wrap .k-styled-input,
.k-time-input-wrap .k-styled-input {
  cursor: pointer;
}

.k-time-input-wrap .k-styled-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.k-time-input-wrap .k-styled-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Time Combined Row & AM/PM */
.k-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.k-approx-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #4a5568;
  font-weight: 600;
  cursor: pointer;
}

.k-approx-checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: #a8380c;
  cursor: pointer;
}

.k-time-combined-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.k-time-input-wrap {
  flex: 1;
}

.k-ampm-segmented-control {
  display: flex;
  background: #f2f3f5;
  border-radius: 12px;
  padding: 3px;
  height: 50px;
  align-items: center;
}

.k-ampm-btn {
  border: none;
  background: transparent;
  height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #718096;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.k-ampm-btn.active {
  background: #ffffff;
  color: #a8380c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.k-field-caption {
  font-size: 0.76rem;
  color: #718096;
  line-height: 1.4;
  margin: 0.45rem 0 0;
}

/* Location input */
.k-location-wrap .k-styled-input {
  padding-right: 42px;
}

/* Generate Kundali button */
.k-generate-btn {
  width: 100%;
  height: 52px;
  background: #a8380c;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(168, 56, 12, 0.28);
}

.k-generate-btn:hover {
  background: #94300a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(168, 56, 12, 0.35);
}

/* Recent Kundalis Section */
.k-recent-section {
  margin-top: 1.5rem;
}

.k-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.k-recent-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1a1d20;
  margin: 0;
}

.k-recent-count-pill {
  background: #f1f3f5;
  color: #475569;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.k-recent-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 1.15rem;
}

/* Recent Cards */
.k-recent-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.k-recent-card {
  background: #ffffff;
  border: 1px solid #ebecee;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.k-recent-card:hover {
  border-color: #a8380c;
  box-shadow: 0 6px 18px rgba(168, 56, 12, 0.08);
}

.k-recent-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.k-recent-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.k-recent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fee7d6;
  color: #a8380c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.k-recent-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1d20;
  margin: 0 0 2px;
}

.k-recent-meta {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.k-recent-menu-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.k-recent-menu-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.k-recent-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f3f5;
}

.k-btn-edit {
  background: #f1f3f5;
  color: #334155;
  border: none;
  border-radius: 10px;
  height: 42px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.k-btn-edit:hover {
  background: #e2e8f0;
}

.k-btn-view {
  background: #a8380c;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  height: 42px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.k-btn-view:hover {
  background: #94300a;
}


/* ==========================================================================
   DAILY HOROSCOPE UI STYLES
   ========================================================================== */

.horoscope-body {
  background: #f8f9fa;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.horoscope-main-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Horoscope Hero Header */
.h-hero-header {
  background: linear-gradient(135deg, #c75427 0%, #b0461e 100%);
  color: #ffffff;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 4px 20px rgba(199, 84, 39, 0.2);
}

.h-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.h-hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.h-hero-icon-ring {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
}

.h-hero-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-hero-subtitle {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.h-hero-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Language Switcher */
.h-lang-toggle, .h-view-toggle {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 3px;
  display: flex;
  gap: 2px;
}

.h-lang-btn, .h-view-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.h-lang-btn:hover, .h-view-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.h-lang-btn.active, .h-view-btn.active {
  background: #ffffff;
  color: #c75427;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Date Toolbar */
.h-date-toolbar {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  padding: 0.85rem 2.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.h-date-toolbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.h-quick-dates {
  display: flex;
  gap: 0.5rem;
}

.h-date-pill {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #424242;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.h-date-pill:hover {
  background: #ebebeb;
  border-color: #d6d6d6;
}

.h-date-pill.active {
  background: #c75427;
  color: #ffffff;
  border-color: #c75427;
  box-shadow: 0 2px 8px rgba(199, 84, 39, 0.25);
}

.h-date-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.h-date-picker-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #616161;
}

.h-date-input {
  background: #f9f9f9;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #212121;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.h-date-input:focus {
  border-color: #c75427;
}

/* Zodiac Selector Section */
.h-zodiac-section {
  background: #ffffff;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid #eeeeee;
}

.h-zodiac-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 0.75rem;
}

.h-zodiac-card {
  background: #fdfdfd;
  border: 1.5px solid #eaeaea;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.h-zodiac-card:hover {
  border-color: #c75427;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(199, 84, 39, 0.12);
  background: #ffffff;
}

.h-zodiac-card.active {
  border-color: #c75427;
  background: #fff8f5;
  box-shadow: 0 4px 16px rgba(199, 84, 39, 0.18);
  transform: translateY(-2px);
}

.h-zodiac-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.h-zodiac-names {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.h-zodiac-main {
  font-size: 0.92rem;
  color: #1a1a1a;
  font-weight: 700;
}

.h-zodiac-card.active .h-zodiac-main {
  color: #c75427;
  font-weight: 800;
}

.h-zodiac-sub {
  font-size: 0.72rem;
  color: #757575;
  font-weight: 500;
}

.h-zodiac-element {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.h-zodiac-element.fire, .element-fire { background: #ffebee; color: #c62828; }
.h-zodiac-element.earth, .element-earth { background: #e8f5e9; color: #2e7d32; }
.h-zodiac-element.air, .element-air { background: #e3f2fd; color: #1565c0; }
.h-zodiac-element.water, .element-water { background: #ede7f6; color: #512da8; }

/* Main Content Area */
.h-content-wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2.5rem 1rem;
  box-sizing: border-box;
  flex: 1;
}

/* Loader */
.h-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  gap: 1rem;
  color: #757575;
  font-weight: 600;
}

/* Focused Horoscope Card */
.h-focused-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eaeaea;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.25s ease;
}

.h-card-topbar {
  background: #fafafa;
  border-bottom: 1px solid #eeeeee;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.h-card-identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.h-card-icon-badge {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #c75427 0%, #ff9800 100%);
  color: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 16px rgba(199, 84, 39, 0.25);
  flex-shrink: 0;
}

.h-card-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.h-pill-tag {
  background: #f0f0f0;
  color: #424242;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.h-card-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.h-card-subtitle {
  font-size: 1rem;
  color: #757575;
  font-weight: 500;
}

.h-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.h-action-icon-btn {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  color: #424242;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.h-action-icon-btn:hover {
  background: #f5f5f5;
  border-color: #c75427;
  color: #c75427;
}

/* Forecast Body */
.h-forecast-body {
  padding: 2rem 2.25rem;
}

.h-forecast-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8f5;
  color: #c75427;
  border: 1px solid rgba(199, 84, 39, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.h-forecast-text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #2c3e50;
  margin: 0 0 1.5rem;
  white-space: pre-line;
}

/* Disclaimer Box */
.h-forecast-disclaimer {
  background: #fffde7;
  border: 1px solid #fff59d;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: #5d4037;
  font-size: 0.88rem;
  line-height: 1.55;
}

.h-forecast-disclaimer strong {
  display: block;
  color: #3e2723;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.h-forecast-disclaimer p {
  margin: 0;
}

.h-disclaimer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Consult Strip */
.h-consult-strip {
  background: linear-gradient(105deg, #fff7f2 0%, #fff1ea 100%);
  border-top: 1px solid #f9ded2;
  padding: 1.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.h-consult-text strong {
  font-size: 1.05rem;
  color: #c75427;
  display: block;
  margin-bottom: 2px;
}

.h-consult-text p {
  margin: 0;
  color: #616161;
  font-size: 0.9rem;
}

.h-consult-btn {
  background: #c75427;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(199, 84, 39, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.h-consult-btn:hover {
  background: #b0461e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(199, 84, 39, 0.35);
}

/* All 12 Signs Grid */
.h-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.h-mini-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.h-mini-card:hover {
  border-color: #c75427;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(199, 84, 39, 0.12);
}

.h-mini-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.h-mini-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.h-mini-icon {
  font-size: 1.75rem;
  width: 44px;
  height: 44px;
  background: #fff8f5;
  border: 1px solid rgba(199, 84, 39, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-mini-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
}

.h-mini-sub {
  font-size: 0.75rem;
  color: #757575;
  font-weight: 500;
}

.h-mini-forecast {
  color: #424242;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.h-mini-footer {
  border-top: 1px solid #f0f0f0;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #757575;
  font-weight: 600;
}

.h-mini-read-more {
  color: #c75427;
  font-weight: 700;
}

/* Toast */
.h-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a1a1a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 9999;
}

.h-toast-notification.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .h-hero-header {
    padding: 1.25rem 1.25rem;
  }
  .h-date-toolbar {
    padding: 0.75rem 1.25rem;
  }
  .h-zodiac-section {
    padding: 1rem 1rem;
    overflow-x: auto;
  }
  .h-zodiac-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .h-zodiac-card {
    min-width: 95px;
    flex-shrink: 0;
  }
  .h-content-wrapper {
    padding: 1.25rem 1rem 1rem;
  }
  .h-forecast-body {
    padding: 1.25rem;
  }
  .h-card-topbar {
    padding: 1.25rem;
  }
}

/* Horoscope "Will Be Shown Soon" State */
.h-soon-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  padding: 3.5rem 2rem;
  max-width: 680px;
  margin: 1.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h-soon-icon {
  font-size: 2.8rem;
  width: 76px;
  height: 76px;
  background: #fff8f5;
  border: 1.5px solid rgba(199, 84, 39, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(199, 84, 39, 0.1);
  animation: floatSubtle 3s ease-in-out infinite;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.h-soon-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.h-soon-desc {
  font-size: 1.02rem;
  color: #555555;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 1.75rem;
}

.h-soon-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.h-soon-btn-sec {
  background: #f4f5f7;
  color: #333333;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid #e0e2e6;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.h-soon-btn-sec:hover {
  background: #e8eaee;
  border-color: #c75427;
  color: #c75427;
}

/* ==========================================================================
   MULTI-PLATFORM WEBSITE NAVIGATION & UNIVERSAL FOOTER
   ========================================================================== */

/* Hide top website link/nav when loaded inside an app WebView */
body.platform-in-app .website-only-nav,
body.platform-in-app .top-website-link {
  display: none !important;
}

/* Website Top Header Nav (Top link only on website) */
.website-only-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.website-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.website-nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.website-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #1e232c;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.website-nav-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
}

.website-nav-subbadge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c75427;
  background: #fff3ee;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #fed7c7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.website-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f4f5f7;
  padding: 4px;
  border-radius: 30px;
}

.website-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555c68;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.website-nav-tab:hover {
  color: #1e232c;
}

.website-nav-tab.active {
  background: #ffffff;
  color: #c75427;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.website-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-website-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: #c75427;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(199, 84, 39, 0.25);
  cursor: pointer;
  border: none;
}

.top-website-link:hover {
  background: #a8380c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(199, 84, 39, 0.35);
}

@media (max-width: 860px) {
  .website-nav-inner {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
  }
  .website-nav-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }
  .top-website-link {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   MINIMAL APP STORE BUTTONS FOOTER
   ========================================================================== */

.platform-app-footer {
  padding: 1.25rem 1.5rem 2rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* iOS App Store Themed Button */
.store-badge-ios {
  background: linear-gradient(135deg, #0b1220 0%, #111d33 100%);
  border: 1.5px solid rgba(0, 122, 255, 0.45);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.16);
}

.store-badge-ios:hover {
  background: linear-gradient(135deg, #0d1a33 0%, #0062cc 100%);
  border-color: #007aff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 122, 255, 0.32);
}

.store-badge-ios .store-badge-sub {
  color: #93c5fd;
}

.store-badge-ios .store-icon-svg {
  fill: #ffffff;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}

/* Android Google Play Themed Button */
.store-badge-android {
  background: linear-gradient(135deg, #071911 0%, #0d281c 100%);
  border: 1.5px solid rgba(0, 230, 118, 0.45);
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.16);
}

.store-badge-android:hover {
  background: linear-gradient(135deg, #0a2418 0%, #007849 100%);
  border-color: #00e676;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 230, 118, 0.32);
}

.store-badge-android .store-badge-sub {
  color: #86efac;
}

.store-badge-android .store-icon-svg {
  filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.3));
}

.store-icon-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-badge-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  line-height: 1;
}

.store-badge-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .platform-app-footer {
    padding: 1rem 1rem 1.5rem;
    margin-top: 1rem;
  }
  .store-badge-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ==========================================================================
   CONSULTATION DIALOG MODAL (1-MINUTE TRIGGER)
   ========================================================================== */

.consult-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-modal-backdrop.is-active {
  display: flex;
  opacity: 1;
}

.consult-modal-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: linear-gradient(165deg, #121826 0%, #172134 45%, #101622 100%);
  border: 1px solid rgba(224, 159, 62, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75), 
              0 0 35px rgba(224, 159, 62, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  color: #ffffff;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  overflow: hidden;
}

.consult-modal-backdrop.is-active .consult-modal-card {
  transform: scale(1) translateY(0);
}

/* Ambient glow accent in modal background */
.consult-modal-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 180px;
  background: radial-gradient(circle, rgba(224, 159, 62, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.consult-modal-content {
  position: relative;
  z-index: 1;
}

.consult-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.consult-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: scale(1.08);
}

/* Top Pill / Badge */
.consult-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(224, 159, 62, 0.12);
  border: 1px solid rgba(224, 159, 62, 0.32);
  color: #f6c879;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.consult-modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.65rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.consult-modal-title span.highlight {
  background: linear-gradient(135deg, #f6c879 0%, #e09f3e 50%, #f9d99a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.consult-modal-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 auto 1.25rem;
  max-width: 420px;
}

/* Special Price Banner */
.consult-price-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(224, 159, 62, 0.4);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: #f1f5f9;
}

.consult-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f6c879;
}

/* Primary Action Button */
.consult-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.consult-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.consult-btn-primary:hover {
  transform: translateY(-2px);
}

/* iOS theme */
.consult-btn-ios {
  background: linear-gradient(135deg, #0d1a33 0%, #007aff 100%);
  border: 1.5px solid rgba(0, 122, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.consult-btn-ios:hover {
  box-shadow: 0 10px 28px rgba(0, 122, 255, 0.45);
}

/* Android theme */
.consult-btn-android {
  background: linear-gradient(135deg, #092015 0%, #00875a 100%);
  border: 1.5px solid rgba(0, 230, 118, 0.55);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.25);
}

.consult-btn-android:hover {
  box-shadow: 0 10px 28px rgba(0, 230, 118, 0.4);
}

/* Web fallback theme (not detected) */
.consult-btn-web {
  background: linear-gradient(135deg, #e09f3e 0%, #c75427 100%);
  border: 1.5px solid rgba(224, 159, 62, 0.6);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(199, 84, 39, 0.35);
}

.consult-btn-web:hover {
  box-shadow: 0 10px 28px rgba(199, 84, 39, 0.5);
}

.consult-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}

.consult-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.consult-btn-label {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.consult-btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

/* Secondary / Alternate store options */
.consult-alt-options {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.consult-alt-link {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.consult-alt-link:hover {
  color: #f6c879;
}

/* Trust Badges Footer */
.consult-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.consult-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.consult-dismiss-link {
  display: inline-block;
  margin-top: 0.85rem;
  background: none;
  border: none;
  font-size: 0.78rem;
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 8px;
}

.consult-dismiss-link:hover {
  color: #cbd5e1;
  text-decoration: underline;
}

@media (max-width: 540px) {
  .consult-modal-card {
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 20px;
  }
  .consult-modal-title {
    font-size: 1.35rem;
  }
  .consult-modal-desc {
    font-size: 0.86rem;
  }
  .consult-price-banner {
    font-size: 0.82rem;
    padding: 8px 12px;
  }
}



