/* ============================================================================
   CAREER COMPASS — ARCHIVAL NATURAL WRINKLED PAPER REPORT THEME
   ============================================================================ */

/* Natural Textured Archival Paper Background */
.report-page-wrinkled {
  background-color: #FCFBF7 !important;
  /* Multi-layered radial gradients simulate subtle natural creases, crinkles, and fibers */
  background-image: 
    radial-gradient(circle at 18% 22%, rgba(215, 206, 185, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(205, 196, 175, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(230, 222, 205, 0.15) 0%, transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(244, 239, 228, 0.6) 100%) !important;
  color: #1E293B !important;
  width: 100%;
  min-height: 1100px;
  padding: 3rem 2.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px #E7E1D4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem;
  box-sizing: border-box;
  position: relative;
}

@media (max-width: 640px) {
  .report-page-wrinkled {
    padding: 2rem 1.25rem;
    min-height: auto;
  }
}

/* Multi-Color Soft Hue Containers inside the Report */
.report-box-orange {
  background: rgba(255, 247, 237, 0.85);
  border: 1px solid #FDBA74;
}

.report-box-green {
  background: rgba(240, 253, 244, 0.85);
  border: 1px solid #86EFAC;
}

.report-box-blue {
  background: rgba(240, 249, 255, 0.85);
  border: 1px solid #BAE6FD;
}

.report-box-purple {
  background: rgba(250, 245, 255, 0.85);
  border: 1px solid #E9D5FF;
}

/* Frosted Security Redaction */
.redacted-text {
  display: inline-block;
  background: rgba(148, 163, 184, 0.18) !important;
  color: #64748B !important;
  filter: blur(4px);
  -webkit-filter: blur(4px);
  user-select: none;
  pointer-events: none;
  border-radius: 4px;
  padding: 0 6px;
  letter-spacing: 2px;
  font-family: monospace;
}

/* Paywall Gated Card Boxes */
.paywall-gate-box {
  background: rgba(248, 250, 252, 0.9);
  border: 1.5px dashed #CBD5E1;
  border-radius: 1rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.locked-card-overlay {
  position: relative;
  overflow: hidden;
}

.locked-card-overlay::after {
  content: "Locked in Preview";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #B45309;
  background: rgba(254, 243, 199, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 1rem;
}

/* Print Optimization */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .no-print, header, footer, #modal-report-preview, #modal-checkout, #modal-login, #modal-admin-pin {
    display: none !important;
  }

  .report-page-wrinkled {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 2.2cm 1.8cm !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 100vh !important;
    page-break-after: always !important;
    break-after: page !important;
  }

  .report-page-wrinkled:last-child {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
}