/* ================================================
   UNIFIED DESIGN OVERRIDES
   Apply consistent styling across all widgets/cards
   ================================================ */

/* === Today row: Energy + Mood side by side === */
.today-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.today-row .energy-meter,
.today-row .mood-ring-widget {
  margin-bottom: 0 !important;
}

/* === Match Insights === */
.match-insights {
  margin: 14px 0;
}
.match-insight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.match-insight-item:active {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.insight-icon { font-size: 18px; }
.insight-text { font-size: 13px; font-weight: 500; color: var(--text); }
.match-cat-detail { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* === All widget cards: clean white, subtle border === */
.energy-meter,
.mood-ring-widget,
.last-year-widget,
.lucky-windows,
.daily-insight-card,
.birth-star-card,
.streak-widget,
.retro-card,
.thinking-card,
.milestone-card,
.journey-card,
.referral-section {
  background: var(--bg-white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* === All action buttons: clean, no gradients === */
.explain-upcoming-btn,
.explain-btn,
.refresh-reading-btn,
.ask-aura-btn,
.referral-share-btn,
.referral-copy-btn,
.retro-btn,
.banner-refresh-btn {
  background: var(--bg-white) !important;
  color: var(--text) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.explain-upcoming-btn:active,
.explain-btn:active,
.refresh-reading-btn:active,
.ask-aura-btn:active,
.referral-share-btn:active,
.retro-btn:active,
.banner-refresh-btn:active {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* === Ask Aura keeps accent border to stand out === */
.ask-aura-btn {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* === Section headers: consistent === */
.section-header {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* === All card titles: consistent === */
.energy-label,
.lucky-header,
.birth-star-title,
.journey-header,
.referral-header {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}

/* === All small labels: consistent === */
.energy-advice,
.mood-hint,
.last-year-label,
.drill-level-name,
.metric-label,
.streak-label,
.upcoming-type {
  font-size: 11px !important;
  color: var(--text-muted) !important;
}

/* === Metric cards: clean === */
.metric-card {
  background: var(--bg-white) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

/* === Dasha drill headers: clean, no colored borders === */
.dasha-drill-header {
  background: var(--bg-white) !important;
  border: 1px solid var(--border) !important;
  border-left: 1px solid var(--border) !important;
}
.drill-level-planet {
  color: var(--text) !important;
}
.drill-remaining {
  color: var(--text-muted) !important;
}

/* === Daily insight card: subtle warm, not heavy gradient === */
.daily-insight-card {
  background: rgba(255, 248, 240, 0.6) !important;
}

/* === Welcome/Birthday banners: keep their special styling === */
/* These are intentionally different — they're celebration moments */

/* === Horoscope cards: keep existing styling === */
/* These have their own distinct visual language */

/* === Right Now Pulse: subtle === */
.right-now-pulse {
  background: rgba(248, 245, 255, 0.5) !important;
  border: 1px solid var(--border) !important;
}

/* === Suggestion pills: consistent === */
.suggestion-pill,
.starter-pill {
  background: var(--bg-white) !important;
  border: 1px solid var(--border) !important;
  font-size: 12.5px !important;
}

/* === Thinking card: subtle warm === */
.thinking-card {
  background: rgba(245, 248, 255, 0.8) !important;
  border: 1px solid rgba(124, 77, 255, 0.15) !important;
}

/* === Milestone card: keep celebratory but toned down === */
.milestone-card {
  background: rgba(255, 248, 240, 0.9) !important;
  border: 1px solid rgba(255, 183, 77, 0.3) !important;
}

/* === Edit profile birth-detail limit hint === */
.edit-limit-hint {
  font-size: 12px;
  color: #e67e22;
  margin-top: 5px;
  line-height: 1.4;
}
.edit-limit-hint.locked {
  color: var(--text-muted);
}

/* === Greeting bar === */
.greeting-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 4px;
  gap: 10px;
}
.greeting-left {
  flex: 1;
  min-width: 0;
}
.greeting-text {
  font-size: 17px;
  color: var(--text);
  line-height: 1.3;
}
.greeting-text strong {
  font-weight: 700;
}
.greeting-context {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}
.greeting-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* === Minimal refresh button === */
.refresh-reading-btn-minimal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}
.refresh-reading-btn-minimal:active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* === Horoscope teasers === */
.horoscope-teaser {
  font-size: 10px;
  color: rgba(45, 45, 58, 0.7);
  margin-top: 4px;
  line-height: 1.3;
  font-weight: 500;
}
