/* ==========================================================================
   OFFICIAL MILITARY LEAVE PASS - HIGH RESOLUTION PRINT STYLESHEET
   Standard Form DA-31 / NAVPERS Authorized Print View
   ========================================================================== */

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Times New Roman', Times, serif, 'Inter', sans-serif !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .no-print, 
  .site-navbar, 
  .military-topbar, 
  .site-footer, 
  .btn, 
  .nav-container {
    display: none !important;
  }

  .pass-document-card {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 1.5cm !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .pass-header {
    border-bottom: 2px solid #000000 !important;
  }

  .pass-title-main {
    color: #000000 !important;
    font-size: 16pt !important;
  }

  .pass-stamp-img {
    filter: grayscale(100%) contrast(150%) !important;
  }

  .status-badge {
    border: 1px solid #000000 !important;
    background: transparent !important;
    color: #000000 !important;
    font-weight: bold !important;
  }

  .table-bordered th, 
  .table-bordered td {
    border: 1px solid #000000 !important;
    color: #000000 !important;
  }

  @page {
    size: letter portrait;
    margin: 1cm;
  }
}

/* On Screen Pass Container */
.pass-document-card {
  background: #ffffff;
  color: #111827;
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  padding: 3rem;
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
  border: 1px solid #d1d5db;
  font-family: 'Inter', sans-serif;
}

.pass-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 12px;
  font-family: 'Impact', sans-serif;
  z-index: 1;
}

.pass-inner-content {
  position: relative;
  z-index: 2;
}

.pass-meta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1rem;
}

.pass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pass-data-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

.pass-data-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 0.15rem;
}

.pass-barcode {
  font-family: 'Libre Barcode 39', 'Courier New', monospace;
  font-size: 2.5rem;
  letter-spacing: 4px;
  text-align: center;
  margin: 1rem 0;
  color: #000000;
}
