/* ═══════════════════════════════════════════════
   AVVENTOMEDIA — REPORTS & STEWARDSHIP STYLES
   ════════════════════════════════════════════════ */

.page-reports {
  background-color: #f4f7fa;
}

/* Radiant Royal Blue Hero Section (No dark/black) */
.reports-hero {
  background: linear-gradient(135deg, #093b68 0%, #1278ca 50%, #1a8ce8 100%);
  color: var(--white);
  padding: 90px 0 65px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.reports-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.reports-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.reports-hero h1 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
}

.reports-hero p {
  color: #e0f2fe;
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.reports-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ─── YEAR ARCHIVE SELECTOR TABS ───────────────── */
.year-tabs-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: -28px;
  margin-bottom: 36px;
  background: var(--white);
  padding: 14px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  border: 1px solid rgba(18, 120, 202, 0.12);
}

.tabs-label {
  font-weight: 700;
  color: var(--gray-800);
  font-size: 15px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.year-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.year-tab-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.year-tab-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
  border-color: var(--primary-glow);
}

.year-tab-btn.active {
  background: linear-gradient(135deg, #1278ca 0%, #0c5997 100%);
  color: var(--white);
  border-color: #1278ca;
  box-shadow: 0 4px 14px rgba(18, 120, 202, 0.35);
}

/* ─── MONTHLY CARDS GRID ────────────────────────── */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
  gap: 26px;
  margin-top: 20px;
}

/* Document Page Preview Container */
.report-cover-wrapper {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.report-cover-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease;
}

.report-cover-wrapper:hover .report-cover-img {
  transform: scale(1.03);
}

.report-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 59, 104, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.report-cover-wrapper:hover .report-cover-overlay {
  opacity: 1;
}

.cover-preview-badge,
.cover-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 120, 202, 0.95);
  color: #ffffff !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.cover-preview-badge svg,
.cover-preview-btn svg {
  color: #ffffff;
  stroke: #ffffff;
}

.report-cover-wrapper:hover .cover-preview-badge,
.report-cover-wrapper:hover .cover-preview-btn {
  transform: translateY(0);
}

.report-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(18, 120, 202, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 18px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1278ca, #1a8ce8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(18, 120, 202, 0.12);
  border-color: rgba(18, 120, 202, 0.25);
}

.report-card:hover::before {
  opacity: 1;
}

.report-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.report-month-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.report-status-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-highlights {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Sleek 2-Tier Action Pill Bar */
.report-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 4px;
}

.action-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.btn-card-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #1278ca 0%, #0d5ea2 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(18, 120, 202, 0.25);
  transition: all 0.25s ease;
}

.btn-card-primary:hover {
  background: linear-gradient(135deg, #0d5ea2 0%, #084377 100%);
  box-shadow: 0 5px 14px rgba(18, 120, 202, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-card-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f0f7ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-card-secondary:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

.btn-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-card-icon:hover {
  background: #1278ca;
  color: #ffffff;
  border-color: #1278ca;
}

/* ─── GRATITUDE & STEWARDSHIP CARD ───────────────── */
.section-divider-spacing {
  height: 60px;
}

.gratitude-section-container {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7fc 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  position: relative;
}

.gratitude-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.donor-wall-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 120, 202, 0.1);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.gratitude-section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.gratitude-subtitle {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
  transition: opacity 0.3s ease;
}

/* Scripture Appreciation Note */
.donor-appreciation-quote {
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 24px 30px;
  border-radius: var(--radius-sm);
  margin-top: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.quote-icon {
  color: var(--primary-glow);
  position: absolute;
  right: 20px;
  top: 20px;
}

.donor-appreciation-quote p {
  font-size: 16px;
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.quote-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ─── EMPTY REPORTS STATE UI CARD ──────────────── */
.empty-reports-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin: 20px 0;
}

.empty-icon-circle {
  width: 72px;
  height: 72px;
  background: #eff6ff;
  color: #1278ca;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid #dbeafe;
}

.empty-reports-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.empty-reports-card p {
  color: #64748b;
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── RESPONSIVE BREAKPOINTS ────────────────────── */
@media (max-width: 768px) {
  .year-tabs-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  
  .reports-grid {
    grid-template-columns: 1fr;
  }

  .donor-wall-container {
    padding: 24px;
  }

  .donor-wall-header h2 {
    font-size: 24px;
  }

  .pdf-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pdf-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}
