/* ========================================
   AstroTruth - Premium Astrology Platform
   Orange Theme | Mobile-First | Dark/Light
   ======================================== */

:root {
  --primary: #FF6B00;
  --primary-dark: #E65C00;
  --primary-light: #FF8C38;
  --primary-gradient: linear-gradient(135deg, #FF6B00, #FF8C38);
  --secondary: #1A1A2E;
  --accent: #FFD700;
  --success: #28A745;
  --danger: #DC3545;
  --warning: #FFC107;
  --info: #17A2B8;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-dark: #0F0F23;
  --bg-dark-card: #1A1A2E;
  --bg-dark-sidebar: #16213E;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --text-light: #E0E0E0;
  --border-light: #DEE2E6;
  --border-dark: #2D2D44;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --sidebar-width: 260px;
  --header-height: 64px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg-light: #0F0F23;
  --bg-white: #1A1A2E;
  --bg-secondary: #16213E;
  --text-dark: #E0E0E0;
  --text-muted: #9A9AB0;
  --border-light: #2D2D44;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.4);
}

/* ===== COMPREHENSIVE DARK MODE FIXES ===== */
[data-theme="dark"] body {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-dark) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] li,
[data-theme="dark"] td,
[data-theme="dark"] th,
[data-theme="dark"] label,
[data-theme="dark"] div,
[data-theme="dark"] small {
  color: inherit;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-body {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .card {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .card-body,
[data-theme="dark"] .card-header,
[data-theme="dark"] .card-footer {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .card .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .table {
  color: var(--text-dark) !important;
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-dark);
}

[data-theme="dark"] .table th {
  background: var(--bg-light) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .table td {
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .form-label {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .form-check-label {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .input-group-text {
  background: var(--border-light) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .dropdown-menu {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .dropdown-item {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .dropdown-item.active {
  background: var(--primary) !important;
  color: #fff !important;
}

[data-theme="dark"] .dropdown-divider {
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .modal-content {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .modal-header {
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .modal-footer {
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .modal-title {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

[data-theme="dark"] .mega-menu {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .mega-col {
  border-right-color: var(--border-light) !important;
}

[data-theme="dark"] .mega-col a {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .mega-col a:hover {
  color: var(--primary) !important;
}

[data-theme="dark"] .navbar-public .navbar-collapse {
  background: var(--bg-white) !important;
}

[data-theme="dark"] .nav-pills .nav-link {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .nav-pills .nav-link.active {
  color: #fff !important;
}

[data-theme="dark"] .stat-card {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .zodiac-card {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .zodiac-card .zodiac-name {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .zodiac-card .zodiac-date {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .astrologer-card {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .product-card {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .product-card .p-3,
[data-theme="dark"] .product-card h6 {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .service-card {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Auth pages dark mode */
[data-theme="dark"] .auth-right {
  background: var(--bg-white) !important;
}

[data-theme="dark"] .auth-right h3,
[data-theme="dark"] .auth-right p,
[data-theme="dark"] .auth-right label,
[data-theme="dark"] .auth-right span,
[data-theme="dark"] .auth-right a:not(.btn) {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .auth-right .text-muted {
  color: var(--text-muted) !important;
}

/* Blog page dark mode */
[data-theme="dark"] .blog-content {
  color: var(--text-dark) !important;
}

/* Pagination in dark mode */
[data-theme="dark"] .pagination .page-link {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .pagination .page-item.active .page-link {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

[data-theme="dark"] .pagination .page-item.disabled .page-link {
  background: var(--bg-light) !important;
  color: var(--text-muted) !important;
}

/* Contact / About dark mode */
[data-theme="dark"] .shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* General dark text fixes */
[data-theme="dark"] .fw-600,
[data-theme="dark"] .fw-700,
[data-theme="dark"] .fw-800,
[data-theme="dark"] .fw-900,
[data-theme="dark"] .fw-bold,
[data-theme="dark"] strong {
  color: inherit;
}

[data-theme="dark"] .border-bottom {
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .border-top {
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .border {
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .list-group-item {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .alert {
  color: inherit;
}

/* Horoscope dark mode - lucky number/color/mood boxes */
[data-theme="dark"] [style*="background:var(--bg-secondary)"],
[data-theme="dark"] .rounded[style*="background:var(--bg-secondary)"] {
  background: #16213E !important;
  color: var(--text-dark) !important;
}

/* Kundli form dark mode */
[data-theme="dark"] .container p,
[data-theme="dark"] .container h2,
[data-theme="dark"] .container h3,
[data-theme="dark"] .container h4 {
  color: var(--text-dark);
}

/* Gemstone/numerology/predictions borders in dark mode */
[data-theme="dark"] .gem-card,
[data-theme="dark"] .numstat,
[data-theme="dark"] .house-cell,
[data-theme="dark"] .dosha-card,
[data-theme="dark"] .yoga-card {
  border-color: var(--border-light) !important;
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Breadcrumb */
[data-theme="dark"] .breadcrumb-wrapper {
  color: var(--text-muted) !important;
}

/* Accordion dark mode */
[data-theme="dark"] .accordion-item {
  background: var(--bg-white) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .accordion-button {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .accordion-body {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Toast dark mode */
[data-theme="dark"] .toast-custom {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Tooltip dark mode fix */
[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

/* Fix specific inline bg-colors used in pages */
[data-theme="dark"] [style*="background:#f8f9fa"],
[data-theme="dark"] [style*="background: #f8f9fa"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background:white"],
[data-theme="dark"] [style*="background: white"] {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Fix select/option colors in dark mode */
[data-theme="dark"] option {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Fix btn-outline-secondary in dark mode */
[data-theme="dark"] .btn-outline-secondary {
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .btn-outline-secondary:hover {
  background: var(--border-light) !important;
  color: var(--text-dark) !important;
}

/* Fix bg-light in dark mode */
[data-theme="dark"] .bg-light {
  background: var(--bg-light) !important;
}

/* Fix notification dropdown in dark mode */
[data-theme="dark"] .notification-dropdown {
  background: var(--bg-white) !important;
}

/* Live sessions text */
[data-theme="dark"] .live-viewer-count {
  color: var(--text-muted) !important;
}

/* Dashboard table wrapper */
[data-theme="dark"] .table-wrapper {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

/* Fix color: #555, #333, #666, #888, #000 in dark mode */
[data-theme="dark"] [style*="color:#555"],
[data-theme="dark"] [style*="color: #555"],
[data-theme="dark"] [style*="color:#333"],
[data-theme="dark"] [style*="color: #333"],
[data-theme="dark"] [style*="color:#666"],
[data-theme="dark"] [style*="color: #666"],
[data-theme="dark"] [style*="color:#888"],
[data-theme="dark"] [style*="color: #888"],
[data-theme="dark"] [style*="color:#000"],
[data-theme="dark"] [style*="color: #000"],
[data-theme="dark"] [style*="color:black"],
[data-theme="dark"] [style*="color: black"],
[data-theme="dark"] [style*="color:#212529"],
[data-theme="dark"] [style*="color: #212529"] {
  color: var(--text-dark) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
  color: #fff;
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #212529;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
}

.btn-accent:hover {
  background: #E6C200;
}

.btn-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary);
  }

  to {
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-gradient {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card .stat-value {
  font-size: 28px;
  font-weight: 800;
}

.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== TOP BAR ===== */
.topbar-astro {
  background: linear-gradient(90deg, #1a0530, #2d1b69);
  color: #fff;
  padding: 6px 0;
  font-size: 13px;
}

.topbar-link {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color .2s;
}

.topbar-link:hover {
  color: #FF6B00;
}

/* ===== NAVBAR (PUBLIC) ===== */
.navbar-public {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  z-index: 1030;
  padding: 6px 0;
}

.navbar-public .navbar-brand {
  font-size: 24px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-public .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.navbar-public .nav-link:hover,
.navbar-public .nav-link.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
}

/* ===== MEGA MENU ===== */
.mega-dropdown {
  position: static !important;
}

.mega-menu {
  width: 100%;
  padding: 20px 30px;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--primary);
}

.mega-col {
  padding: 10px 20px;
  border-right: 1px solid var(--border-light);
}

.mega-col:last-child {
  border-right: none;
}

.mega-heading {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.mega-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s, padding-left .2s;
}

.mega-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

@media (max-width:991.98px) {
  .mega-menu {
    padding: 10px;
  }

  .mega-col {
    border-right: none;
    padding: 5px 10px;
  }

  .navbar-public .navbar-collapse {
    background: var(--bg-white);
    padding: 15px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
    margin: 0 -12px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .navbar-public .nav-link {
    padding: 10px 12px !important;
    border-bottom: 1px solid var(--border-light);
  }

  .navbar-public .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
  }

  .mega-dropdown {
    position: relative !important;
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 50%, #16213E 100%);
  color: #fff;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,215,0,0.3)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,215,0,0.2)"/><circle cx="50" cy="70" r="0.8" fill="rgba(255,215,0,0.25)"/><circle cx="30" cy="90" r="0.6" fill="rgba(255,215,0,0.15)"/><circle cx="70" cy="10" r="0.7" fill="rgba(255,215,0,0.2)"/></svg>');
  opacity: 0.5;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 900;
}

.hero-section .highlight {
  color: var(--primary);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== SIDEBAR (DASHBOARD) ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--secondary);
  color: #fff;
  z-index: 1040;
  transition: var(--transition);
  overflow-y: auto;
}

.sidebar .sidebar-brand {
  padding: 20px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .sidebar-brand i {
  font-size: 28px;
}

.sidebar .nav-section {
  padding: 12px 16px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  transition: var(--transition);
}

.sidebar .nav-link:hover {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
}

.sidebar .nav-link.active {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 8px;
  margin: 2px 12px;
  padding: 10px 16px;
}

.sidebar .nav-link i {
  width: 20px;
  text-align: center;
}

.sidebar .nav-link .badge {
  margin-left: auto;
  font-size: 10px;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-wrapper {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: var(--transition);
}

.dashboard-header {
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--shadow);
}

.dashboard-content {
  padding: 24px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.breadcrumb-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 4px;
}

/* ===== SIDEBAR TOGGLE (MOBILE) ===== */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1035;
}

/* ===== TABLES ===== */
.table-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-wrapper .table {
  margin-bottom: 0;
}

.table-wrapper .table th {
  background: var(--bg-light);
  border-bottom: 2px solid var(--border-light);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 12px 16px;
  white-space: nowrap;
}

.table-wrapper .table td {
  padding: 12px 16px;
  vertical-align: middle;
  border-color: var(--border-light);
}

/* ===== BADGES ===== */
.badge-online {
  background: #28A74520;
  color: #28A745;
}

.badge-offline {
  background: #DC354520;
  color: #DC3545;
}

.badge-busy {
  background: #FFC10720;
  color: #FFC107;
}

.badge-pending {
  background: #FFC10720;
  color: #856404;
}

.badge-approved {
  background: #28A74520;
  color: #155724;
}

.badge-rejected {
  background: #DC354520;
  color: #721C24;
}

/* ===== PROFILE CARDS ===== */
.astrologer-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.astrologer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.astrologer-card .card-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.astrologer-card .online-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--bg-white);
  position: absolute;
  bottom: 2px;
  right: 2px;
}

.astrologer-card .rating {
  color: var(--accent);
}

.astrologer-card .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.astrologer-card .specialties .badge {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  font-weight: 500;
  margin: 2px;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.product-card .original-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== CHAT UI ===== */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - 48px);
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-bubble.sent {
  background: var(--primary-gradient);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.received {
  background: var(--bg-light);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-input-area input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 10px 20px;
  outline: none;
  font-size: 14px;
  background: var(--bg-light);
}

.chat-input-area input:focus {
  border-color: var(--primary);
}

.chat-input-area button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===== LIVE STREAM ===== */
.live-badge {
  background: #DC3545;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.live-viewer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.live-viewer-count i {
  color: var(--danger);
}

/* ===== WALLET ===== */
.wallet-card {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.wallet-card::after {
  content: '₹';
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 120px;
  opacity: 0.1;
  font-weight: 900;
}

.wallet-card .balance {
  font-size: 36px;
  font-weight: 900;
}

.wallet-card .label {
  opacity: 0.8;
  font-size: 14px;
}

/* ===== HOROSCOPE ===== */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.zodiac-card {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.zodiac-card:hover,
.zodiac-card.active {
  border-color: var(--primary);
  background: rgba(255, 107, 0, 0.05);
  transform: translateY(-3px);
}

.zodiac-card .zodiac-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.zodiac-card .zodiac-name {
  font-weight: 600;
  font-size: 14px;
}

.zodiac-card .zodiac-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Zodiac Mini Bar */
.zodiac-mini-item {
  transition: transform .2s;
}

.zodiac-mini-item:hover {
  transform: translateY(-3px);
}

/* Service Card (icon grid) */
.service-card {
  transition: all .3s;
  background: var(--bg-white);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

/* ===== KUNDLI CHART ===== */
.kundli-chart {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.kundli-chart svg {
  width: 100%;
  height: 100%;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  transition: var(--transition);
  background: var(--bg-white);
  color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.input-group-text {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ===== AUTH PAGES ===== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #0F0F23, #1A1A2E);
}

.auth-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '☆';
  position: absolute;
  font-size: 400px;
  opacity: 0.03;
  color: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.auth-right {
  flex: 1;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card .logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

/* ===== DIVIDER TEXT ===== */
.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-light);
}

.divider-text span {
  padding: 0 12px;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer h5 {
  color: #fff;
}

/* ===== ASTROSAGE-STYLE FLOATING BUTTONS ===== */
.floating-talk-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FF6B00, #FF8C38);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
  transition: all .3s;
  text-decoration: none;
  animation: floatPulse 2s infinite;
}

.floating-talk-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.55);
  color: #fff;
}

.floating-talk-btn i {
  font-size: 18px;
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
  }

  50% {
    box-shadow: 0 6px 35px rgba(255, 107, 0, 0.6);
  }
}

/* Scroll to Top */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 1050;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== OFFER TICKER / MARQUEE ===== */
.offer-ticker {
  background: linear-gradient(90deg, #FF6B00, #E65C00, #FF8C38);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.offer-ticker-content {
  display: inline-block;
  animation: tickerScroll 25s linear infinite;
}

.offer-ticker-content span {
  padding: 0 40px;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== ZODIAC POPUP ===== */
.zodiac-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.zodiac-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.zodiac-popup {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 30px;
  max-width: 420px;
  width: 90%;
  position: relative;
  transform: scale(.85);
  transition: transform .3s;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.zodiac-popup-overlay.show .zodiac-popup {
  transform: scale(1);
}

.zodiac-popup .close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.zodiac-popup .zodiac-emoji {
  font-size: 56px;
  margin-bottom: 10px;
}

.zodiac-popup .zodiac-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.zodiac-popup .zodiac-hi {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.zodiac-popup .zodiac-prediction {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
  min-height: 60px;
}

.zodiac-popup .zodiac-lucky {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
  font-size: 13px;
}

.zodiac-popup .zodiac-lucky div {
  padding: 8px 14px;
  background: rgba(255, 107, 0, 0.06);
  border-radius: 10px;
}

.zodiac-popup .zodiac-lucky strong {
  color: var(--primary);
}

/* ===== PROMO POPUP ===== */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 1070;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.promo-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.promo-popup {
  background: #fff;
  border-radius: 20px;
  max-width: 440px;
  width: 92%;
  overflow: hidden;
  position: relative;
  transform: scale(.8);
  transition: transform .35s;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.promo-popup-overlay.show .promo-popup {
  transform: scale(1);
}

.promo-popup .promo-header {
  background: linear-gradient(135deg, #1a0530, #FF6B00);
  color: #fff;
  padding: 30px 24px;
  text-align: center;
}

.promo-popup .promo-header h3 {
  font-weight: 900;
  margin-bottom: 4px;
  color: #fff !important;
}

.promo-popup .promo-header .promo-amount {
  font-size: 42px;
  font-weight: 900;
  color: #FFD700;
}

.promo-popup .promo-body {
  padding: 24px;
  text-align: center;
}

.promo-popup .promo-features {
  text-align: left;
  margin: 16px 0;
}

.promo-popup .promo-features li {
  padding: 6px 0;
  font-size: 14px;
  color: #333;
}

.promo-popup .promo-features i {
  color: #28A745;
  margin-right: 8px;
}

.promo-popup .close-promo {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

/* ===== SCROLL ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PULSE CTA ===== */
.pulse-btn {
  animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 107, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

/* Shimmer effect for loading */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ===== ASTROLOGER QUICK VIEW MODAL ===== */
.astro-quick-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: none;
}

.astro-quick-modal .modal-header {
  background: linear-gradient(135deg, #1a0530, #2d1b69);
  color: #fff;
  border: none;
  padding: 20px 24px;
}

.astro-quick-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.astro-quick-modal .astro-avatar-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #FFD700;
  object-fit: cover;
}

.astro-quick-modal .connect-btns .btn {
  flex: 1;
  padding: 12px;
  font-weight: 700;
  border-radius: 12px;
}

/* ===== ENHANCED CARD ANIMATIONS ===== */
.card-hover-grow {
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.card-hover-grow:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
}

[data-theme="dark"] .card-hover-grow:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
}

/* Online status badge for astrologer cards */
.status-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.status-badge-online.online {
  background: #28A74520;
  color: #155724;
}

.status-badge-online.offline {
  background: #DC354520;
  color: #721C24;
}

.status-badge-online .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge-online.online .dot {
  background: #28A745;
  animation: dotPulse 1.5s infinite;
}

.status-badge-online.offline .dot {
  background: #DC3545;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

/* ===== TODAY'S SPECIAL RIBBON ===== */
.ribbon {
  position: absolute;
  top: 12px;
  left: -5px;
  background: #DC3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 4px 4px 0;
}

.ribbon::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  border: 3px solid transparent;
  border-right-color: #a12a35;
  border-top-color: #a12a35;
}

font-size: 16px;
margin-bottom: 20px;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
}

.footer a:hover {
  color: var(--primary);
}

.footer-link {
  color: #aaa;
  text-decoration: none;
  transition: color .2s, padding-left .2s;
  font-size: 13px;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
  color: var(--primary);
  border-color: var(--border-light);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
}

.pagination .page-item.active .page-link {
  background: var(--primary-gradient);
  border-color: transparent;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== UTILITIES ===== */
.bg-orange-light {
  background: rgba(255, 107, 0, 0.08);
}

.text-orange {
  color: var(--primary) !important;
}

.border-orange {
  border-color: var(--primary) !important;
}

.rounded-xl {
  border-radius: var(--radius-lg);
}

.fw-800 {
  font-weight: 800;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 16px;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== LOADING ===== */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner-orange {
  color: var(--primary);
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
}

.toast-custom {
  background: var(--bg-white);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  margin-bottom: 8px;
  animation: slideIn 0.3s ease;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== NOTIFICATION DROPDOWN ===== */
.notification-dropdown {
  width: 360px;
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.notification-dropdown .notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
  transition: var(--transition);
}

.notification-dropdown .notif-item:hover {
  background: var(--bg-light);
}

.notification-dropdown .notif-item.unread {
  background: rgba(255, 107, 0, 0.04);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .sidebar-overlay.show {
    display: block;
  }

  .dashboard-wrapper {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: block;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .auth-wrapper {
    flex-direction: column;
  }

  .auth-left {
    display: none;
  }

  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .dashboard-content {
    padding: 12px;
  }

  .stat-card .stat-value {
    font-size: 22px;
  }

  .chat-bubble {
    max-width: 90%;
  }

  .notification-dropdown {
    width: 300px;
  }

  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== ENHANCED MOBILE RESPONSIVE (AstroSage/AstroTalk Style) ===== */

/* Product cards mobile */
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Better touch targets mobile */
@media (max-width: 767.98px) {

  /* Navbar mobile */
  .navbar-public {
    padding: 8px 0 !important;
  }

  .navbar-public .navbar-brand img {
    height: 32px !important;
  }

  .navbar-public .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Hero mobile */
  .hero-section {
    padding: 40px 0 60px !important;
  }

  .hero-section h1 {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }

  .hero-section p {
    font-size: 14px;
  }

  /* Cards mobile */
  .card {
    border-radius: var(--radius-sm) !important;
  }

  .card-body {
    padding: 14px !important;
  }

  /* Stat cards mobile */
  .stat-card {
    padding: 14px !important;
  }

  .stat-card .stat-label {
    font-size: 11px;
  }

  .stat-card .stat-value {
    font-size: 20px;
  }

  /* Tables scrollable on mobile */
  .table-responsive {
    font-size: 13px;
  }

  .table th,
  .table td {
    padding: 8px 10px !important;
    white-space: nowrap;
  }

  /* Product grid mobile */
  .product-card-img {
    height: 150px;
  }

  .product-card .p-3 {
    padding: 10px !important;
  }

  .product-card h6 {
    font-size: 13px !important;
  }

  /* Cart page mobile */
  .cart-item-row {
    flex-direction: column;
    gap: 8px;
  }

  /* Checkout mobile */
  .sticky-top {
    position: static !important;
  }

  /* Wallet card mobile */
  .wallet-card {
    padding: 20px !important;
  }

  .wallet-card .balance {
    font-size: 28px !important;
  }

  /* Page title mobile */
  .page-title {
    font-size: 1.3rem !important;
  }

  /* Form controls bigger touch targets */
  .form-control,
  .form-select {
    padding: 10px 12px;
    font-size: 15px;
  }

  .btn {
    padding: 10px 16px;
  }

  .btn-sm {
    padding: 6px 12px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Modal fullscreen on mobile */
  .modal-dialog {
    margin: 10px !important;
  }

  .modal-content {
    border-radius: var(--radius) !important;
  }

  /* Astrologer cards mobile */
  .astrologer-card {
    padding: 12px !important;
  }

  /* Bottom sticky CTA bar for product detail */
  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Container less padding */
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Badge improvements */
  .badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Breadcrumb improvements */
  .breadcrumb {
    font-size: 13px;
  }

  /* Footer mobile */
  .footer {
    padding: 30px 0 !important;
  }

  .footer h6 {
    font-size: 15px;
  }

  .footer a {
    padding: 4px 0;
    display: block;
  }

  /* Sidebar mobile improvements */
  .sidebar {
    z-index: 1060 !important;
  }

  /* Header mobile */
  .dashboard-header {
    padding: 10px 14px !important;
  }
}

/* Very small devices (320px-400px) */
@media (max-width: 400px) {
  .hero-section h1 {
    font-size: 1.35rem !important;
  }

  .d-flex.gap-2 {
    gap: 0.35rem !important;
  }

  .stat-card .stat-value {
    font-size: 18px;
  }

  .product-card-img {
    height: 120px;
  }

  .col-6 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .row.g-3 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
}

/* Tablet horizontal (768-991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .product-card-img {
    height: 180px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly links */
@media (hover: none) {
  .product-card:hover {
    transform: none;
  }

  .nav-link:active,
  .btn:active {
    opacity: 0.8;
  }
}

/* Pull to refresh indicator area */
body {
  overscroll-behavior-y: contain;
}

/* AstroSage/AstroTalk style bottom nav for mobile */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    padding: 6px 0;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border-light);
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    padding: 4px 8px;
    gap: 2px;
    transition: color 0.2s;
  }

  .mobile-bottom-nav a.active,
  .mobile-bottom-nav a:hover {
    color: var(--primary);
  }

  .mobile-bottom-nav a i {
    font-size: 18px;
  }

  /* Add bottom padding to body so content isn't hidden behind bottom nav */
  body {
    padding-bottom: 60px;
  }

  /* Hide footer nav links on mobile since bottom nav handles it */
  .footer .row .col-lg-2:nth-child(2),
  .footer .row .col-lg-2:nth-child(3) {
    display: none;
  }
}

/* ========================================
   AstroSage-Style 4-Tier Header
   ======================================== */

/* TIER 1: Top Utility Bar */
.astro-topbar {
  background: linear-gradient(90deg, #1a0530, #2d1b69);
  color: #fff;
  padding: 5px 0;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.topbar-quick {
  gap: 2px !important;
}

.topbar-quick a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 4px;
  transition: all .2s;
  font-size: 12px;
}

.topbar-quick a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.topbar-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}

.topbar-chat-btn:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #00e676;
  border-radius: 50%;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.3);
  }
}

.topbar-cart-btn {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-size: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.topbar-cart-btn:hover {
  color: #fff;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--danger);
  color: #fff;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.topbar-signin-btn {
  display: inline-block;
  background: var(--accent);
  color: #000 !important;
  text-decoration: none;
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background .2s;
}

.topbar-signin-btn:hover {
  background: #ffc800;
  color: #000 !important;
}

.topbar-user-btn {
  color: #fff !important;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
}

.topbar-user-btn:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}

/* TIER 2: Brand Bar */
.astro-brand-bar {
  background: var(--bg-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.astro-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.logo-highlight {
  color: var(--primary);
}

.logo-ai {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: super;
}

.logo-plus {
  color: var(--accent);
}

.astro-logo-sm {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.astro-logo-sm i {
  color: var(--primary);
}

/* Zodiac Nav Grid */
.zodiac-nav-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zodiac-row {
  display: flex;
  gap: 2px;
}

.zodiac-nav-item {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--text-dark);
  background: var(--bg-light);
  border-radius: 4px;
  transition: all .2s;
  text-align: center;
  min-width: 80px;
}

.zodiac-nav-item:hover {
  background: var(--primary);
  color: #fff;
}

.zodiac-nav-item.active {
  background: var(--primary);
  color: #fff;
}

/* Language Grid */
.lang-grid {
  display: flex;
  gap: 4px;
}

.lang-btn {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: all .2s;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(255, 107, 0, .06);
}

/* TIER 3: Main Navigation */
.astro-main-nav {
  background: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  z-index: 1030;
  padding: 0;
}

.main-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav-list>li {
  position: relative;
}

.main-nav-list>li>a {
  display: block;
  padding: 12px 18px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}

.main-nav-list>li>a:hover,
.main-nav-list>li>a.active {
  color: var(--primary);
  background: rgba(255, 107, 0, .06);
}

.main-nav-list>li>a.active {
  box-shadow: inset 0 -3px 0 var(--primary);
}

/* Mega Dropdown */
.has-dropdown>.nav-mega-dropdown,
.has-dropdown>.nav-sub-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s;
  padding: 0;
}

.has-dropdown.open>.nav-mega-dropdown,
.has-dropdown.open>.nav-sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mega-dropdown {
  min-width: 600px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
}

/* ====== Astrologer Card V2 ====== */
.astrologer-card-v2 {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-light);
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.astrologer-card-v2:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
}

.ac2-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ac2-status.online {
  background: #ECFDF5;
  color: #059669;
}

.ac2-status.offline {
  background: #F3F4F6;
  color: #9CA3AF;
}

.ac2-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.ac2-status.online .ac2-status-dot {
  background: #10B981;
  animation: pulseOnline 1.5s infinite;
}

.ac2-status.offline .ac2-status-dot {
  background: #9CA3AF;
}

@keyframes pulseOnline {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.ac2-avatar-wrap {
  width: 72px;
  height: 72px;
  margin: 8px auto 10px;
  position: relative;
}

.ac2-avatar-wrap img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}

.astrologer-card-v2.is-online .ac2-avatar-wrap img {
  border-color: #10B981;
}

.ac2-name {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 3px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac2-specs {
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 2px;
  line-height: 1.3;
}

.ac2-langs {
  font-size: 10px;
  color: #9CA3AF;
  margin-bottom: 6px;
}

.ac2-langs i {
  color: #FF6B00;
  margin-right: 2px;
}

.ac2-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 4px;
}

.ac2-rating {
  color: #F59E0B;
  font-weight: 700;
}

.ac2-rating i {
  font-size: 10px;
}

.ac2-exp {
  color: #6B7280;
  font-weight: 500;
}

.ac2-orders {
  font-size: 10px;
  color: #9CA3AF;
  margin-bottom: 6px;
}

.ac2-orders i {
  color: #10B981;
  margin-right: 2px;
}

.ac2-price {
  font-size: 15px;
  font-weight: 900;
  color: #059669;
  margin-bottom: 10px;
  margin-top: auto;
}

.ac2-actions {
  display: flex;
  gap: 6px;
}

.ac2-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  color: #fff;
}

.ac2-btn span {
  display: none;
}

.ac2-btn-chat {
  background: #10B981;
}

.ac2-btn-chat:hover {
  background: #059669;
  color: #fff;
}

.ac2-btn-call {
  background: #3B82F6;
}

.ac2-btn-call:hover {
  background: #2563EB;
  color: #fff;
}

.ac2-btn-video {
  background: #8B5CF6;
  flex: 0 0 auto;
  padding: 7px 10px;
}

.ac2-btn-video:hover {
  background: #7C3AED;
  color: #fff;
}

/* Card larger screens show label */
@media (min-width: 768px) {
  .ac2-btn span {
    display: inline;
  }

  .ac2-avatar-wrap,
  .ac2-avatar-wrap img {
    width: 80px;
    height: 80px;
  }
}

/* ====== Offer Ticker ====== */
.offer-ticker {
  background: linear-gradient(90deg, #1a0530, #2d1b69, #FF6B00, #2d1b69, #1a0530);
  overflow: hidden;
  padding: 8px 0;
  white-space: nowrap;
}

.offer-ticker-content {
  display: inline-flex;
  gap: 50px;
  animation: tickerScroll 40s linear infinite;
}

.offer-ticker-content span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ====== Mobile Responsive: Public Homepage ====== */
@media (max-width: 767.98px) {

  /* Hero section mobile */
  .hero-section {
    padding: 40px 0 30px !important;
  }

  .hero-section h1 {
    font-size: 1.6rem !important;
  }

  .hero-section p {
    font-size: 14px !important;
  }

  .hero-section .btn-lg {
    font-size: 13px;
    padding: 8px 16px;
  }

  .hero-section .d-flex.justify-content-center.gap-5 {
    gap: 1.5rem !important;
    font-size: 12px !important;
  }

  .hero-section .d-flex.justify-content-center.gap-5>div>div {
    font-size: 20px !important;
  }

  /* Zodiac bar mobile */
  .zodiac-mini-item {
    min-width: 50px !important;
  }

  .zodiac-mini-item div:first-child {
    font-size: 18px !important;
  }

  .zodiac-mini-item div:last-child {
    font-size: 8px !important;
  }

  /* Kundli / Matching forms */
  section.py-5 .card-header h5 {
    font-size: 14px !important;
  }

  section.py-5 .card-body.p-4 {
    padding: 12px !important;
  }

  /* Astrologer card v2 mobile */
  .astrologer-card-v2 {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .ac2-avatar-wrap,
  .ac2-avatar-wrap img {
    width: 56px;
    height: 56px;
  }

  .ac2-name {
    font-size: 11px;
  }

  .ac2-specs {
    font-size: 9px;
  }

  .ac2-langs {
    font-size: 9px;
  }

  .ac2-meta {
    font-size: 10px;
    gap: 6px;
  }

  .ac2-price {
    font-size: 13px;
  }

  .ac2-btn {
    padding: 5px 2px;
    font-size: 10px;
    border-radius: 6px;
  }

  .ac2-status {
    font-size: 8px;
    padding: 1px 5px;
    top: 6px;
    right: 6px;
  }

  /* Section titles */
  h2.fw-900 {
    font-size: 1.3rem !important;
  }

  /* Puja cards mobile */
  .col-6.col-lg-3 .card-body.p-4 {
    padding: 10px !important;
  }

  .col-6.col-lg-3 h6.fw-700 {
    font-size: 12px !important;
  }

  /* Zodiac cards horoscope grid */
  .zodiac-card {
    padding: 10px !important;
  }

  .zodiac-card div:first-child {
    font-size: 24px !important;
  }

  /* Services grid */
  .service-card {
    padding: 10px !important;
  }

  .service-card .fw-700 {
    font-size: 11px !important;
  }

  /* CTA section */
  section.py-5.text-center h2 {
    font-size: 1.3rem;
  }

  /* Blog cards */
  .col-md-6.col-lg-3 h6 {
    font-size: 12px;
  }

  /* Offer ticker mobile */
  .offer-ticker-content span {
    font-size: 11px;
  }
}

@media (max-width: 400px) {

  .ac2-avatar-wrap,
  .ac2-avatar-wrap img {
    width: 48px;
    height: 48px;
  }

  .ac2-name {
    font-size: 10px;
  }

  .ac2-price {
    font-size: 12px;
  }

  .ac2-btn {
    padding: 4px 1px;
    font-size: 9px;
  }
}

/* ====== Dark Mode: Card V2 ====== */
[data-theme="dark"] .astrologer-card-v2 {
  background: var(--bg-white);
  border-color: var(--border-light);
}

[data-theme="dark"] .ac2-name {
  color: var(--text-dark);
}

[data-theme="dark"] .ac2-status.online {
  background: #064E3B;
  color: #6EE7B7;
}

[data-theme="dark"] .ac2-status.offline {
  background: #374151;
  color: #9CA3AF;
}

[data-theme="dark"] .ac2-price {
  color: #34D399;
}

[data-theme="dark"] .offer-ticker {
  background: linear-gradient(90deg, #0f0520, #1a0e40, #CC5500, #1a0e40, #0f0520);
}

.has-dropdown.open>.nav-mega-dropdown {
  transform: translateX(-50%) translateY(0) !important;
}

.mega-inner {
  display: flex;
  padding: 20px;
  gap: 24px;
}

.mega-section {
  flex: 1;
  min-width: 0;
}

.mega-section h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.mega-section a {
  display: block;
  padding: 5px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s, padding-left .2s;
}

.mega-section a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.mega-zodiac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.mega-zodiac-grid a {
  font-size: 12px;
  padding: 4px 0;
}

/* Sub Dropdown */
.nav-sub-dropdown {
  padding: 8px 0 !important;
}

.nav-sub-dropdown a {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 13px;
  transition: all .2s;
}

.nav-sub-dropdown a:hover {
  background: rgba(255, 107, 0, .06);
  color: var(--primary);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 12px;
}

/* Nav Icon Button */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-dark);
  transition: all .2s;
  font-size: 16px;
}

.nav-icon-btn:hover {
  background: rgba(255, 107, 0, .1);
  color: var(--primary);
}

.icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--danger);
  color: #fff;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* TIER 4: Quick Links Bar */
.astro-quicklinks {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
}

.quicklinks-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quicklinks-scroll::-webkit-scrollbar {
  display: none;
}

.ql-item {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}

.ql-item:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(255, 107, 0, .04);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 1060;
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 1070;
  transition: left .3s;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, .2);
}

.mobile-nav-drawer.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, #1a0530, #2d1b69);
  color: #fff;
}

.mobile-nav-header .btn {
  color: #fff;
}

.mobile-nav-body {
  padding: 12px 0;
}

.mobile-nav-cta {
  display: block;
  margin: 8px 16px 12px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.mobile-nav-cta:hover {
  background: var(--primary-dark);
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.mobile-nav-link:hover {
  background: rgba(255, 107, 0, .06);
  color: var(--primary);
}

.mobile-nav-zodiac {
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.zodiac-mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.zodiac-mobile-grid a {
  display: block;
  padding: 6px;
  font-size: 12px;
  text-align: center;
  background: var(--bg-light);
  border-radius: 6px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all .2s;
}

.zodiac-mobile-grid a:hover {
  background: var(--primary);
  color: #fff;
}

/* ========================================
   Auth Pages Modern Card Style
   ======================================== */
.auth-page {
  background: var(--bg-light);
  min-height: 80vh;
}

.auth-card-modern {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
  border: 1px solid var(--border-light);
}

.auth-card-header .auth-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bg-gradient-orange {
  background: var(--primary-gradient) !important;
}

.text-orange {
  color: var(--primary) !important;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.fw-900 {
  font-weight: 900;
}

/* ========================================
   Astrologer Register Form Sections
   ======================================== */
.astrologer-auth-card {
  max-width: none;
}

.form-section {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-chip input {
  display: none;
}

.checkbox-chip span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: all .2s;
  cursor: pointer;
}

.checkbox-chip input:checked+span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.checkbox-chip:hover span {
  border-color: var(--primary);
}

/* ========================================
   Dark Mode for New Components
   ======================================== */
[data-theme="dark"] .astro-brand-bar {
  background: var(--bg-white);
  border-color: var(--border-light);
}

[data-theme="dark"] .astro-main-nav {
  background: var(--bg-white);
}

[data-theme="dark"] .astro-quicklinks {
  background: #0a0a1a;
  border-color: var(--border-light);
}

[data-theme="dark"] .ql-item {
  background: var(--bg-white);
  border-color: var(--border-light);
  color: var(--text-dark);
}

[data-theme="dark"] .zodiac-nav-item {
  background: rgba(255, 255, 255, .06);
  color: var(--text-dark);
}

[data-theme="dark"] .nav-mega-dropdown,
[data-theme="dark"] .nav-sub-dropdown {
  background: var(--bg-white);
  border-color: var(--border-light);
}

[data-theme="dark"] .mega-section a,
[data-theme="dark"] .nav-sub-dropdown a,
[data-theme="dark"] .main-nav-list>li>a {
  color: var(--text-dark);
}

[data-theme="dark"] .mobile-nav-drawer {
  background: var(--bg-white);
}

[data-theme="dark"] .auth-card-modern {
  background: var(--bg-white);
  border-color: var(--border-light);
}

[data-theme="dark"] .form-section {
  background: rgba(255, 255, 255, .03);
  border-color: var(--border-light);
}

[data-theme="dark"] .checkbox-chip span {
  background: var(--bg-white);
  border-color: var(--border-light);
  color: var(--text-dark);
}

[data-theme="dark"] .zodiac-mobile-grid a {
  background: rgba(255, 255, 255, .06);
  color: var(--text-dark);
}

[data-theme="dark"] .logo-text {
  color: var(--text-dark);
}

/* ========================================
   Responsive for New Header
   ======================================== */
@media (max-width: 991.98px) {
  .astro-topbar {
    display: none;
  }

  .astro-brand-bar {
    display: none;
  }

  .astro-quicklinks {
    display: none !important;
  }

  .astro-main-nav {
    padding: 8px 0;
  }

  .astro-main-nav .d-lg-none {
    display: flex !important;
  }

  .astro-main-nav .d-none.d-lg-flex {
    display: none !important;
  }

  .navbar-toggler {
    background: none;
    border: none;
    color: var(--text-dark);
  }
}

@media (max-width: 575.98px) {
  .auth-card-modern {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .form-section {
    padding: 14px;
  }

  .checkbox-chip span {
    padding: 5px 10px;
    font-size: 12px;
  }
}
/* ===== ASTROMALL HERO & PRODUCT CARDS ===== */
.astromall-hero {
  background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
  border-bottom: 3px solid var(--primary);
  margin-bottom: 0;
}
[data-theme="dark"] .astromall-hero {
  background: linear-gradient(135deg, #2A1F15 0%, #3D2A18 100%);
}
.astromall-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: .3px;
}
.astromall-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
}
[data-theme="dark"] .astromall-hero-title { color: var(--text-light); }
.astromall-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
}
.astromall-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hero-chip {
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: all .2s;
}
.hero-chip:hover, .hero-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
[data-theme="dark"] .hero-chip {
  background: var(--bg-dark-card);
  color: var(--text-light);
  border-color: var(--border-dark);
}
.astromall-hero-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 14px 6px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hero-icon-item i {
  font-size: 26px;
  color: var(--primary);
}
.hero-icon-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
}
[data-theme="dark"] .hero-icon-item {
  background: var(--bg-dark-card);
}
[data-theme="dark"] .hero-icon-item span { color: var(--text-light); }

.product-title-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
  .astromall-hero-title { font-size: 1.6rem; }
  .astromall-hero-sub { font-size: .9rem; }
}
