/* daily_panchangam_report.css */

.dpr-wrapper {
  padding: 1rem 0 1.8rem;
  background: transparent;    /* 👈 remove extra gradient layer */
  border-radius: 0;           /* no extra rounded panel */
  margin: 0;                  /* align with rest of page */
  animation: none;
}


.dpr-page {
  /* make the page container visually lightweight so the wrapper gradient shows through */
  background: transparent;
  border-radius: 1rem;
  border: 1px solid rgba(123,44,191,0.03);
  box-shadow: 0 6px 20px rgba(123,44,191,0.02);
  padding: 1.25rem 1rem 1.75rem;
  max-width: 900px;
  margin: 0 auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(6px);
}

.dpr-page.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.dpr-page.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.breadcrumb-nav.micro {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  color: #666;
}

.breadcrumb-nav .sep {
  margin: 0 0.25rem;
}

/* Make the mood pill occupy full card width and visually match other cards */
.dpr-mood-pill {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0.75rem 1rem !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(234,218,255,0.6) !important;
  box-shadow: 0 2px 10px rgba(123,44,191,0.03) !important;
  box-sizing: border-box;
  margin: 0.4rem 0 0.85rem;
}

/* Tweak mood label + value spacing inside the full-width pill */
.dpr-mood-pill-label { display:block; font-weight:700; color:#7b2cbf; margin-bottom:0.25rem; }
.dpr-mood-pill-value { display:block; color:#333; }


.dpr-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* Mood chip */

.dpr-mood {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
  flex-wrap: wrap;
}

.dpr-mood-label {
  font-size: 0.8rem;
  color: #555;
}

.dpr-mood-chip {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff5e6;
  color: #92400e;
  border: 1px solid #fed7aa;
}

/* Blocks & sections */

.dpr-block {
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #faf7ff;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.85rem;
}

/* subtle card shadow to harmonize with graha report */
.dpr-block {
  box-shadow: 0 2px 10px rgba(123,44,191,0.03);
}

.dpr-block-intro {
  background: #f8f4ff;
}

.dpr-block-title {
  font-size: 0.9rem;
  margin: 0 0 0.35rem;

  font-weight: 600;
  color: #4a1a7e;
}
.dpr-mood-row {
  display: block !important;
  width: 100% !important;
  margin: 0 0 0.85rem;
  box-sizing: border-box;
}
.dpr-block-intro {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  clear: both;
  margin-top: 0.25rem;
}

.dpr-subheadline {
  font-size: 0.85rem;
  margin: 0;
  color: #444;
}

/* Grid for middle sections */

.dpr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

@media (min-width: 768px) {
  .dpr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dpr-section {
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.7rem 0.8rem;
  background: #ffffff;
}

.dpr-section-title {
  font-size: 0.85rem;
  margin: 0 0 0.3rem;
  font-weight: 600;
  color: #4a1a7e;
}

/* Do / Avoid layout */

.dpr-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .dpr-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dpr-spiritual {
  background: #fefce8;
}

/* Bottom CTAs & disclaimer */

.dpr-bottom-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dpr-bottom-ctas .btn-back {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 44, 191, 0.18);
  background: #fff;
  color: #5b2173;
  box-shadow: 0 2px 6px rgba(123,44,191,0.06);
}

.dpr-bottom-ctas .btn-back:hover {
  box-shadow: 0 6px 18px rgba(123,44,191,0.12);
}

.dpr-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #666;
}

/* Utility */

.preline {
  white-space: pre-line;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Mirror essential dgr (Daily Graha) rules so the panchangam template
   which includes `dgr-*` class names renders identically without
   merging the two CSS files. Keep this block small and focused. --- */

.dgr-wrapper { background: linear-gradient(135deg, #fdf6ff 0%, #f3eaff 100%); border-radius:16px; margin:8px auto 16px; animation: dpr-subtle-glow 8s ease-in-out infinite; }
.dgr-page { max-width: 920px; margin: 0 auto; padding: 12px; }
.dgr-head { display:flex; flex-direction:column; align-items:stretch; gap:.5rem; margin:10px 0 10px; }
.dgr-title { font-size:1.15rem; font-weight:800; color:#7b2cbf; text-align:center; margin:6px 0; }
.dgr-title::after { content: ''; display:block; height:3px; width:52px; background: linear-gradient(90deg,#ffd54a,#ffd54a 60%, rgba(123,44,191,0)); border-radius:2px; margin:6px auto 0; }
.dgr-date { width:100%; text-align:right; margin-top:4px; }
.dgr-date-chip { display:inline-block; background: rgba(123,44,191,0.08); color:#4b2166; padding:.24rem .7rem; border-radius:999px; border:1px solid rgba(123,44,191,0.18); font-weight:700; font-size:.82rem; }
.dgr-block { background:#fff; border-radius:14px; border:1px solid #ead8ff; padding:.75rem .8rem; margin-bottom:10px; box-shadow: 0 2px 10px rgba(123,44,191,0.03); }
.dgr-block-title { margin:0 0 .4rem 0; font-size:.95rem; font-weight:800; color:#7b2cbf; }
.dgr-section { background:#fff; border-radius:14px; border:1px solid #ead8ff; padding:.7rem .85rem; }
.dgr-section h5, .dgr-section-title { margin:0 0 .3rem 0; font-size:.9rem; font-weight:800; color:#7b2cbf; }
.dgr-grid-sections { display:grid; grid-template-columns:1fr; gap:.7rem; margin-bottom:10px; }
@media (min-width:760px) { .dgr-grid-sections { grid-template-columns:1fr 1fr; } }
.dgr-bottom-ctas { margin-top:12px; display:flex; flex-wrap:wrap; gap:.45rem; justify-content:center; }
.dgr-bottom-ctas .btn-back { flex:1 1 0; min-width:0; max-width:340px; text-align:center; }
@media (max-width:520px) { .dgr-bottom-ctas { flex-direction:column; gap:.6rem; align-items:stretch; } .dgr-bottom-ctas .btn-back { width:100%; max-width:100%; } }
.btn-back { display:inline-flex; align-items:center; justify-content:center; padding:.35rem .8rem; border-radius:999px; border:1px solid #e0c7ff; background:#faf5ff; color:#4b2166; font-size:.85rem; text-decoration:none; font-weight:600; transition: background .15s ease, box-shadow .15s ease, transform .1s ease; }
.btn-back:hover { background:#f3e8ff; box-shadow:0 2px 8px rgba(123,44,191,0.16); transform: translateY(-1px); }
.dgr-teaching { font-size:.86rem; color:#312e81; background:#fff; border:1px solid #ead8ff; border-radius:14px; padding:.75rem .8rem; margin:0; line-height:1.5; white-space:normal; box-sizing:border-box; width:100%; flex:1 1 auto; }
.dgr-rasi-chips { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.4rem; align-items:center; background:#fff; border-radius:14px; border:1px solid #ead8ff; padding:.35rem .5rem; }



/* Micro breadcrumb */
.breadcrumb-nav.micro {
  margin: 8px 0 6px;
  font-size: 0.75rem;
  color: var(--muted, #6f6a80);
  display: flex; flex-wrap: wrap; gap: .25rem .5rem;
}
.breadcrumb-nav.micro a { color: var(--brand-700, #6b21a8); text-decoration: none; }
.breadcrumb-nav.micro .sep { opacity: .6; }


/* Breadcrumb */
.breadcrumb-nav { font-size: 0.8rem; color: #6c757d; margin-bottom: 1rem; }
.breadcrumb-nav a { text-decoration: none; color: #7b2cbf; font-weight: 600; }
.breadcrumb-nav { margin: 6px 0 4px; font-size: .9rem; }


/* Micro breadcrumb = tighter vertical rhythm */
.breadcrumb-nav,
.breadcrumb-nav.micro {
  margin-top: 4px !important;
  margin-bottom: 6px !important;
}

/* Header – title center, city + date stacked on right */

.dpr-head {
  display: flex;
  flex-direction: column;
  align-items: center;      /* title centered */
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.dpr-head-top {
  width: 100%;
}

.dpr-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #7b2cbf;
  text-align: center;
  width: 100%;
}

.dpr-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 56px;
  background: linear-gradient(90deg, #ffd54a, #ffd54a 60%, rgba(123, 44, 191, 0));
  border-radius: 2px;
  margin: 6px auto 0;
  opacity: .95;
}

.dpr-head-meta {
  width: 100%;
  display: flex;
  flex-direction: column;   /* stack city + date */
  align-items: flex-end;    /* right aligned */
  gap: 0.15rem;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  text-align: right;
}

.dpr-city {
  margin: 0;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.85;
}

.dpr-date {
  display: flex;
  align-items: center;
}

.dpr-date-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 44, 191, 0.25);
  background: rgba(123, 44, 191, 0.04);
  font-weight: 600;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .dpr-head-meta {
    align-items: flex-end;  /* still right-aligned on mobile */
  }
}

/* --- Mood + good-time pills row --- */
.dpr-mood-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 0.9rem;
}

.dpr-mood-pill {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(123, 44, 191, 0.06);
  border: 1px solid rgba(123, 44, 191, 0.18);
}

.dpr-mood-pill--secondary {
  background: #fff;
  border-style: dashed;
}

.dpr-mood-pill-label {
  font-weight: 600;
  color: #5b2a86;
}

.dpr-mood-pill-value {
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .dpr-mood-pill {
    flex: 1 1 100%;
  }
}

/* --- Intro block (headline + subheadline) --- */
.dpr-block-intro {
  margin-top: 0.6rem;
  padding: 0.9rem 1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(123, 44, 191, 0.12);
  background: radial-gradient(circle at 0 0,
              rgba(123, 44, 191, 0.10),
              rgba(255, 255, 255, 0.98));
}

.dpr-headline {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #5b2a86;
}

.dpr-subheadline {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* --- Spiritual message block --- */
.dpr-spiritual {
  margin-top: 1rem;
  border-radius: 18px;
  padding: 0.85rem 1rem 1rem;
  background: #fff8e7;
  border: 1px dashed rgba(238, 180, 75, 0.85);
}

.dpr-spiritual .dpr-block-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #8b5a00;
}

.dpr-spiritual .dpr-block-title::before {
  content: "🕯️";
}

.dpr-spiritual p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Tighten vertical spacing inside cards */
.dpr-block p,
.dpr-section p {
  margin-bottom: 0.15rem;   /* was ~1em by default */
}

.dpr-block {
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #ffffff;      /* unified card colour */
  padding: 0.7rem 0.85rem 0.65rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 10px rgba(123,44,191,0.03);
}

.dpr-section {
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.7rem 0.85rem 0.65rem;
  background: #ffffff;
}

/* Make intro block use the same white card as others */
.dpr-block-intro {
  background: #ffffff;
}

/* --- FIX: Header – city + date stacked on right --- */

.dpr-head-top {
  width: 100%;
}
