/* ═══════════════════════════════════════════════
   LIFE ROUTINE MONTHLY REPORT STYLES
   ═══════════════════════════════════════════════ */

/* ─── MONTH SELECTOR ──────────────────────────────── */
.lr-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lr-month-select {
  flex: 1;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.lr-month-select option {
  background: #0A1020;
  color: white;
}

.lr-pdf-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.lr-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ─── REPORT HEADER ───────────────────────────────── */
.lr-report-header {
  margin-bottom: 2rem;
}

.lr-report-header h2 {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.5rem;
}

.lr-report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.lr-summary-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.lr-summary-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.lr-summary-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lr-summary-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

/* ─── REPORT SECTIONS ─────────────────────────────── */
.lr-report-section {
  margin-bottom: 2rem;
}

.lr-report-section h3 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── REPORT CALENDAR ─────────────────────────────── */
.lr-report-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
}

.lr-report-day {
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lr-report-day:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.lr-report-day.has-data {
  border-color: rgba(99, 102, 241, 0.3);
}

.lr-report-day-name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.lr-report-day-date {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.lr-report-day-score {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.lr-report-day-score.lr-score-1 {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.lr-report-day-score.lr-score-2 {
  background: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.lr-report-day-score.lr-score-3 {
  background: rgba(34, 197, 94, 0.6);
  color: #22c55e;
}

.lr-report-day-habits {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── HABIT PROGRESS ──────────────────────────────── */
.lr-habit-progress {
  display: grid;
  gap: 1rem;
}

.lr-habit-stat {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.lr-habit-name {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.75rem;
}

.lr-habit-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.lr-habit-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.lr-habit-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── INSIGHTS ────────────────────────────────────── */
.lr-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.lr-insight-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.lr-insight-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lr-insight-content {
  font-size: 1rem;
  color: white;
  font-weight: 500;
}

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .lr-report-calendar {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
  }

  .lr-report-day {
    padding: 0.5rem 0.25rem;
  }

  .lr-report-day-date {
    font-size: 1rem;
  }

  .lr-report-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .lr-insights {
    grid-template-columns: 1fr;
  }
}
