/* ==========================================================================
   ONLYMANTRA VEDIC PERSONALIZATION & DASHA CHANTING PORTAL
   ========================================================================== */

/* Plus Jakarta Sans — loaded ONLY for this page, not globally */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

.om-chant-portal-page {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 60px;
  color: #1e293b;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── Today's Panchang Panel ─── */
.om-today-panchang {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: 12px;
  padding: 12px 16px 12px;
  margin-bottom: 16px;
}

.om-panchang-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.om-panchang-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.om-panchang-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fed7aa;
  background: rgba(234, 88, 12, 0.18);
  border: 1px solid rgba(234, 88, 12, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}

.om-panchang-date-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.om-panchang-title {
  font-family: 'Marcellus', 'Rozha One', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.4px;
}

/* Calendar Datepicker Wrapper */
.om-panchang-date-picker-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.om-panchang-cal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(254, 215, 170, 0.3);
  border-radius: 6px;
  padding: 3px 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  transition: all 0.2s ease;
}

.om-panchang-cal-btn:hover {
  background: rgba(234, 88, 12, 0.3);
  border-color: #ea580c;
  transform: scale(1.08);
}

/* Hidden overlay input that opens native OS calendar on click */
.om-panchang-date-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

/* Next / Prev Day Nav Arrows */
.om-panchang-day-nav {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.om-p-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fed7aa;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.om-p-nav-btn:hover {
  background: rgba(234, 88, 12, 0.35);
  border-color: #ea580c;
  color: #ffffff;
}

.om-panchang-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #4ade80;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.om-panchang-live-dot span.om-p-dot-pulse {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: om-live-radar 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
  flex-shrink: 0;
}

@keyframes om-live-radar {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8), 0 0 4px #22c55e;
    transform: scale(0.95);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0), 0 0 6px #22c55e;
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 4px #22c55e;
    transform: scale(0.95);
  }
}

.om-panchang-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

@media (max-width: 900px) {
  .om-panchang-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .om-panchang-grid { grid-template-columns: repeat(2, 1fr); }
}

.om-panchang-cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 6px;
  text-align: center;
  transition: background 0.2s;
}

.om-panchang-cell:hover {
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.2);
}

.om-pc-icon {
  font-size: 15px;
  margin-bottom: 3px;
}

.om-pc-label {
  font-size: 9px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.om-pc-value {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.om-pc-sub {
  font-family: 'Ramabhadra', 'Mandali', 'Suranna', 'Noto Serif Telugu', sans-serif;
  font-size: 10px;
  color: #fde68a;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.om-pc-until {
  font-size: 9.5px;
  color: #fed7aa;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.2px;
  background: rgba(234, 88, 12, 0.22);
  border: 1px solid rgba(251, 146, 60, 0.4);
  border-radius: 4px;
  padding: 1px 5px;
  display: inline-block;
  white-space: nowrap;
}

.om-pc-until-label {
  font-weight: 600;
  color: #fed7aa;
  text-transform: lowercase;
  opacity: 0.85;
}

/* ─── Festival & Vratam Card in Panchang Box ─── */
.om-panchang-festival {
  background: rgba(254, 243, 199, 0.08);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.om-pf-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.om-pf-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.om-pf-badge.today {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.15);
  border-color: rgba(234, 88, 12, 0.3);
}

.om-pf-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 10.5px;
  color: #e2e8f0;
}

.om-pf-date-pill strong {
  color: #fed7aa;
  font-weight: 700;
}

.om-pf-body {
  width: 100%;
}

.om-pf-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.om-pf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 5px 8px;
  transition: background 0.2s;
}

.om-pf-item:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.2);
}

.om-pfi-icon {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

.om-pfi-name {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .om-pf-items-list {
    grid-template-columns: 1fr;
  }
}

.om-pf-footer {
  border-top: 1px dashed rgba(251, 191, 36, 0.2);
  padding-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.om-pf-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #f97316;
  text-decoration: none;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.om-pf-action-link:hover {
  background: #ea580c;
  color: #ffffff !important;
}

.om-pf-arrow {
  transition: transform 0.2s;
}

.om-pf-action-link:hover .om-pf-arrow {
  transform: translateX(3px);
}

/* ─── Today's Spiritual Practice Panel ─── */
/* ────────────────────────────────────────
   2-COLUMN ROW: Panchang + Spiritual Practice
──────────────────────────────────────── */
.om-panchang-practice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

/* Panchang lives left: use 3 cols instead of 6 (fits in half-width) */
.om-panchang-practice-row .om-today-panchang {
  margin-bottom: 0;
}

.om-panchang-practice-row .om-panchang-grid {
  grid-template-columns: repeat(3, 1fr);
}

.om-today-practice {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ee 100%);
  border: 1.5px solid #fcd5a8;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 0;
  /* Fill the same height as panchang */
  align-self: stretch;
}

.om-tp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.om-tp-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #9a3412;
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid rgba(234, 88, 12, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.om-tp-sub {
  font-size: 11px;
  color: #92400e;
  font-weight: 600;
}

.om-tp-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.om-tp-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 14px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed #f3d5ae;
}

.om-tp-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.om-tp-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.om-tp-value {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  grid-column: 2;
}

.om-tp-why {
  font-size: 11px;
  color: #475569;
  line-height: 1.45;
  grid-column: 2;
  margin-top: -2px;
}

.om-tp-link {
  color: #ea580c;
  text-decoration: none;
  font-weight: 700;
}

.om-tp-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .om-tp-row { grid-template-columns: 1fr; }
  .om-tp-value, .om-tp-why { grid-column: 1; }
}

/* ─── WHY label on chant cards ─── */
.om-rc-why {
  font-size: 11px;
  color: #78716c;
  font-style: italic;
  line-height: 1.5;
  margin: 4px 0 6px;
  padding: 5px 8px;
  background: #fef9f5;
  border-left: 3px solid #fed7aa;
  border-radius: 0 6px 6px 0;
}

/* ─── Personalized Section Header ─── */
.om-pers-header {
  text-align: center;
  padding: 24px 0 14px;
  border-top: 1.5px dashed #e2d4c4;
  margin-top: 24px;
}

.om-pers-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #92400e;
  background: linear-gradient(90deg, #fff7ed, #fef3c7, #fff7ed);
  border: 1.5px solid #fcd5a8;
  padding: 6px 18px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 10px;
}

.om-pers-title {
  font-family: 'Marcellus', 'Rozha One', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: 0.4px;
}

.om-pers-sub {
  font-size: 12.5px;
  color: #475569;
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.6;
}

.om-pers-sub strong {
  color: #ea580c;
  font-weight: 700;
}

/* ─── Quick Chant Search Box ─── */
.om-chant-search-box {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e5d5c0;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.om-chant-search-box:focus-within {
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
  border-radius: 14px;
}

.om-search-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.om-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  padding: 14px 0;
  font-weight: 500;
}

.om-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.om-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #ede3d5;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  z-index: 200;
  overflow: hidden;
}

.om-search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  text-decoration: none;
  border-bottom: 1px solid #f8f4ef;
  transition: background 0.12s;
}

.om-search-result-item:last-child { border-bottom: none; }

.om-search-result-item:hover {
  background: #fff7ed;
}

.om-sri-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.om-sri-telugu {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}

/* ─── Recommended Chants Section ─── */
.om-rec-section {
  margin-top: 28px;
}

.om-rec-header {
  margin-bottom: 18px;
}

.om-rec-header h2 {
  font-family: 'Marcellus', 'Rozha One', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: 0.4px;
}

.om-rec-header p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.om-rec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.om-rec-card {
  background: #ffffff;
  border: 1px solid #ede3d5;
  border-radius: 13px;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.om-rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12);
  border-color: #fdba74;
}

.om-rc-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
}

.om-rc-badge.hanuman { color: #dc2626; background: #fef2f2; border-color: #fecaca; }
.om-rc-badge.nakshatra { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.om-rc-badge.rashi { color: #059669; background: #ecfdf5; border-color: #a7f3d0; }

.om-rc-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.om-rc-telugu {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 500;
}

.om-rc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #475569;
  margin-bottom: 14px;
}

.om-rc-btn {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1.5px solid #fed7aa;
  color: #c2410c;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 7px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.om-rc-btn:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

/* Hero Header */
.om-chant-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(20, 10, 5, 0.65) 100%),
              url('../images/om-hero-clean.webp') center center / cover no-repeat;
  color: #ffffff;
  padding: 64px 20px 52px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(234, 88, 12, 0.35);
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.3);
}

.om-chant-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(234, 88, 12, 0.12) 0%, rgba(0, 0, 0, 0.35) 90%);
  pointer-events: none;
}

.om-chant-hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  z-index: 2;
}

.om-chant-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.om-hero-badge {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(254, 215, 170, 0.4);
  color: #fed7aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.om-chant-title-main {
  font-family: 'Marcellus', 'Rozha One', 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.om-chant-title-sub {
  font-size: 15px;
  color: #f8fafc;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* Master Container */
.om-chant-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ────────────────────────────────────────
   TOP LEADERBOARD: 728×90 — centered, clean
──────────────────────────────────────── */
.om-ad-top-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 20px 0;
  margin: 0 auto 24px;
  max-width: 1280px;
  box-sizing: border-box;
}

.om-ad-leaderboard-slot {
  position: relative;
  width: 728px;
  max-width: 100%;
  height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

/* ────────────────────────────────────────
   DUMMY PLACEHOLDERS (pre-approval)
──────────────────────────────────────── */
.om-ad-dummy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fafaf9;
  border: 1px dashed #d6cfc5;
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
  box-sizing: border-box;
}

.om-ad-dummy--leaderboard {
  width: 728px;
  max-width: 100%;
  height: 90px;
}

.om-ad-dummy--skyscraper {
  width: 160px;
  height: 600px;
}

.om-ad-dummy-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #b8b0a4;
}

.om-ad-dummy-size {
  font-size: 9px;
  color: #c8c0b8;
  font-weight: 500;
}

/* AdSense unit sits on top of dummy; once active, it covers the placeholder */
.om-adsense-unit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  background: transparent !important;
}

.om-adsense-unit iframe {
  border: none !important;
  border-radius: 6px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* ────────────────────────────────────────
   2-COLUMN LAYOUT: stable, balanced
──────────────────────────────────────── */
.om-portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.om-portal-main {
  min-width: 0;
}

/* ────────────────────────────────────────
   RIGHT SIDEBAR: comfortable 300px width
──────────────────────────────────────── */
.om-portal-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

/* ────────────────────────────────────────
   SIDEBAR SKYSCRAPER SLOT: 160×600 (centered in 300px sidebar)
──────────────────────────────────────── */
.om-ad-skyscraper-slot {
  position: relative;
  width: 160px;
  height: 600px;
  margin: 0 auto;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  /* Sticky: follows scroll within sidebar */
  position: sticky;
  top: 90px;
  align-self: center;
}

/* Step 1: Birth Input Card */
.om-input-card {
  background: #ffffff;
  border: 1px solid #ede3d5;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 28px 24px;
  margin-bottom: 28px;
}

.om-input-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.om-input-card-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}

.om-input-card-header p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.om-birth-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.om-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.om-form-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.om-form-input,
.om-form-select {
  height: 42px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.om-form-input:focus,
.om-form-select:focus {
  background: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.om-btn-calculate {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.25);
  transition: all 0.2s ease;
}

.om-btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

/* Step 2: Results Container */
.om-results-container {
  display: none;
  animation: omFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Vedic Identity Bar (4 Cards) */
.om-identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.om-identity-card {
  background: #ffffff;
  border: 1px solid #ede3d5;
  border-radius: 11px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.om-identity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #ea580c;
}

.om-id-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  margin-bottom: 3px;
}

.om-id-value {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.om-id-sub {
  font-size: 11px;
  color: #c2410c;
  font-weight: 600;
  margin-top: 3px;
}

/* Active Vimshottari Dasha Card */
.om-dasha-hero-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(254, 215, 170, 0.2);
  border-radius: 14px;
  padding: 22px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.om-dh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.om-dh-badge {
  background: rgba(234, 88, 12, 0.25);
  border: 1px solid #ea580c;
  color: #fed7aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
}

.om-dh-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.om-dh-period-box {
  flex: 1 1 170px;
}

.om-dh-period-box .om-dh-title {
  font-size: 10.5px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.om-dh-period-box .om-dh-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffedd5;
}

.om-dh-period-box .om-dh-dates {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Interactive Dasha Visual Timeline */
.om-dasha-timeline-box {
  background: #ffffff;
  border: 1px solid #ede3d5;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.om-dt-title {
  font-family: 'Philosopher', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
}

.om-timeline-track {
  display: flex;
  width: 100%;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.om-timeline-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.om-timeline-segment:hover {
  filter: brightness(1.15);
  transform: scaleY(1.05);
  z-index: 5;
}

.om-timeline-segment.active {
  box-shadow: 0 0 0 3px #ffffff, 0 0 12px rgba(234, 88, 12, 0.6);
  z-index: 10;
}

/* Mid-Content In-Feed 728x90 Leaderboard Ad */
.om-in-content-ad {
  margin: 28px auto;
  background: #fdfbf7;
  border: 1px dashed #e2d9cc;
  border-radius: 12px;
  width: 728px;
  max-width: 100%;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

/* Sidebar Widgets & Ad Slots */
.om-sidebar-card {
  background: #ffffff;
  border: 1px solid #ede3d5;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.om-sidebar-card h3 {
  font-family: 'Philosopher', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

.om-sidebar-card p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 12px;
}

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

.om-sidebar-list li {
  font-size: 12px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .om-portal-layout {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .om-portal-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
    margin-top: 24px !important;
  }
  .om-portal-sidebar .om-sidebar-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .om-ad-skyscraper-slot {
    display: none !important;
  }
}

@media (max-width: 800px) {
  /* Stack panchang + practice vertically on tablet */
  .om-panchang-practice-row {
    grid-template-columns: 1fr;
  }
  .om-panchang-practice-row .om-panchang-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .om-chant-title-main {
    font-size: 24px;
  }
  .om-input-card {
    padding: 20px 16px;
  }
  .om-dh-main {
    gap: 12px;
  }
  .om-timeline-track {
    overflow-x: auto;
  }
  /* Leaderboard: collapse to responsive banner on mobile */
  .om-ad-leaderboard-slot {
    width: 100%;
    height: auto;
    min-height: 50px;
  }
  .om-ad-dummy--leaderboard {
    height: 50px;
  }
  .om-ad-top-wrap {
    padding: 10px 12px 0;
  }
}

@media (max-width: 767px) {
  .om-chant-title-main {
    font-size: 24px;
  }
  .om-input-card {
    padding: 20px 16px;
  }
  .om-dh-main {
    gap: 12px;
  }
  .om-timeline-track {
    overflow-x: auto;
  }
  .om-ad-slot-leaderboard {
    min-height: 60px;
  }
}
