/* ─── PANCHANG HERO CARD ─── */
.full-panchang-wrapper {
    font-family: 'Hind', sans-serif;
    color: #1A1A1A;
}
.panch-hero { background: linear-gradient(135deg, #8B1A1A 0%, #5c1010 100%); border-radius: 10px; padding: 24px 26px 20px; margin-bottom: 20px; color: #fff; position: relative; overflow: hidden; }
.panch-hero::before { content: 'ॐ'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: 'Noto Serif Devanagari', serif; font-size: 110px; opacity: .07; line-height: 1; pointer-events: none; }
.panch-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panch-hero-left h1 { font-family: 'Noto Serif Devanagari', serif; font-size: 26px; font-weight: 700; line-height: 1.3; }
.panch-hero-left .subtitle { font-size: 13px; opacity: .75; margin-top: 5px; }
.panch-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.panch-hero-badges .badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 4px 12px; font-size: 12px; display: flex; align-items: center; gap: 5px; }
.panch-hero-badges .badge.gold { background: rgba(212,160,23,.25); border-color: rgba(212,160,23,.4); }
.panch-sun-row { display: flex; gap: 16px; flex-wrap: wrap; }
.sun-item { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 14px; min-width: 130px; }
.sun-icon { font-size: 22px; }
.sun-info .sun-lbl { font-size: 10.5px; opacity: .7; }
.sun-info .sun-val { font-size: 15px; font-weight: 700; line-height: 1.2; }

/* ─── PANCHANG MAIN GRID ─── */
.panch-main { background: #FFFFFF; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,.08); overflow: hidden; margin-bottom: 20px; }
.panch-section-title { background: #FFF3EC; border-bottom: 2px solid #E8611A; padding: 10px 18px; display: flex; align-items: center; gap: 8px; }
.panch-section-title span { font-family: 'Noto Serif Devanagari', serif; font-size: 16px; font-weight: 700; color: #8B1A1A; }
.panch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.panch-cell { padding: 14px 18px; border-right: 1px solid #E5E0D8; border-bottom: 1px solid #E5E0D8; }
.panch-cell:nth-child(3n) { border-right: none; }
.panch-cell:nth-last-child(-n+3) { border-bottom: none; }
.pc-lbl { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.pc-val { font-family: 'Noto Serif Devanagari', serif; font-size: 15px; font-weight: 700; color: #1A1A1A; line-height: 1.4; }
.pc-sub { font-size: 11.5px; color: #666; margin-top: 2px; }
.pc-val .tag { display: inline-block; background: #FFF8E7; color: #9a7200; font-size: 10px; font-family: 'Hind', sans-serif; font-weight: 700; padding: 1px 7px; border-radius: 3px; margin-left: 5px; vertical-align: middle; }
.pc-val .tag.shubh { background: #e8f5e9; color: #2e7d32; }
.pc-val .tag.ashubh { background: #ffebee; color: #c62828; }

/* ─── MUHURAT TABLE ─── */
.muhurat-card { background: #FFFFFF; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,.08); overflow: hidden; margin-bottom: 20px; }
.muhurat-table { width: 100%; border-collapse: collapse; }
.muhurat-table th { background: #FFF8E7; color: #8B1A1A; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 9px 16px; text-align: left; border-bottom: 2px solid #e0c77a; }
.muhurat-table td { padding: 11px 16px; font-size: 13.5px; border-bottom: 1px solid #E5E0D8; vertical-align: middle; }
.muhurat-table tr:last-child td { border-bottom: none; }
.muhurat-table tr:hover td { background: #FFF3EC; }
.mt-name { font-weight: 600; color: #1A1A1A; display: flex; align-items: center; gap: 7px; }
.mt-time { font-family: 'Hind', sans-serif; font-size: 13px; color: #8B1A1A; font-weight: 600; }
.mt-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 12px; display: inline-block; }
.mt-badge.shubh { background: #e8f5e9; color: #2e7d32; }
.mt-badge.ashubh { background: #ffebee; color: #c62828; }
.mt-badge.neutral { background: #FFF8E7; color: #9a7200; }

/* ─── CHOGHADIYA ─── */
.chog-card { background: #FFFFFF; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,.08); overflow: hidden; margin-bottom: 20px; }
.chog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.chog-col-head { background: #FFF3EC; border-bottom: 2px solid #E8611A; padding: 9px 16px; display: flex; align-items: center; gap: 7px; font-family: 'Noto Serif Devanagari', serif; font-size: 14px; font-weight: 700; color: #8B1A1A; }
.chog-col-head:first-child { border-right: 1px solid #E5E0D8; }
.chog-list { padding: 6px 0; }
.chog-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid #E5E0D8; transition: background .12s; }
.chog-col:first-child .chog-item { border-right: 1px solid #E5E0D8; }
.chog-item:last-child { border-bottom: none; }
.chog-item:hover { background: #FFF3EC; }
.chog-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.chog-dot.shubh { background: #4caf50; }
.chog-dot.ashubh { background: #f44336; }
.chog-dot.neutral { background: #D4A017; }
.chog-name { font-size: 13.5px; font-weight: 600; flex: 1; }
.chog-time { font-size: 12px; color: #666; }
.chog-qual { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.shubh-lbl { background: #e8f5e9; color: #2e7d32; }
.ashubh-lbl { background: #ffebee; color: #c62828; }
.neutral-lbl { background: #FFF8E7; color: #9a7200; }

/* ─── INAUSPICIOUS TIME BAR ─── */
.time-bars { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; }
.time-bar-row { display: flex; align-items: center; gap: 10px; }
.tbr-label { font-size: 12px; font-weight: 600; width: 100px; flex-shrink: 0; }
.tbr-track { flex: 1; background: #f0ece6; border-radius: 20px; height: 10px; position: relative; overflow: visible; }
.tbr-fill { height: 100%; border-radius: 20px; position: absolute; top: 0; }
.tbr-time { font-size: 11px; color: #666; width: 100px; text-align: right; flex-shrink: 0; }
.tbr-fill.rahu { background: #e53935; }
.tbr-fill.yama { background: #7b1fa2; }
.tbr-fill.gulika { background: #f57c00; }
.tbr-fill.dur { background: #607d8b; }
.tbr-fill.dur2 { background: #455a64; }
.tbr-fill.varjyam { background: #0097a7; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .full-panchang-layout { grid-template-columns: 1fr; }
  .panch-grid { grid-template-columns: repeat(2, 1fr); }
  .chog-grid { grid-template-columns: 1fr; }
  .chog-col:first-child .chog-item { border-right: none; }
}
@media (max-width: 600px) {
  .panch-hero-top { flex-direction: column; }
  .panch-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── MAIN LAYOUT ─── */
.full-panchang-layout { display: grid; grid-template-columns: 1fr 310px; gap: 22px; align-items: start; }

/* ─── SIDEBAR ─── */
.sidebar-sticky { position: sticky; top: 72px; }
.sidebar-section { background: #FFFFFF; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 16px; border: 1px solid #E5E0D8; }
.ss-head { background: #8B1A1A; color: #fff; font-family: 'Noto Serif Devanagari', serif; font-size: 14px; font-weight: 700; padding: 10px 14px; display: flex; align-items: center; gap: 7px; }

/* ─── CALENDAR ─── */
.cal-wrap { padding: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav-btn { width: 30px; height: 30px; border: 1.5px solid #E5E0D8; background: #FFFFFF; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all .15s; color: #444; }
.cal-nav-btn:hover { background: #E8611A; border-color: #E8611A; color: #fff; }
.cal-month-year { font-family: 'Noto Serif Devanagari', serif; font-size: 15px; font-weight: 700; color: #8B1A1A; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day-hdr { text-align: center; font-size: 10px; font-weight: 700; color: #666; padding: 4px 2px; text-transform: uppercase; }
.cal-day-hdr.sun { color: #C4470D; }
.cal-day-hdr.sat { color: #8B1A1A; }
.cal-day { text-align: center; padding: 5px 2px; font-size: 12.5px; border-radius: 5px; cursor: pointer; transition: all .15s; color: #444; line-height: 1; min-height: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.cal-day:hover:not(.empty) { background: #FFF3EC; }
.cal-day.today { background: #E8611A; color: #fff; font-weight: 700; }
.cal-day.selected:not(.today) { background: #8B1A1A; color: #fff; font-weight: 700; }
.cal-day.sun-col { color: #C4470D; }
.cal-day.sat-col { color: #8B1A1A; }
.cal-day.today.sun-col, .cal-day.today.sat-col,
.cal-day.selected.sun-col, .cal-day.selected.sat-col { color: #fff; }

/* ─── MINI PANCHANG QUICK VIEW ─── */
.quick-panch { padding: 12px 14px; }
.qp-date-label { font-family: 'Noto Serif Devanagari', serif; font-size: 14px; font-weight: 700; color: #8B1A1A; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.qp-view-full { display: block; text-align: center; background: #E8611A; color: #fff; font-size: 13px; font-weight: 600; padding: 9px; border-radius: 5px; margin-top: 12px; transition: background .15s; text-decoration: none; }
.qp-view-full:hover { background: #C4470D; color: #fff; }

/* ─── MANTRA WIDGET ─── */
.mantra-widget { padding: 14px; text-align: center; }
.mantra-text { font-family: 'Noto Serif Devanagari', serif; font-size: 15px; color: #8B1A1A; line-height: 1.9; background: #FFF3EC; border-left: 3px solid #E8611A; padding: 12px; border-radius: 4px; }
.mantra-source { font-size: 11px; color: #666; margin-top: 8px; }
