@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Noto+Serif+Bengali:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* LIGHT LUXURY ASTROLOGY PALETTE */
  --bg-page: #f9f6ef;
  --bg-surface: #ffffff;
  --bg-surface-warm: #fcfbf7;
  --bg-surface-tint: #f5eedf;
  --gold-primary: #b88d22;
  --gold-accent: #d4af37;
  --gold-light: #faebb4;
  --gold-border: #b89350;
  --gold-gradient: linear-gradient(135deg, #f7e096 0%, #dbb242 50%, #b88d22 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);

  --text-main: #241a0d;
  --text-muted: #6b583f;
  --text-light: #8f795d;

  --navy-dark: #07152d;
  --navy-card: #091936;

  --font-title: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  --font-bengali: 'Noto Serif Bengali', serif;
  --transition-smooth: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px rgba(160, 130, 80, 0.12);
  --shadow-card-hover: 0 14px 40px rgba(160, 130, 80, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  background-image:
    radial-gradient(circle at 50% 0%, #fffbf2 0%, #f8f4ea 55%, #ece3d0 100%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Subtle Radiance */
.bg-cosmic-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(184, 141, 34, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
  z-index: 0;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 100px !important;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
  }
}

/* ========================================================
   PAGE ENTRANCE SMOOTH ANIMATION
   ======================================================== */
@keyframes pageEntranceSmooth {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-animated-entrance {
  animation: pageEntranceSmooth 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ========================================================
   GLOBAL BODY WITH WIDER LEFT ASIDE BAR LAYOUT
   ======================================================== */
body.has-sidebar {
  padding-left: 310px;
  min-height: 100vh;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.has-sidebar .container {
  max-width: 1400px;
  width: 100%;
  padding: 0 32px !important;
}

/* ========================================================
   MOBILE TOP BAR - DARK THEME (Screens <= 1024px)
   ======================================================== */
.mobile-top-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(7, 14, 28, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
  z-index: 1010;
}

.mobile-top-inner {
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.12);
  color: #f7e096;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sidebar-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171105;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

.mobile-brand-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #f7e096;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-logout-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.mobile-logout-btn:hover {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

/* ========================================================
   SIDEBAR BACKDROP (Mobile / Tablet drawer)
   ======================================================== */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* ========================================================
   WIDER LEFT ASIDE BAR - DARK LUXURY COSMIC THEME
   ======================================================== */
.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  background: linear-gradient(180deg, #070e1c 0%, #0d192f 52%, #060b17 100%);
  border-right: 1.5px solid rgba(212, 175, 55, 0.25);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 1050;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Brand Box in Sidebar */
.sidebar-brand-box {
  padding: 18px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.25);
  background: rgba(7, 14, 28, 0.95);
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  min-width: 0;
}

.sidebar-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171105;
  font-size: 21px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
  flex-shrink: 0;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-brand-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #f7e096;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  line-height: 1.1;
  white-space: nowrap;
}

.sidebar-brand-subtitle {
  font-size: 9.5px;
  letter-spacing: 0.6px;
  color: #bfa886;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
}

.sidebar-close-btn {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.12);
  color: #f7e096;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.sidebar-close-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #ffffff;
}

/* Nav Area in Dark Theme */
.sidebar-nav-container {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px;
  scrollbar-width: thin;
  scrollbar-color: #9c7b28 #091326;
}

.sidebar-nav-container::-webkit-scrollbar {
  width: 5px;
}

.sidebar-nav-container::-webkit-scrollbar-track {
  background: #091326;
}

.sidebar-nav-container::-webkit-scrollbar-thumb {
  background: #9c7b28;
  border-radius: 4px;
}

.sidebar-nav-container::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

.sidebar-nav-group {
  margin-bottom: 16px;
}

.sidebar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px 10px;
  margin-bottom: 5px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.22);
}

.sidebar-section-header span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #e5b94c;
  text-shadow: 0 0 10px rgba(229, 185, 76, 0.35);
  text-transform: uppercase;
}

.sidebar-section-header small {
  font-size: 11.5px;
  font-family: var(--font-bengali);
  color: #a89474;
  font-weight: 600;
}

.sidebar-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Individual Navigation Item */
.sidebar-menu-item a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border-radius: 9px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #d4af37;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-label-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.nav-main-title {
  font-size: 13.8px;
  font-weight: 600;
  color: #dfd7cc;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.nav-sub-title {
  font-size: 11px;
  font-family: var(--font-bengali);
  color: #8f806a;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

/* ========================================================
   CLEAN HOVER: ONLY TEXT COLOR & BACKGROUND COLOR
   NO BORDER, NO POP, NO TRANSLATE, NO HEAVY SHADOW
   ======================================================== */
.sidebar-menu-item a:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.sidebar-menu-item a:hover .nav-icon-badge {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.28);
  color: #f7e096;
  transform: none;
  box-shadow: none;
}

.sidebar-menu-item a:hover .nav-main-title {
  color: #f7e096;
  text-shadow: none;
  font-weight: 600;
}

.sidebar-menu-item a:hover .nav-sub-title {
  color: #d4c29d;
}

/* Active State: Clean and distinct without pop */
.sidebar-menu-item a.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.sidebar-menu-item a.active .nav-icon-badge {
  background: var(--gold-gradient);
  color: #110b02;
  border-color: #d4af37;
  box-shadow: none;
  font-weight: 700;
}

.sidebar-menu-item a.active .nav-main-title {
  color: #ffffff;
  font-weight: 700;
  text-shadow: none;
}

.sidebar-menu-item a.active .nav-sub-title {
  color: #f0deb8;
  font-weight: 600;
}

/* Sidebar Footer (User Info & Logout) */
.sidebar-user-footer {
  padding: 14px;
  border-top: 1.5px solid rgba(212, 175, 55, 0.28);
  background: rgba(6, 12, 24, 0.95);
  flex-shrink: 0;
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 6px 8px;
}

.user-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #171105;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.user-meta-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.user-name-title {
  font-size: 13px;
  font-weight: 700;
  color: #f7e096;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email-subtitle {
  font-size: 10.5px;
  color: #9c8a70;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-logout-action {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  text-decoration: none;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.sidebar-logout-action:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #b91c1c;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

/* ========================================================
   SIDEBAR DEVELOPED BY SHYNO TECHNOLOGY BRANDING
   ======================================================== */
.sidebar-developer-card {
  margin-top: 5px;


  border-radius: 10px;
  text-align: center;
  display: flex;

  align-items: center;
  justify-content: center;


  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sidebar-developer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.sidebar-developer-card:hover::before {
  left: 100%;
}

.sidebar-developer-card:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(18, 32, 60, 0.88) 45%, rgba(10, 18, 36, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.sidebar-developer-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  line-height: 1;
}

.sidebar-developer-label .dev-line {
  flex: 1;
  height: 1px;
  max-width: 32px;
}

.sidebar-developer-label .dev-line-left {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45));
}

.sidebar-developer-label .dev-line-right {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.45), transparent);
}

.sidebar-developer-label .dev-text {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 700;
  color: #dfb743;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.sidebar-developer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 3px;
}

.sidebar-developer-logo {
  height: 28px;
  max-width: 175px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.sidebar-developer-card:hover .sidebar-developer-logo {
  filter: drop-shadow(0 3px 10px rgba(212, 175, 55, 0.5)) brightness(1.1);
  transform: scale(1.02);
}

/* ========================================================
   GLOBAL SEARCH BAR WITH RICH SHADOWS (REMEDY & DIRECTORY)
   ======================================================== */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.8px solid #d4c29d;
  border-radius: 12px;
  padding: 4px 12px;
  box-shadow: 0 4px 18px rgba(184, 141, 34, 0.16), 0 2px 6px rgba(70, 50, 15, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box:hover {
  border-color: #b88d22;
  box-shadow: 0 6px 24px rgba(184, 141, 34, 0.22), 0 3px 8px rgba(70, 50, 15, 0.1);
}

.search-box:focus-within {
  border-color: #9c7217;
  background: #fffdf9;
  box-shadow: 0 8px 28px rgba(184, 141, 34, 0.28), 0 0 0 3.5px rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.search-box .search-icon {
  color: #8c6a28;
  font-size: 15px;
  margin-right: 10px;
}

.search-box .records-search {
  width: 100%;
  height: 38px;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #2b1f0f;
}

.search-box .records-search::placeholder {
  color: #8a7356;
}

/* ========================================================
   RESPONSIVE DRAWER BEHAVIOR (<= 1024px)
   ======================================================== */
@media (max-width: 1024px) {
  body.has-sidebar {
    padding-left: 0 !important;
    padding-top: 60px !important;
  }

  body.has-sidebar .container {
    padding: 0 20px !important;
  }

  .mobile-top-bar {
    display: block;
  }

  .sidebar-backdrop {
    display: block;
    pointer-events: none;
  }

  body.sidebar-open .sidebar-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .site-sidebar {
    width: 310px;
    max-width: 88vw;
    transform: translateX(-100%);
    box-shadow: none;
  }

  body.sidebar-open .site-sidebar {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.65);
  }

  .sidebar-close-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  body.has-sidebar .container {
    padding: 0 14px !important;
  }
}

/* ========================================================
   PAGE INTRO / HEADER STRIP
   ======================================================== */
.page-intro-strip {
  padding: 30px 0 22px;
  text-align: center;
}

.mantra-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b4d13;
  font-family: var(--font-bengali);
  font-size: 16px;
  font-weight: 700;
  background: #f7eed8;
  border: 1px solid #d8bf85;
  padding: 5px 18px;
  border-radius: 25px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(160, 130, 80, 0.08);
}

.page-main-heading {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #2a1c07;
  margin-bottom: 6px;
}

.page-subtitle-strip {
  color: #6e593e;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ========================================================
   SECTION 1: THE CONSULTATION PARCHMENT FORM (LIGHT)
   ======================================================== */
.parchment-sheet {
  background: var(--bg-surface-warm);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(200, 180, 140, 0.06) 0px, rgba(200, 180, 140, 0.06) 1px, transparent 1px, transparent 24px);
  color: var(--text-main);
  border: 2px solid var(--gold-border);
  border-radius: 14px;
  padding: 36px 42px;
  box-shadow: var(--shadow-card), inset 0 0 35px rgba(212, 175, 55, 0.08);
  margin-bottom: 45px;
  position: relative;
  overflow: visible;
}

.parchment-sheet::before {
  content: '卐';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 260px;
  color: rgba(189, 160, 105, 0.05);
  pointer-events: none;
  font-weight: 900;
  z-index: 0;
}

.sheet-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ceb37f;
  padding-bottom: 14px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.sheet-header-title h2 {
  font-family: var(--font-title);
  color: #312007;
  font-size: 22px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet-badge {
  background: #f7eed8;
  color: #55390e;
  border: 1px solid #ceb37f;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.astro-form-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 5;
}

.astro-form-grid:has(.cs-open) {
  z-index: 9999 !important;
}

.form-group-line:has(.cs-open),
.form-group:has(.cs-open),
.input-with-icon:has(.cs-open) {
  z-index: 9999 !important;
  position: relative;
}

@media (max-width: 860px) {
  .astro-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .parchment-sheet {
    padding: 24px 20px;
  }
}

.form-group-line {
  margin-bottom: 22px;
  position: relative;
}

.form-group-line label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 14.5px;
  font-weight: 700;
  color: #2e1e07;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group-line label .bengali-label {
  font-family: var(--font-bengali);
  font-size: 13px;
  color: #795724;
  font-weight: normal;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-adornment {
  position: absolute;
  right: 20px;
  color: #8c6a28;
  font-size: 16px;
  pointer-events: none;
}

.astro-input {
  width: 100%;
  padding: 12px 42px 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #241907;
  background: #ffffff;
  border: 1.5px solid #b89c6e;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 1px 3px rgba(60, 40, 10, 0.04);
  transition: var(--transition-smooth);
}

.astro-input:hover {
  border-color: #8c6a28;
}

.astro-input:focus {
  border-color: #8c6a28;
  background: #fffdfa;
  box-shadow: 0 0 0 3.5px rgba(184, 141, 34, 0.22), 0 2px 8px rgba(60, 40, 10, 0.08);
}

/* Enhanced Select Dropdown Styling (Elevated Luxury Cosmic-Gold Theme) */
select.astro-input,
select.astro-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238c6a28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 7px !important;
  padding: 11px 42px 11px 16px !important;
  min-height: 46px;
  cursor: pointer;
  line-height: 1.4;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: #241907;
  border: 1.5px solid #c9b382;
  border-radius: 9px;
  outline: none;
  box-shadow: 0 1px 3px rgba(60, 40, 10, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

select.astro-input::-ms-expand,
select.astro-select::-ms-expand {
  display: none !important;
}

select.astro-input:hover,
select.astro-select:hover {
  border-color: #8c6a28;
  background-color: #fffdf8 !important;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.12);
}

select.astro-input:focus,
select.astro-select:focus,
select.astro-input:active,
select.astro-select:active {
  border-color: #8c6a28 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238c6a28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 7px !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28) !important;
}

select.astro-input option,
select.astro-select option {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #241907;
  background-color: #ffffff;
  padding: 12px 14px;
}

/* Luxury Compact Select Badge (e.g. Lagna & Nabangsha Rashi dropdowns) */
.astro-select-pill {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fffdf8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238c6a28' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  padding: 7px 34px 7px 14px;
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  color: #3b280a;
  border: 1.5px solid #ceb37f;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(184, 141, 34, 0.12);
  transition: all 0.2s ease;
}

.astro-select-pill:hover {
  border-color: #8c6a28;
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgba(184, 141, 34, 0.2);
}

.astro-select-pill:focus {
  border-color: #7b591b;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ========================================================
   CUSTOM SELECT DROPDOWN COMPONENT
   ======================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  z-index: 2;
}

.custom-select-wrapper.cs-open {
  z-index: 99999 !important;
}

.custom-select-wrapper select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Trigger Button */
.cs-trigger {
  width: 100%;
  padding: 12px 44px 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #241907;
  background: #ffffff;
  border: 1.5px solid #b89c6e;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 1px 3px rgba(60, 40, 10, 0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  transition: all 0.2s ease;
  position: relative;
}

.cs-trigger:hover {
  border-color: #8c6a28;
  background: #fffdf9;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.12);
}

.cs-trigger:focus {
  border-color: #8c6a28;
  box-shadow: 0 0 0 3.5px rgba(184, 141, 34, 0.22), 0 2px 8px rgba(60, 40, 10, 0.08);
}

.cs-open .cs-trigger {
  border-color: #8c6a28;
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(184, 141, 34, 0.22);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.cs-display-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.cs-display-text.cs-placeholder {
  color: #8a7b65;
}

.cs-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c6a28;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-open .cs-arrow {
  transform: rotate(180deg);
}

/* Dropdown Panel */
.cs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.8px solid #9c762e;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px rgba(50, 32, 8, 0.22), 0 4px 12px rgba(50, 32, 8, 0.1);
  z-index: 99999 !important;
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cs-open>.cs-dropdown {
  display: flex !important;
}

.cs-dropdown.cs-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Search Box Inside Dropdown */
.cs-search-wrap {
  position: relative;
  padding: 10px 12px;
  border-bottom: 1.5px solid #e5d3b3;
  background: #fbf7ee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cs-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #a48243;
  pointer-events: none;
}

.cs-search-input {
  width: 100%;
  padding: 8px 32px 8px 32px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #241907;
  background: #ffffff;
  border: 1.5px solid #d8c49e;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-search-input:focus {
  border-color: #8c6a28;
  box-shadow: 0 0 0 2px rgba(189, 160, 105, 0.25);
}

.cs-search-input::placeholder {
  color: #9d8763;
  font-size: 13px;
}

.cs-search-clear {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9d8763;
  cursor: pointer;
  padding: 4px;
  font-size: 12px;
  display: none;
  line-height: 1;
}

.cs-search-clear:hover {
  color: #503610;
}

/* Options Listbox With Dedicated Visible Scrollbar */
.cs-listbox {
  max-height: 220px;
  min-height: 50px;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #c4a773 #fbf6ec;
}

.cs-listbox::-webkit-scrollbar {
  width: 8px;
}

.cs-listbox::-webkit-scrollbar-track {
  background: #fbf6ec;
  border-radius: 4px;
}

.cs-listbox::-webkit-scrollbar-thumb {
  background: #c4a773;
  border-radius: 4px;
  border: 1.5px solid #fbf6ec;
}

.cs-listbox::-webkit-scrollbar-thumb:hover {
  background: #9d7d3d;
}

/* Individual Option */
.cs-option {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #3b2b16;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.cs-option:hover,
.cs-option.cs-focused {
  background: #fdf3d9;
  color: #2b1a03;
}

.cs-option.cs-selected {
  background: #f7eed8;
  color: #5c4210;
  font-weight: 600;
}

.cs-option.cs-selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: #8c6a28;
  margin-left: auto;
}

.cs-option.cs-placeholder-opt {
  color: #8a7b65;
  font-style: italic;
  font-size: 13.5px;
}

.cs-no-match {
  padding: 16px;
  text-align: center;
  color: #8a7b65;
  font-size: 13px;
  font-style: italic;
}

/* Client Select Dropdown UI Enhancement */
.client-dropdown-box .cs-trigger {
  min-height: 48px;
  background: #fffdfa;
  border: 1.8px solid #b89350;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.08);
  font-weight: 500;
}

.client-dropdown-box .cs-trigger:hover {
  border-color: #92400e;
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.16);
  background: #ffffff;
}

.client-dropdown-box .cs-dropdown {
  border: 2px solid #92400e;
  box-shadow: 0 18px 48px rgba(50, 32, 8, 0.28);
}

/* Ensure dropdown selects NEVER have overlapping adornment icons */
.input-with-icon:has(select) .input-icon-adornment,
.input-with-icon:has(.custom-select-wrapper) .input-icon-adornment,
.custom-select-wrapper+.input-icon-adornment,
.input-with-icon>.custom-select-wrapper~.input-icon-adornment,
select~.input-icon-adornment {
  display: none !important;
}

.input-hint {
  font-size: 11.5px;
  color: #7d684c;
  margin-top: 5px;
  display: block;
}

/* Time Picker Form Input & Clock Trigger Button */
.time-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.time-input-field {
  width: 100%;
  padding: 12px 46px 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #241907;
  letter-spacing: 0.5px;
  background: #ffffff;
  border: 1.5px solid #ceb78a;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.time-input-field:focus {
  border-color: #8c6a28;
  box-shadow: 0 0 0 3px rgba(189, 160, 105, 0.25);
}

.time-clock-btn {
  position: absolute;
  right: 8px;
  background: #fdf8ed;
  border: 1px solid #ceb78a;
  color: #8c6a28;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  pointer-events: auto !important;
  transition: var(--transition-smooth);
}

.time-clock-btn:hover {
  background: #f3e5c8;
  color: #5c4210;
  border-color: #8c6a28;
  transform: scale(1.08) rotate(20deg);
  box-shadow: 0 2px 8px rgba(140, 106, 40, 0.25);
}

/* Fallback for time-picker-trigger-box */
.time-picker-trigger-box {
  cursor: pointer;
  background: #ffffff;
  border: 1.5px solid #ceb78a;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.time-picker-trigger-box:hover {
  border-color: #8c6a28;
  box-shadow: 0 0 10px rgba(189, 160, 105, 0.35);
}

.time-display-val {
  font-size: 15.5px;
  font-weight: 700;
  color: #241907;
  letter-spacing: 0.5px;
}

.time-clock-icon {
  background: #f7eed8;
  border: 1px solid #d8c29d;
  color: #7b5924;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.time-picker-trigger-box:hover .time-clock-icon {
  background: #ecdcb9;
  transform: rotate(30deg);
}

/* Form Action Buttons */
.form-buttons-row {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1.5px dashed #ceb37f;
  position: relative;
  z-index: 1;
}

.form-btns-left {
  display: flex;
  gap: 15px;
}

.btn-gold,
.btn-astro-primary {
  background: var(--gold-gradient);
  color: #1a1405;
  border: 1px solid #fceeb8;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 15px rgba(184, 141, 34, 0.35);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-gold:hover,
.btn-astro-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 141, 34, 0.55);
}

.btn-secondary,
.btn-astro-secondary {
  background: #f4ecdc;
  color: #4b3612;
  border: 1px solid #ceb78a;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-secondary:hover {
  background: #eae0cd;
}

.link-to-other-page {
  font-size: 14px;
  font-weight: 600;
  color: #8c6a28;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.link-to-other-page:hover {
  color: #2e1e07;
  transform: translateX(3px);
}

/* ========================================================
   SECTION 2: CLIENT DIRECTORY LIST TABLE (LIGHT)
   ======================================================== */
.records-container {
  background: var(--bg-surface);
  border: 1.5px solid var(--gold-border);
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: var(--shadow-card);
  margin-bottom: 50px;
}

.records-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 1.5px solid #ebdfc6;
  padding-bottom: 16px;
}

.records-header h3 {
  font-family: var(--font-title);
  font-size: 21px;
  color: #291a06;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box-wrap {
  position: relative;
  min-width: 290px;
}

.search-box-wrap input {
  width: 100%;
  background: #fdfaf3;
  border: 1.5px solid #d1bd93;
  color: #241a0d;
  border-radius: 30px;
  padding: 10px 18px 10px 40px;
  font-size: 14px;
  outline: none;
  transition: var(--transition-smooth);
}

.search-box-wrap input:focus {
  border-color: #8c6a28;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(184, 141, 34, 0.25);
}

.search-box-wrap .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c6a28;
  pointer-events: none;
}

/* Date Filter Control for Client Directory & Client Details */
.date-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdfaf3;
  border: 1.5px solid #d1bd93;
  border-radius: 30px;
  padding: 5px 14px;
  transition: var(--transition-smooth);
}

.date-filter-group:hover,
.date-filter-group:focus-within {
  border-color: #8c6a28;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(184, 141, 34, 0.2);
}

.date-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: #785a28;
  white-space: nowrap;
}

.date-filter-input {
  border: 1px solid #e2d3b8;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12.5px;
  font-family: inherit;
  color: #241a0d;
  outline: none;
  transition: border-color 0.15s ease;
  cursor: pointer;
}

.date-filter-input:focus {
  border-color: #8c6a28;
}

.date-filter-clear-btn {
  border: none;
  background: #ebdcc0;
  color: #634714;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.15s ease;
  margin-left: 2px;
}

.date-filter-clear-btn:hover {
  background: #d4af37;
  color: #1f1406;
  transform: scale(1.08);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.astro-table th {
  background: #f7f1e4;
  color: #634714;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.8px;
  padding: 13px 16px;
  border-bottom: 2px solid #ceb37f;
}

.astro-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee5d3;
  color: #3b2c19;
  font-size: 14px;
  vertical-align: middle;
}

.astro-table tbody tr {
  transition: background 0.2s;
}

.astro-table tbody tr:hover {
  background: #fcf9f2;
}

.record-name-col {
  font-weight: 700;
  color: #171108;
  font-size: 15px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fcf6e9;
  color: #6f5018;
  border: 1px solid #dfbe79;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
}

.action-btns-group {
  display: flex;
  gap: 8px;
}

.btn-icon-action {
  background: #fbf7ee;
  border: 1px solid #d4be91;
  color: #6d4e16;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.btn-icon-action:hover {
  background: var(--gold-gradient);
  color: #1f1403;
  border-color: #fcedb6;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(184, 141, 34, 0.35);
}

.btn-icon-action.delete-btn:hover {
  background: #d94334;
  color: #fff;
  border-color: #c0392b;
  box-shadow: 0 3px 10px rgba(217, 67, 52, 0.35);
}

/* ========================================================
   SETTINGS MODAL (MUKHYA BIBORON, ANTARDASHA, REMEDIES)
   ======================================================== */
.settings-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 25, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.settings-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.settings-modal-box {
  background: #ffffff;
  border: 2px solid #d4af37;
  border-radius: 14px;
  width: 760px;
  max-width: 95vw;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.settings-modal-overlay.open .settings-modal-box {
  transform: scale(1);
}

.settings-modal-header {
  padding: 16px 24px;
  background: #fbf7ee;
  border-bottom: 1.5px solid #d4af37;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-modal-title {
  font-family: var(--font-title);
  color: #2b1d09;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-tabs-row {
  display: flex;
  background: #f4ecdc;
  border-bottom: 1px solid #d8bf85;
}

.settings-tab-btn {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #553d18;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.settings-tab-btn:hover {
  background: #ede0c9;
  color: #291a07;
}

.settings-tab-btn.active {
  background: #ffffff;
  color: #171105;
  border-bottom-color: #b88d22;
  font-weight: 700;
}

.settings-tab-content-area {
  padding: 24px;
  overflow-y: auto;
  color: #2c1e09;
}

.settings-panel {
  display: none;
}

.settings-panel.active {
  display: block;
}

.biboron-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.biboron-item-box {
  background: #faf6ea;
  border: 1px solid #d8c29b;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.biboron-label {
  font-family: var(--font-bengali);
  font-weight: 700;
  color: #4a3411;
  font-size: 14px;
}

.biboron-val {
  font-size: 13.5px;
  color: #7b5914;
  font-weight: 600;
}

/* ========================================================
   LIGHT FLATPICKR CALENDAR THEME
   ======================================================== */
.flatpickr-calendar {
  background: #ffffff !important;
  border: 1.5px solid #d4af37 !important;
  box-shadow: 0 14px 35px rgba(150, 120, 70, 0.2) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  font-family: var(--font-body) !important;
  transition: var(--transition-smooth) !important;
  width: 308px !important;
  box-sizing: border-box !important;
}

.flatpickr-days {
  width: 308px !important;
  box-sizing: border-box !important;
}

.dayContainer {
  width: 308px !important;
  min-width: 308px !important;
  max-width: 308px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

.flatpickr-months {
  background: #f9f5ea !important;
  padding: 8px 4px !important;
  border-bottom: 1.5px solid #e8dbc0 !important;
}

.flatpickr-months .flatpickr-month {
  color: #3b2a0f !important;
  fill: #3b2a0f !important;
}

.flatpickr-current-month {
  font-family: var(--font-title) !important;
  font-size: 110% !important;
  color: #3b2a0f !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
  border-bottom-color: #8c6a28 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-top-color: #8c6a28 !important;
}

.flatpickr-weekdays {
  width: 100% !important;
  display: flex !important;
  background: #f9f5ea !important;
  border-bottom: 1px solid #ebdcc5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.flatpickr-weekdaycontainer {
  width: 100% !important;
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

span.flatpickr-weekday {
  background: transparent !important;
  color: #7b5914 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  width: 14.2857143% !important;
  flex: 0 0 14.2857143% !important;
  max-width: 14.2857143% !important;
  text-align: center !important;
  line-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.flatpickr-days {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.flatpickr-day {
  color: #2b1f10 !important;
  border-radius: 8px !important;
  width: 14.2857143% !important;
  flex: 0 0 14.2857143% !important;
  max-width: 14.2857143% !important;
  height: 36px !important;
  line-height: 36px !important;
  margin: 1px 0 !important;
  padding: 0 !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

/* Crucial: Hide days outside the active month so dates are never mixed */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: default !important;
}

.flatpickr-day:hover {
  background: #f7eed8 !important;
  border-color: #d4af37 !important;
}

.flatpickr-day.today {
  border-color: #b88d22 !important;
  color: #b88d22 !important;
  font-weight: 700 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--gold-gradient) !important;
  color: #171105 !important;
  border-color: #fcedb6 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.4) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #c9bda8 !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: #7b5914 !important;
  color: #7b5914 !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: #171105 !important;
}

/* ========================================================
   CLOCK TIME PICKER MODAL - MODERN LUXURY LIGHT THEME
   ======================================================== */
.clock-picker-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.clock-picker-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.clock-picker-card {
  background: #ffffff;
  border: 1.5px solid #e2d8be;
  border-radius: 20px;
  width: 375px;
  max-width: 95vw;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(212, 175, 55, 0.2);
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.clock-picker-modal-overlay.open .clock-picker-card {
  transform: scale(1);
}

.clock-header {
  background: linear-gradient(135deg, #fdfbf7 0%, #f7f1e5 100%);
  padding: 16px 20px;
  border-bottom: 1.5px solid #ebdcc5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clock-title {
  font-family: var(--font-title);
  color: #2c1e08;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.clock-title i {
  color: #b45309;
  font-size: 16px;
}

.clock-close-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clock-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: scale(1.1);
}

/* Digital Time Display & Manual Typing Section */
.clock-digital-display {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.digital-time-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.digital-time-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.digital-time-input {
  width: 68px;
  height: 54px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-title), 'Cinzel', monospace;
  color: #0f172a;
  text-align: center;
  outline: none;
  padding: 0;
  cursor: text;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.digital-time-input:hover {
  border-color: #94a3b8;
}

.digital-time-input.active,
.digital-time-input:focus {
  border-color: #b45309 !important;
  color: #b45309 !important;
  background: #fffdf9 !important;
  box-shadow: 0 0 0 3.5px rgba(180, 83, 9, 0.18), 0 4px 12px rgba(180, 83, 9, 0.12) !important;
}

.digital-colon {
  font-size: 30px;
  font-weight: 800;
  color: #64748b;
  user-select: none;
  margin: 0 2px;
  animation: subtleBlink 1.2s infinite ease-in-out;
}

@keyframes subtleBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.digital-hint-text {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  margin-top: 6px;
  user-select: none;
}

/* AM/PM Pill Segmented Control */
.ampm-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 10px;
}

.ampm-btn {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.18s ease;
}

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

.ampm-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
  font-weight: 800;
}

/* Clock Dial Container & Face */
.clock-dial-container {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
}

.clock-mode-pill {
  font-size: 12px;
  font-weight: 600;
  color: #78350f;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  user-select: none;
  transition: all 0.2s ease;
}

.clock-mode-pill i {
  color: #b45309;
}

.clock-face {
  width: 264px;
  height: 264px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffffff 0%, #f9fbfd 65%, #edf2f7 100%);
  border: 3.5px solid #d4af37;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(180, 83, 9, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.25);
  position: relative;
  user-select: none;
  touch-action: none;
  cursor: pointer;
}

.clock-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #b45309 100%);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  z-index: 6;
}

.clock-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 3px;
  height: 98px;
  background: linear-gradient(to top, #b45309, #d4af37);
  border-radius: 3px;
  transform-origin: bottom center;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 4;
}

.clock-hand.is-dragging {
  transition: none !important;
}

/* ENLARGED SELECTING TIME CIRCLE (42px) */
.clock-hand-pointer {
  position: absolute;
  top: -21px;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #b45309 100%);
  border: 2.5px solid #ffffff;
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.45), 0 0 0 1px rgba(180, 83, 9, 0.2);
  z-index: 4;
}

/* Dial Numbers */
.dial-number {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title), 'Cinzel', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  transform: translate(-50%, -50%);
  transition: color 0.15s ease;
  pointer-events: none;
  z-index: 5;
}

.dial-number.selected {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) !important;
}

/* Quick Presets */
.quick-time-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.preset-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.preset-chip:hover {
  background: #fffbeb;
  border-color: #d4af37;
  color: #92400e;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.15);
}

.preset-chip i {
  color: #b45309;
}

/* Footer Action Buttons */
.clock-footer-actions {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fafafc;
  display: flex;
  gap: 12px;
}

.btn-clock-confirm {
  flex: 1;
  background: linear-gradient(135deg, #d4af37 0%, #b45309 100%);
  color: #ffffff;
  border: none;
  font-family: var(--font-title), 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
  transition: all 0.18s ease;
}

.btn-clock-confirm:hover {
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.45);
  transform: translateY(-1px);
}

.btn-clock-cancel {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

/* View, Delete & Download Action Buttons - Text-only style */
.btn-action-view,
.btn-action-delete,
.btn-action-download {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.btn-action-view {
  color: #8c6a28;
}

.btn-action-delete {
  color: #9a3412;
}

.btn-action-download {
  color: #1e6b42;
}

/* Hover: only text color changes, no background fill, no shadow */
.btn-action-view:hover {
  color: #b45309;
  background: transparent !important;
  box-shadow: none !important;
}

.btn-action-delete:hover {
  color: #dc2626;
  background: transparent !important;
  box-shadow: none !important;
}

.btn-action-download:hover {
  color: #15803d;
  background: transparent !important;
  box-shadow: none !important;
}

.btn-action-view:active {
  color: #92400e;
}

.btn-action-delete:active {
  color: #991b1b;
}

.btn-action-download:active {
  color: #166534;
}

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

/* ========================================================
   MODAL 3: KUNDALI PREVIEW MODAL
   ======================================================== */
.kundali-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
  overflow-y: auto;
}

.kundali-preview-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.kundali-modal-box {
  background: #08162e;
  border: 2px solid #d4af37;
  border-radius: 14px;
  width: 820px;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.kundali-preview-modal.open .kundali-modal-box {
  transform: scale(1);
}

.kundali-modal-header {
  padding: 16px 24px;
  background: #051025;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-sheet-scroll {
  padding: 25px;
  overflow-y: auto;
  background: #0f1c34;
}

.astro-authentic-sheet {
  background: #faf6ea;
  border: 2px solid #b39359;
  border-radius: 8px;
  color: #2c200f;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.authentic-sheet-top-banner {
  background: #07152d;
  border-bottom: 2px solid #d4af37;
  padding: 15px 20px;
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 15px;
  align-items: center;
}

.sheet-details-fill-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding: 22px 30px;
  background: #fbf7ee;
  border-bottom: 1.5px dashed #cca96a;
}

.sheet-field-line {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #3b280a;
}

.sheet-fill-value {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #0b1a38;
  border-bottom: 1.5px solid #a8884d;
  flex: 1;
  padding-bottom: 2px;
}

.sheet-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px 30px;
}

.chart-card-wireframe {
  border: 1.5px solid #bba06f;
  border-radius: 8px;
  background: #fffdf9;
  padding: 15px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chart-title-ribbon {
  position: absolute;
  top: -12px;
  background: #07152d;
  color: #f7e7a9;
  font-family: var(--font-bengali);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 16px;
  border-radius: 20px;
  border: 1px solid #d4af37;
}

.sheet-authentic-footer {
  background: #07152d;
  border-top: 2px solid #d4af37;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* ========================================================
   LIGHT SITE FOOTER
   ======================================================== */
.site-footer {
  margin-top: auto;
  background: #091734;
  border-top: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 -8px 25px rgba(160, 130, 80, 0.12);
  padding: 40px 0 25px;
  color: #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 35px;
  margin-bottom: 30px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.footer-col h4 {
  font-family: var(--font-title);
  color: #f7e7a9;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 i {
  color: #dfb743;
}

.footer-col p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-tagline {
  margin-top: 10px;
  color: #dfb743;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
}

.footer-developer-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 600;
}

.footer-developer-badge img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li {
  margin: 0;
}

.footer-list-item {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: var(--transition-smooth);
}

.footer-list-item i {
  color: #dfb743;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

a.footer-list-item:hover {
  color: #f7e7a9;
  transform: translateX(4px);
}

a.footer-list-item:hover i {
  color: #ffd866;
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #f7e7a9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background: var(--gold-gradient);
  color: #050d1e;
  transform: translateY(-2px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #a4b3c7;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #081734;
  color: #fff;
  border: 1.5px solid #d4af37;
  border-radius: 8px;
  padding: 14px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 11000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================================
   SETTINGS MODAL (MUKHYA BIBORON, ANTARDASHA, REMEDIES)
   ======================================================== */
.settings-modal-overlay,
.settings-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 14, 28, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.settings-modal-overlay.open,
.settings-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.settings-modal-box,
.settings-modal-card {
  background: #ffffff;
  border: 2px solid var(--gold-border);
  border-radius: 14px;
  width: 100%;
  max-width: 840px;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 26px 30px;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.settings-modal-overlay.open .settings-modal-box,
.settings-modal-backdrop.open .settings-modal-card {
  transform: scale(1) translateY(0);
}

.settings-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1.5px solid #ece0ca;
}

.settings-modal-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: #2b1d06;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-tabs-row,
.settings-modal-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1.5px solid #ece0ca;
  padding-bottom: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.settings-tab-btn {
  background: #faf6ea;
  border: 1px solid #d8c29b;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4a3411;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.settings-tab-btn:hover {
  background: #fdf0d2;
  border-color: #b88d22;
  color: #171105;
}

.settings-tab-btn.active {
  background: var(--gold-gradient);
  border-color: #b88d22;
  color: #171105;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.25);
}

.settings-panel {
  display: none;
  animation: pageEntranceSmooth 0.3s ease both;
}

.settings-panel.active {
  display: block;
}

/* ========================================================
   SETTINGS: MUKHYA BIBARAN FIELD OPTIONS CONFIGURATION
   ======================================================== */
.settings-options-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

@media (max-width: 960px) {
  .settings-options-layout {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }
}

.fields-nav-sidebar {
  background: #ffffff;
  border: 1.5px solid #dfcca6;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(184, 141, 34, 0.08);
  position: relative;
  margin-bottom: 8px;
  height: 757px;
}

.fields-nav-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #3b280a;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid #ece0ca;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-settings-btn.active-settings {
  background: var(--gold-gradient);
  border-color: #b88d22;
  color: #171105;
  font-weight: 700;
  box-shadow: none !important;
}

.field-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-nav-btn {
  width: 100%;
  text-align: left;
  background: #fdfbf7;
  border: 1px solid #ebdcc1;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #4a3411;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.field-nav-btn:hover {
  background: #fbf5e6;
  border-color: #d8c29b;
  color: #8c6a28;
}

.field-nav-btn.active {
  background: #fdf3d9;
  border-color: #d4af37;
  color: #2b1a03;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.18);
}

.field-count-pill {
  background: #f0e4ca;
  color: #6d4f19;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.field-nav-btn.active .field-count-pill {
  background: #b88d22;
  color: #ffffff;
}

.option-management-card {
  background: #ffffff;
  border: 1.5px solid #dfcca6;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(184, 141, 34, 0.08);
  margin-bottom: 40px;
  height: 757px;
  display: flex;
  flex-direction: column;
}

.option-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1.5px solid #ece0ca;
}

.option-card-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: #2e1c03;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-option-box {
  background: #fdf8ee;
  border: 1.5px dashed #d8bf8e;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.add-option-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.add-option-form .astro-input {
  height: 44px;
}

.add-option-form .btn-gold {
  height: 44px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .add-option-form {
    flex-direction: column;
    align-items: stretch;
  }
}

.options-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  min-height: 320px;
  width: 100%;
}

@media (max-width: 1200px) {
  .options-chips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .options-chips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .options-chips-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.option-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #dfcca6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3b280a;
  box-shadow: 0 1px 4px rgba(184, 141, 34, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  height: auto;
  width: 100%;
  box-sizing: border-box;
}

.option-chip:hover {
  background: #fdfaf3;
  border-color: #b88d22;
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.16);
  transform: translateY(-1.5px);
}

.option-chip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.option-chip-num {
  font-size: 11px;
  font-weight: 700;
  color: #7b5921;
  background: #f5ecd6;
  border: 1px solid #d8bf85;
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
  line-height: 1.2;
}

.option-chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 13px;
  color: #2b1a03;
  flex: 1;
  min-width: 0;
}

.option-chip-delete {
  background: transparent;
  border: none;
  color: #a84232;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.option-chip-delete:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.15);
}

.add-mode-tab-btn {
  transition: all 0.2s ease;
}

.add-mode-tab-btn.active {
  background: var(--gold-gradient) !important;
  color: #1a1002 !important;
  box-shadow: 0 2px 6px rgba(184, 141, 34, 0.35);
}

.opt-alt-lang {
  font-size: 11px;
  color: #795724;
  background: #fdf6ea;
  border: 1px solid #e5d4b8;
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
  font-weight: 600;
  white-space: nowrap;
}

.option-chip-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

/* View Mode Switcher */
.view-mode-tabs {
  display: inline-flex;
  background: #f4ecdc;
  border: 1px solid #d4c29d;
  border-radius: 8px;
  padding: 3px;
  gap: 4px;
}

.view-tab-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #5a421b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.view-tab-btn:hover {
  color: #2b1a03;
  background: rgba(255, 255, 255, 0.5);
}

.view-tab-btn.active {
  background: #ffffff;
  color: #8c6a28;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(100, 80, 40, 0.12);
}

/* ========================================================
   LANGUAGE CHANGE & CONTENT TRANSITIONS (BIBHARAN SETTINGS)
   ======================================================== */
.is-lang-transitioning .field-nav-label,
.is-lang-transitioning .field-count-pill,
.is-lang-transitioning .fields-nav-title span,
.is-lang-transitioning #btnResetText,
.is-lang-transitioning .option-card-header,
.is-lang-transitioning #addOptionHeaderLabel,
.is-lang-transitioning #btnAddOptionText,
.is-lang-transitioning .current-options-header,
.is-lang-transitioning .options-chips-grid,
.is-lang-transitioning #pageGuideText,
.is-lang-transitioning #btnNavClientEntry {
  opacity: 0.18;
  transform: translateY(-2px);
  filter: blur(0.4px);
  transition: opacity 0.16s cubic-bezier(0.4, 0, 0.2, 1), transform 0.16s cubic-bezier(0.4, 0, 0.2, 1), filter 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-animated-in .field-nav-label,
.lang-animated-in .field-count-pill,
.lang-animated-in .fields-nav-title span,
.lang-animated-in #btnResetText,
.lang-animated-in .option-card-header,
.lang-animated-in #addOptionHeaderLabel,
.lang-animated-in #btnAddOptionText,
.lang-animated-in .current-options-header,
.lang-animated-in .options-chips-grid,
.lang-animated-in #pageGuideText,
.lang-animated-in #btnNavClientEntry {
  animation: bibaranLangFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bibaranLangFadeIn {
  0% {
    opacity: 0.2;
    transform: translateY(4px);
    filter: blur(0.4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate-chip-fade {
  animation: bibaranChipFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bibaranChipFadeIn {
  0% {
    opacity: 0.25;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   PREMIUM CATEGORY BUTTONS & PILLS (CONSULTATION & REMEDIES)
   ======================================================== */
.remedy-category-tabs,
.remedy-category-pills-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}

.cat-tab-btn,
.preset-category-pill {
  padding: 8px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  border: 1.5px solid #dfcca6;
  color: #432e0c;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(184, 141, 34, 0.06);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
  outline: none;
}

.cat-tab-btn:hover,
.preset-category-pill:hover {
  border-color: #b88d22;
  background: #fdf6e6;
  color: #1f1404;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.18);
}

.cat-tab-btn.active,
.preset-category-pill.active {
  background: var(--gold-gradient) !important;
  border-color: #9c7318 !important;
  color: #171105 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.35) !important;
  transform: translateY(-1px);
}

.cat-tab-btn .badge-count,
.preset-category-pill .badge-count {
  font-size: 11px;
  font-weight: 700;
  background: #f0e2ca;
  color: #6a4a15;
  padding: 1px 7px;
  border-radius: 12px;
  line-height: 1.3;
  transition: all 0.2s ease;
}

.cat-tab-btn.active .badge-count,
.preset-category-pill.active .badge-count {
  background: rgba(23, 17, 5, 0.18);
  color: #171105;
}

.cat-tab-btn i,
.preset-category-pill i {
  font-size: 12px;
  color: #b88d22;
  transition: color 0.2s ease;
}

.cat-tab-btn.active i,
.preset-category-pill.active i {
  color: #171105;
}

/* ========================================================
   BIBHARAN DROPDOWNS ENHANCEMENT (CONSULTATION FORM TAB 2)
   ======================================================== */
#stepPane2 .form-group-line {
  background: #fffdfa;
  border: 1.5px solid #ebdcc1;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.05);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 16px;
}

#stepPane2 .form-group-line:hover {
  border-color: #d4af37;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(184, 141, 34, 0.12);
  transform: translateY(-1px);
}

#stepPane2 .form-group-line:focus-within {
  border-color: #b88d22;
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(184, 141, 34, 0.18), 0 4px 18px rgba(184, 141, 34, 0.12);
}

#stepPane2 .form-group-line label {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #3b280a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#stepPane2 select.astro-input {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #2b1a03;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b88d22'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1.5px solid #d8c29b;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#stepPane2 select.astro-input:hover {
  border-color: #b88d22;
  box-shadow: 0 2px 10px rgba(184, 141, 34, 0.16);
}

#stepPane2 select.astro-input:focus {
  border-color: #8c6a28;
  box-shadow: 0 0 0 3px rgba(184, 141, 34, 0.25);
}

#stepPane2 select.astro-input option {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
  color: #2b1a03;
}

/* Language transitions for remedy settings */
.is-remedy-lang-transitioning {
  opacity: 0.2;
  transform: translateY(-2px);
  filter: blur(0.4px);
  transition: opacity 0.16s cubic-bezier(0.4, 0, 0.2, 1), transform 0.16s cubic-bezier(0.4, 0, 0.2, 1), filter 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

.remedy-lang-animated-in {
  animation: remedyLangFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes remedyLangFadeIn {
  0% {
    opacity: 0.2;
    transform: translateY(4px);
    filter: blur(0.4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* 4 Fields Side-by-Side Columns Grid */
.four-fields-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 1200px) {
  .four-fields-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .four-fields-columns-grid {
    grid-template-columns: 1fr;
  }
}

.four-col-card {
  background: #ffffff;
  border: 1.5px solid #b89350;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(184, 141, 34, 0.08);
  display: flex;
  flex-direction: column;
}

.four-col-card-header {
  background: #fdf8ed;
  border-bottom: 1.5px solid #b89350;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.four-col-card-header h3 {
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  color: #2b1a03;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.four-col-card-body {
  padding: 10px 10px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.four-col-card-body::-webkit-scrollbar {
  width: 6px;
}

.four-col-card-body::-webkit-scrollbar-thumb {
  background: #d4c29d;
  border-radius: 3px;
}

.four-col-card-footer {
  padding: 10px;
  border-top: 1px solid #ebdcc1;
  background: #fdfbf7;
}

.four-col-mini-form {
  display: flex;
  gap: 6px;
}

.four-col-mini-form input {
  flex: 1;
  padding: 6px 10px;
  font-size: 12.5px;
  border: 1px solid #d4c29d;
  border-radius: 6px;
  background: #ffffff;
  outline: none;
}

.four-col-mini-form input:focus {
  border-color: #8c6a28;
}

.four-col-mini-form button {
  padding: 6px 10px;
  font-size: 12px;
  border: none;
  background: var(--gold-gradient);
  color: #171105;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.empty-options-msg {
  padding: 30px 20px;
  text-align: center;
  color: #7d6545;
  font-size: 14px;
  width: 100%;
}


/* ========================================================
   TAB-WISE CONSULTATION SYSTEM (WIZARD WORKFLOW)
   ======================================================== */
.consultation-wizard-container {
  margin-bottom: 40px;
}

/* Horizontal Wizard Navigation Bar */
.wizard-nav-wrap {
  background: #ffffff;
  border: 1.5px solid #d4c29d;
  border-radius: 14px;
  padding: 8px 10px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(184, 141, 34, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wizard-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 6px;
}

.wizard-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  user-select: none;
}

.wizard-tab-btn:hover {
  background: #fdfaf3;
  border-color: #e5d5b7;
}

.wizard-tab-btn.active {
  background: linear-gradient(135deg, #2b1d09 0%, #442e0e 60%, #1e1305 100%);
  border-color: #d4af37;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(212, 175, 55, 0.3);
}

.wizard-tab-btn .tab-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f4ecdc;
  color: #795724;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wizard-tab-btn.active .tab-step-badge {
  background: var(--gold-gradient);
  color: #1a1205;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.wizard-tab-btn.completed .tab-step-badge {
  background: #16a34a;
  color: #ffffff;
}

.wizard-tab-btn .tab-text-box {
  display: flex;
  flex-direction: column;
}

.wizard-tab-btn .tab-main-title {
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  color: #3b280a;
  white-space: nowrap;
}

.wizard-tab-btn.active .tab-main-title {
  color: #faebb4;
}

.wizard-tab-btn .tab-sub-title {
  font-family: var(--font-bengali);
  font-size: 11.5px;
  color: #7d6545;
  white-space: nowrap;
}

.wizard-tab-btn.active .tab-sub-title {
  color: #d4af37;
}

/* ========================================================
   SMOOTH TAB TRANSITION & LIGHT BROWN PLACEHOLDERS
   ======================================================== */
@keyframes tabSlideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.995);
  }

  60% {
    opacity: 0.88;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tab-step-pane {
  display: none;
  opacity: 0;
  will-change: transform, opacity;
}

.tab-step-pane.active {
  display: block;
  animation: tabSlideFadeIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Smooth Language Switching Transition */
@keyframes langSwitchFadeIn {
  0% {
    opacity: 0.15;
    transform: translateY(-4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-switching [data-i18n],
.lang-switching .tab-main-title,
.lang-switching .tab-sub-title,
.lang-switching .form-group-line label,
.lang-switching .sheet-header-title h2,
.lang-switching .antar-table th,
.lang-switching .antar-table td,
.lang-switching .btn-wizard-next,
.lang-switching .btn-wizard-prev,
.lang-switching .btn-wizard-draft,
.lang-switching .btn-wizard-save-all,
.lang-switching select.astro-input,
.lang-switching select.astro-input option,
.lang-switching .parchment-sheet,
.lang-switching .tab-step-pane.active {
  animation: langSwitchFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Light Brown Placeholders for Consultation Form & Mukhya Bibharan */
.astro-input::placeholder,
input.astro-input::placeholder,
textarea.astro-input::placeholder,
input::placeholder,
textarea::placeholder,
.records-search::placeholder,
.search-box input::placeholder {
  color: #a88960 !important;
  opacity: 1 !important;
  font-family: var(--font-body);
}

.astro-input::-webkit-input-placeholder,
input.astro-input::-webkit-input-placeholder,
textarea.astro-input::-webkit-input-placeholder {
  color: #a88960 !important;
  opacity: 1 !important;
}

.astro-input::-moz-placeholder,
input.astro-input::-moz-placeholder,
textarea.astro-input::-moz-placeholder {
  color: #a88960 !important;
  opacity: 1 !important;
}

.astro-input:-ms-input-placeholder,
input.astro-input:-ms-input-placeholder,
textarea.astro-input:-ms-input-placeholder {
  color: #a88960 !important;
  opacity: 1 !important;
}

/* Select unselected prompt option & empty value in light brown */
select.astro-input option[value=""],
select.astro-input:has(option[value=""]:checked),
select.astro-input.empty-val,
.cs-display-text.cs-placeholder {
  color: #a88960 !important;
}

/* Option styling inside dropdown */
select.astro-input option {
  color: #241907;
  background: #ffffff;
}

select.astro-input option[value=""] {
  color: #a88960 !important;
  font-style: italic;
}

/* 3-Inputs in a Line Grid */
.grid-3-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .grid-3-inputs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3-inputs {
    grid-template-columns: 1fr;
  }
}

/* Wizard Bottom Actions Row */
.wizard-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1.5px dashed #d8c29b;
}

.wizard-actions-left,
.wizard-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-wizard-draft {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  color: #c2410c;
  padding: 10px 22px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-wizard-draft:hover {
  background: #ffedd5;
  border-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.btn-wizard-next {
  background: var(--gold-gradient);
  border: 1.5px solid #b88d22;
  color: #171105;
  padding: 10px 24px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.2);
}

.btn-wizard-next:hover {
  filter: brightness(1.05);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(184, 141, 34, 0.3);
}

.btn-wizard-prev {
  background: #ffffff;
  border: 1.5px solid #d4c29d;
  color: #3b280a;
  padding: 10px 20px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-wizard-prev:hover {
  background: #fdfaf3;
  border-color: #b88d22;
}

.btn-wizard-save-all {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #15803d 100%);
  border: 1.5px solid #166534;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.28);
}

.btn-wizard-save-all:hover {
  filter: brightness(1.08);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.38);
}

/* Active Client Context Strip */
.wizard-client-badge-strip {
  background: #fdf8ed;
  border: 1px solid #e2d2b5;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-client-badge-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #3b280a;
}

/* ========================================================
   KUNDALI CHART COMMON STYLES (LAGNA & NABANGSHA)
   ======================================================== */
.kundali-chart-centered-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px auto;
  width: 100%;
  max-width: 720px;
}

/* Authentic Header Banner matching astro.jpeg */
.kundali-authentic-banner {
  background: linear-gradient(135deg, #2b1d09 0%, #442e0e 50%, #221606 100%);
  border: 1.5px solid #d4af37;
  border-radius: 20px;
  padding: 5px 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 0 8px rgba(212, 175, 55, 0.4);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kundali-authentic-banner::before,
.kundali-authentic-banner::after {
  content: '❖';
  color: #d4af37;
  font-size: 11px;
}

.kundali-banner-title {
  font-family: var(--font-bengali);
  font-size: 18px;
  font-weight: 700;
  color: #f7e7a9;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.kundali-interactive-card {
  position: relative;
  width: 100%;
  height: 440px;
  background: #fbf7ee;
  background-image: radial-gradient(circle at 50% 50%, #fffdf8 0%, #f7eedb 100%);
  border: 2px solid #8c6a28;
  box-shadow: 0 8px 28px rgba(66, 44, 9, 0.12), inset 0 0 22px rgba(184, 141, 34, 0.08);
  border-radius: 6px;
  overflow: visible;
  user-select: none;
  margin: 0 auto;
}

/* Corner ornamental brackets */
.kundali-corner-ornament {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #b88d22;
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}
.kundali-corner-tl { top: 3px; left: 3px; border-width: 2px 0 0 2px; }
.kundali-corner-tr { top: 3px; right: 3px; border-width: 2px 2px 0 0; }
.kundali-corner-bl { bottom: 3px; left: 3px; border-width: 0 0 2px 2px; }
.kundali-corner-br { bottom: 3px; right: 3px; border-width: 0 2px 2px 0; }

/* Kundali Chart Legend */
.kundali-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  font-family: var(--font-title);
  font-size: 12px;
  color: #795724;
  font-weight: 600;
}

@media (max-width: 768px) {
  .kundali-interactive-card {
    height: 360px;
  }
}

.kundali-svg-diagram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.kundali-house-cell {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  padding: 2px 4px;
}

.kundali-house-cell:hover {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.kundali-house-num {
  font-family: var(--font-bengali);
  font-size: 13px;
  font-weight: 700;
  color: #785a21;
  pointer-events: none;
  line-height: 1;
  margin-bottom: 3px;
}

.kundali-placed-planets {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  pointer-events: none;
}

.kundali-planet-tag {
  background: #2b1d09;
  color: #faebb4;
  border: 1px solid #d4af37;
  border-radius: 4px;
  padding: 1px 5px;
  font-family: var(--font-bengali);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.kundali-planet-tag.retro {
  border-color: #ef4444;
  color: #fca5a5;
}

.kundali-planet-tag.combust {
  border-color: #f97316;
  color: #fed7aa;
}

.kundali-planet-tag.lagna-flag {
  border-color: #f59e0b;
  color: #fef08a;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.kundali-planet-tag.lagna-badge {
  background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
  color: #fef3c7;
  border: 1.2px solid #f59e0b;
  font-weight: 800;
  padding: 1px 7px;
  box-shadow: 0 2px 6px rgba(120, 53, 15, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Planet Placement Popover Modal */
.planet-popover-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 7, 2, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1050;
  align-items: center;
  justify-content: center;
}

.planet-popover-overlay.show {
  display: flex;
}

.planet-popover-card {
  background: #fffdf9;
  border: 2px solid #b88d22;
  border-radius: 16px;
  padding: 24px 28px;
  width: 95%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  animation: pageEntranceSmooth 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #e5d5b7;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.popover-header h4 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: #2b1d09;
}

.planet-grid-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .planet-grid-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .planet-grid-picker {
    grid-template-columns: 1fr;
  }
}

.planet-choice-item {
  border: 1.5px solid #d4c29d;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.planet-choice-item:hover {
  border-color: #b88d22;
  background: #fdfaf3;
}

.planet-choice-item.selected {
  border-color: #b88d22;
  background: #fdf5e2;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.2);
}

.planet-choice-item.disabled-planet {
  background: #f8f3ea !important;
  border-color: #e2d3bb !important;
  opacity: 0.62 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.planet-choice-item.disabled-planet:hover {
  border-color: #e2d3bb !important;
  background: #f8f3ea !important;
}

.planet-choice-item.disabled-planet .choice-name {
  color: #8c775a !important;
}

.placed-house-badge {
  font-size: 11px;
  font-weight: 700;
  color: #795724;
  background: #f0e3cc;
  border: 1px solid #d4c09d;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.placed-house-badge.locked-badge {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
  cursor: not-allowed;
}

.btn-planet-select-action {
  font-family: var(--font-bengali);
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.16s ease;
  line-height: 1.2;
}

.btn-planet-select-action:hover {
  background: #fdf5e2;
  border-color: #b88d22;
  color: #8c6a28;
}

.btn-planet-select-action.is-selected {
  background: #ecfdf5;
  border-color: #86efac;
  color: #047857;
}

.btn-planet-select-action.is-selected:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.kundali-planet-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.kundali-planet-tag .tag-remove-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.28);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  margin-left: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.kundali-planet-tag .tag-remove-x:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.15);
}

.planet-option-btn.selected-here,
.planet-pick-btn.selected-here {
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
}

.planet-option-btn.locked-planet,
.planet-pick-btn.locked-planet {
  background: #fdf2f2 !important;
  border-color: #fca5a5 !important;
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}

.choice-name {
  font-family: var(--font-bengali);
  font-weight: 700;
  font-size: 14px;
  color: #2b1d09;
}

.choice-toggles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.toggle-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
  transition: all 0.15s ease;
}

.toggle-badge:hover {
  filter: brightness(0.96);
}

.toggle-badge.active-r {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
  font-weight: 800;
}

.toggle-badge.active-c {
  background: #ffedd5;
  border-color: #f97316;
  color: #c2410c;
  font-weight: 800;
}

.toggle-badge.active-l {
  background: #fef3c7;
  border-color: #b88d22;
  color: #78350f;
  font-weight: 800;
}

/* Popover Lagna Typing Bar */
.popover-lagna-bar {
  background: #fdf8ed;
  border: 1.5px solid #d8c29b;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.popover-lagna-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}

.popover-lagna-left label {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: #3b280a;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.popover-lagna-input {
  flex: 1;
  padding: 6px 12px;
  font-size: 13px;
  border: 1.5px solid #d4c29d;
  border-radius: 6px;
  background: #ffffff;
  color: #2b1d09;
  font-weight: 600;
  transition: all 0.18s ease;
}

.popover-lagna-input:focus {
  border-color: #b88d22;
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 141, 34, 0.15);
}

.popover-lagna-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-quick-lagna {
  background: #f5eedc;
  border: 1px solid #b88d22;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #593e10;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-quick-lagna:hover {
  background: #ecd9b4;
  color: #2b1d09;
  transform: translateY(-1px);
}

.btn-clear-lagna {
  background: #fee2e2;
  border: 1px solid #ef4444;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-clear-lagna:hover {
  background: #fca5a5;
  color: #991b1b;
}

/* ========================================================
   ANTARDASHA TABLE STYLES (TAB 3)
   ======================================================== */
/* ========================================================
   LANGUAGE SWITCHER (ENGLISH & BENGALI)
   ======================================================== */
.wizard-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.wizard-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fbf6ea;
  border: 1px solid #d4c29d;
  color: #795724;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(184, 141, 34, 0.08);
}

.lang-switch-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #d4c29d;
  border-radius: 24px;
  padding: 4px 6px 4px 12px;
  box-shadow: 0 3px 12px rgba(184, 141, 34, 0.12);
  transition: all 0.25s ease;
}

.lang-switch-container:hover {
  border-color: #b88d22;
  box-shadow: 0 4px 16px rgba(184, 141, 34, 0.18);
}

.lang-switch-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  color: #6d4e16;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-switch-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f4ecdc;
  padding: 3px;
  border-radius: 20px;
}

.lang-pill-btn {
  border: none;
  background: transparent;
  padding: 5px 14px;
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  color: #795724;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-pill-btn:hover {
  color: #241907;
}

.lang-pill-btn.active {
  background: var(--gold-gradient);
  color: #1a1002;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.4);
}

/* ========================================================
   ANTARDASHA TABLE STYLES (TAB 3) - FIXED HEADINGS & DATE RANGE
   ======================================================== */
.antar-table-card {
  border: 1.5px solid #d4c29d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(184, 141, 34, 0.08);
  background: #ffffff;
  margin-top: 14px;
}

.antar-table-card .table-responsive {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #b88d22 #f7eed8;
}

.antar-table-card .table-responsive::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.antar-table-card .table-responsive::-webkit-scrollbar-track {
  background: #f7eed8;
}

.antar-table-card .table-responsive::-webkit-scrollbar-thumb {
  background: #b88d22;
  border-radius: 4px;
}

.antar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.antar-table thead {
  position: sticky;
  top: 0;
  z-index: 30;
}

.antar-table thead th {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, #fdf9f0 0%, #f4e7c7 100%);
  color: #2c1a04;
  font-family: var(--font-title);
  padding: 6px 10px;
  border-bottom: 2px solid #b88d22;
  border-right: 1px solid #dfcfb2;
  box-shadow: 0 2px 6px rgba(184, 141, 34, 0.08);
  vertical-align: middle;
}

.antar-table thead th.antar-th-planet,
.antar-table thead th:first-child {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 35;
  background: linear-gradient(180deg, #f7ecd2 0%, #ebd39f 100%);
  border-right: 2px solid #b88d22;
  box-shadow: 2px 0 6px rgba(184, 141, 34, 0.10);
}

.antar-table thead th:last-child {
  border-right: none;
}

/* Planet Column Header Content */
.antar-planet-head-content {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
}

.antar-planet-head-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfbd69 0%, #8c6a28 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 1px 4px rgba(140, 106, 40, 0.25);
  flex-shrink: 0;
}

.antar-planet-head-text {
  display: flex;
  flex-direction: column;
}

.antar-planet-head-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #2b1803;
  letter-spacing: 0.5px;
}

.antar-planet-head-sub {
  font-size: 11px;
  font-weight: 600;
  color: #8c6a28;
  font-family: var(--font-bengali);
}

/* Period / Mahadasha Header Box */
.antar-col-header-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.antar-col-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.antar-col-dasha-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(184, 141, 34, 0.12);
  border: 1px solid rgba(184, 141, 34, 0.3);
  color: #795724;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.antar-col-dasha-pill i {
  font-size: 10px;
  color: #b88d22;
}

.btn-antar-col-remove {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.btn-antar-col-remove:hover {
  background: #ef4444;
  border-color: #b91c1c;
  color: #ffffff;
  transform: scale(1.15);
}

.antar-col-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.antar-col-edit-icon {
  position: absolute;
  left: 10px;
  color: #b88d22;
  font-size: 11px;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.col-header-input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 28px;
  background: #ffffff;
  border: 1.5px solid #d4c29d;
  border-radius: 7px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: #2b1803;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.col-header-input:hover {
  border-color: #8c6a28;
  background: #fffdf9;
}

.col-header-input:focus {
  border-color: #b88d22;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 141, 34, 0.22);
}

.col-header-input::placeholder {
  color: #ad9a7e;
  font-weight: normal;
  font-size: 11.5px;
}

/* Antardasha Add Column Header Button */
.btn-antar-add-col {
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #faf4e8;
  border: 1.5px solid #d4af37;
  border-radius: 7px;
  color: #6d4e16;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(184, 141, 34, 0.12);
}

.btn-antar-add-col:hover {
  background: linear-gradient(135deg, #dfbd69 0%, #926f34 100%);
  border-color: #795724;
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(140, 106, 40, 0.3);
}

.btn-antar-add-col i {
  color: #b88d22;
  transition: color 0.15s;
}

.btn-antar-add-col:hover i {
  color: #ffffff;
}

.antar-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid #ebdcc1;
  border-right: 1px solid #ebdcc1;
  vertical-align: middle;
  background: #ffffff;
}

.antar-table tbody td:last-child {
  border-right: none;
}

.antar-table tbody td.planet-col-cell {
  position: sticky;
  left: 0;
  z-index: 20;
  background: #faf4e5;
  border-right: 1.5px solid #ceb37f;
}

.antar-planet-label {
  font-weight: 700;
  color: #2b1a03;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Date Range Selector Inside Table Cell */
.antar-cell-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #dfcfb3;
  border-radius: 8px;
  padding: 2px 4px 2px 8px;
  min-width: 175px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(60, 40, 10, 0.04);
}

.antar-cell-date-wrap:hover {
  border-color: #b88d22;
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.15);
}

.antar-cell-date-wrap:focus-within {
  border-color: #8c6a28;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  background: #fffdfa;
}

.antar-cell-input.antar-range-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: #241907;
  padding: 6px 4px;
  cursor: pointer;
}

.antar-cell-input.antar-range-input::placeholder {
  color: #a88960;
  font-weight: normal;
  font-size: 12px;
}

.antar-cell-calendar-btn {
  background: none;
  border: none;
  color: #b88d22;
  padding: 5px 6px;
  cursor: pointer;
  font-size: 13.5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.antar-cell-calendar-btn:hover {
  color: #6e4e13;
  background: #fbf5e8;
  transform: scale(1.1);
}

.antar-cell-clear-btn {
  background: none;
  border: none;
  color: #9d8763;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 11px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.antar-cell-clear-btn:hover {
  color: #dc2626;
  background: #fee2e2;
}

/* Flatpickr Luxury Gold Range Theme Accent */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #8c6a28 !important;
  border-color: #8c6a28 !important;
  color: #ffffff !important;
}

.flatpickr-day.inRange {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  box-shadow: -5px 0 0 rgba(212, 175, 55, 0.22), 5px 0 0 rgba(212, 175, 55, 0.22) !important;
}

/* ========================================================
   REMEDY WORKSPACE STYLES (TAB 6)
   ======================================================== */
.remedy-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .remedy-grid-layout {
    grid-template-columns: 1fr;
  }
}

.remedy-catalog-box,
.remedy-prescribed-box {
  background: #ffffff;
  border: 1.5px solid #d4c29d;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.08);
}

.remedy-item-card {
  border: 1px solid #ebdcc1;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.18s ease;
}

.remedy-item-card:hover {
  border-color: #b88d22;
  background: #fdfaf3;
}

.prescribed-item-row {
  background: #fdfaf3;
  border: 1.5px solid #e2d2b5;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

/* ========================================================
   PREMIUM VEDIC LUXURY CATEGORY BUTTONS & TABS UI
   ======================================================== */
.remedy-category-tabs,
.consultation-category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cat-tab-btn,
.catalog-cat-btn {
  padding: 9px 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1.5px solid #d4c29d;
  color: #4a3310;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(66, 44, 9, 0.04);
  user-select: none;
}

.cat-tab-btn:hover,
.catalog-cat-btn:hover {
  border-color: #8c6a28;
  background: #faf4e8;
  color: #1a1205;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(184, 141, 34, 0.15);
}

.cat-tab-btn.active,
.catalog-cat-btn.active {
  background: linear-gradient(135deg, #dfbd69 0%, #926f34 100%);
  border-color: #795724;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(140, 106, 40, 0.35);
  transform: translateY(-1px);
}

.cat-tab-btn .badge-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  padding: 2px 8px;
  border-radius: 12px;
}

.cat-tab-btn.active .badge-count {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.preset-category-pill {
  padding: 8px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #d8c29b;
  color: #4a3310;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  user-select: none;
}

.preset-category-pill:hover {
  border-color: #8c6a28;
  background: #faf4e8;
  color: #1a1205;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(184, 141, 34, 0.18);
}

.preset-category-pill.active {
  background: linear-gradient(135deg, #dfbd69 0%, #926f34 100%);
  border-color: #795724;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(140, 106, 40, 0.35);
  transform: translateY(-1px);
}

/* ========================================================
   ENHANCED MUKHYA BIBHARAN DROPDOWNS IN CONSULTATION FORM
   ======================================================== */
#stepPane2 .form-group-line {
  background: #ffffff;
  border: 1.5px solid #ebdcc1;
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(184, 141, 34, 0.05);
  position: relative;
}

#stepPane2 .form-group-line:hover {
  border-color: #d4af37;
  box-shadow: 0 6px 18px rgba(184, 141, 34, 0.12);
  transform: translateY(-2px);
}

#stepPane2 .form-group-line:focus-within {
  border-color: #b88d22;
  box-shadow: 0 0 0 3px rgba(184, 141, 34, 0.18), 0 6px 20px rgba(184, 141, 34, 0.14);
}

#stepPane2 .form-group-line label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  color: #3b280a;
  margin-bottom: 9px;
  letter-spacing: 0.2px;
}

/* Custom Select Integration for Step 2 */
#stepPane2 .custom-select-wrapper {
  position: relative;
  width: 100%;
}

#stepPane2 .cs-trigger {
  min-height: 44px;
  height: 44px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  border: 1.5px solid #d8c29b;
  border-radius: 8px;
  padding: 0 12px 0 16px;
  font-family: var(--font-bengali);
  font-size: 14px;
  font-weight: 600;
  color: #2b1d09;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(184, 141, 34, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none;
}

#stepPane2 .cs-trigger:hover {
  border-color: #b88d22;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(184, 141, 34, 0.14);
}

#stepPane2 .cs-trigger:focus {
  border-color: #b88d22;
  box-shadow: 0 0 0 3px rgba(184, 141, 34, 0.2);
}

#stepPane2 .cs-open .cs-trigger {
  border-color: #b88d22;
  background: #ffffff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 0 3.5px rgba(184, 141, 34, 0.2);
}

#stepPane2 .cs-display-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
  font-family: var(--font-bengali);
}

#stepPane2 .cs-display-text.cs-placeholder {
  color: #a88960;
  font-style: italic;
  font-weight: 500;
  font-size: 13.5px;
}

#stepPane2 .cs-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fbf5e8;
  color: #b88d22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

#stepPane2 .cs-open .cs-arrow {
  transform: rotate(180deg);
  background: #b88d22;
  color: #ffffff;
}

#stepPane2 .cs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.8px solid #b88d22;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px rgba(45, 30, 8, 0.22), 0 6px 14px rgba(45, 30, 8, 0.08);
  z-index: 99999 !important;
  max-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#stepPane2 .cs-search-wrap {
  background: #faf6ed;
  border-bottom: 1.5px solid #ebd8b8;
  padding: 8px 12px;
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#stepPane2 .cs-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #b88d22;
  font-size: 12px;
  pointer-events: none;
}

#stepPane2 .cs-search-input {
  width: 100%;
  height: 34px;
  padding: 0 28px 0 32px;
  border: 1.5px solid #d8c29b;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-bengali);
  color: #2b1d09;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

#stepPane2 .cs-search-input:focus {
  border-color: #b88d22;
  box-shadow: 0 0 0 2.5px rgba(184, 141, 34, 0.18);
}

#stepPane2 .cs-listbox {
  max-height: 220px;
  min-height: 50px;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #c9aa6c #faf5ea;
}

#stepPane2 .cs-listbox::-webkit-scrollbar {
  width: 7px;
}

#stepPane2 .cs-listbox::-webkit-scrollbar-track {
  background: #faf5ea;
}

#stepPane2 .cs-listbox::-webkit-scrollbar-thumb {
  background: #c9aa6c;
  border-radius: 4px;
}

#stepPane2 .cs-listbox::-webkit-scrollbar-thumb:hover {
  background: #b88d22;
}

#stepPane2 .cs-option {
  padding: 10px 16px;
  font-family: var(--font-bengali);
  font-size: 14px;
  font-weight: 600;
  color: #2b1d09;
  cursor: pointer;
  border-left: 3.5px solid transparent;
  border-bottom: 1px solid #f9f2e4;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#stepPane2 .cs-option:hover,
#stepPane2 .cs-option.cs-focused {
  background: #fdf5e2;
  color: #1a1002;
  border-left-color: #b88d22;
  padding-left: 20px;
}

#stepPane2 .cs-option.cs-selected {
  background: #f7eed8;
  color: #734e0a;
  font-weight: 700;
  border-left-color: #8c6a28;
}

#stepPane2 .cs-option.cs-selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: #8c6a28;
}

#stepPane2 .cs-option.cs-placeholder-opt {
  color: #a48c69;
  font-style: italic;
  font-weight: 500;
  border-left-color: transparent !important;
}

/* Fallback native select styles (when JS hasn't wrapped yet) */
#stepPane2 select.astro-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%23b88d22' d='M12 15.5l-6-6h12l-6 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
  border: 1.5px solid #d8c29b;
  border-radius: 8px;
  height: 42px;
  font-size: 14px;
  font-family: var(--font-bengali);
  color: #231707;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Language Transition Keyframes */
.is-remedy-lang-transitioning {
  opacity: 0.3;
  transform: scale(0.995);
  filter: blur(1px);
  transition: all 0.14s cubic-bezier(0.4, 0, 0.2, 1);
}

.remedy-lang-animated-in {
  animation: remedyLangFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes remedyLangFadeIn {
  from { opacity: 0.4; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Manage Categories Modal Row & Vedic Luxury Buttons */
.manage-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid #ebdcc1;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(43, 29, 9, 0.04);
}

.manage-cat-row:hover {
  border-color: #c59f42;
  background: #fffdf9;
  box-shadow: 0 4px 14px rgba(184, 141, 34, 0.12);
  transform: translateY(-1px);
}

.manage-cat-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.manage-cat-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbf4e2 0%, #f4e3be 100%);
  border: 1px solid #d8c29b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c6a28;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(184, 141, 34, 0.1);
}

.manage-cat-name {
  font-weight: 700;
  color: #2b1d09;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manage-cat-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cat-action {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  letter-spacing: 0.3px;
}

.btn-cat-edit {
  background: #fffdfa;
  border: 1.5px solid #d4af37;
  color: #6d4e16;
  box-shadow: 0 2px 4px rgba(184, 141, 34, 0.08);
}

.btn-cat-edit:hover {
  background: linear-gradient(135deg, #fdf6e7 0%, #faecd0 100%);
  border-color: #8c6a28;
  color: #1a1205;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(184, 141, 34, 0.25);
}

.btn-cat-edit:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(184, 141, 34, 0.15);
}

.btn-cat-edit i {
  color: #b88d22;
  font-size: 12px;
  transition: transform 0.18s ease;
}

.btn-cat-edit:hover i {
  transform: scale(1.15);
  color: #8c6a28;
}

.btn-cat-delete {
  background: #fffafa;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.06);
}

.btn-cat-delete:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-color: #ef4444;
  color: #7f1d1d;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.22);
}

.btn-cat-delete:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.12);
}

.btn-cat-delete i {
  color: #dc2626;
  font-size: 12px;
  transition: transform 0.18s ease;
}

.btn-cat-delete:hover i {
  transform: scale(1.15);
  color: #991b1b;
}

/* Print Rules */
@media print {

  body,
  body.has-sidebar {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
  }

  .site-navbar,
  .site-sidebar,
  .mobile-top-bar,
  .sidebar-backdrop,
  .page-intro-strip,
  .records-container,
  .bg-cosmic-glow,
  .toast-msg,
  .kundali-modal-header,
  .site-footer,
  .parchment-sheet {
    display: none !important;
  }

  .kundali-preview-modal {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .kundali-modal-box {
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ========================================================
   PERMANENT ANTARDASHA COLUMN HEADERS
   ======================================================== */
.antar-col-header-box.permanent-col-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.antar-permanent-col-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: #2b1803;
  letter-spacing: 0.2px;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* ========================================================
   AUTHENTIC JAIMINI KARAKA CHART (ATMAKARAKA ETC.)
   Matches Vedic aesthetic from astro.jpeg
   ======================================================== */
.karaka-chart-wrapper {
  background: linear-gradient(135deg, #fffdf9 0%, #fcf7ed 100%);
  border: 1.5px solid #d4c29d;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(184, 141, 34, 0.08);
  margin-bottom: 24px;
}

.karaka-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #ebdcc1;
  flex-wrap: wrap;
}

.karaka-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.karaka-card-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  color: #2c1a04;
  margin: 0;
  letter-spacing: 0.3px;
}

.karaka-card-sub {
  font-size: 12px;
  color: #795724;
  margin: 2px 0 0 0;
  font-family: var(--font-bengali);
}

.karaka-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf5e2;
  border: 1px solid #dfcba4;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #6b4d1c;
  font-weight: 600;
}

.karaka-table-card {
  background: #ffffff;
  border: 2px solid #8c6a28;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(140, 106, 40, 0.12);
}

.karaka-table {
  width: 100%;
  border-collapse: collapse;
}

.karaka-table tr {
  border-bottom: 1.5px solid #8c6a28;
}

.karaka-table tr:last-child {
  border-bottom: none;
}

.karaka-label-cell {
  width: 20%;
  background: linear-gradient(180deg, #fdf9f0 0%, #f4e7c7 100%);
  border-right: 1.5px solid #8c6a28;
  padding: 12px 14px;
  text-align: center;
  vertical-align: middle;
}

.karaka-label-cell:nth-child(3) {
  border-left: 2px solid #8c6a28;
}

.karaka-label-badge {
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 800;
  color: #2c1a04;
  letter-spacing: 0.3px;
  display: inline-block;
}

.karaka-input-cell {
  width: 30%;
  background: #ffffff;
  padding: 8px 12px;
  vertical-align: middle;
}

.karaka-input {
  width: 100%;
  height: 38px;
  background: #fffdf9;
  border: 1.5px solid #dfcfb2;
  border-radius: 6px;
  padding: 0 12px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #2b1803;
  text-align: center;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.karaka-input:hover {
  border-color: #8c6a28;
  background: #ffffff;
}

.karaka-input:focus {
  border-color: #b88d22;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 141, 34, 0.25);
}

.karaka-input::placeholder {
  color: #ab9878;
  font-weight: 500;
  font-size: 12.5px;
}

@media (max-width: 768px) {
  .karaka-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .karaka-label-cell,
  .karaka-input-cell {
    width: 100% !important;
  }
  .karaka-label-cell:nth-child(3) {
    border-left: none;
    border-top: 1.5px solid #8c6a28;
  }
  .karaka-input-cell:nth-child(4) {
    border-top: 1.5px solid #8c6a28;
  }
}