/* ==============================================================================
   HELPINGHOB ENTERTAINMENT - TICKET PRINT & PDF EXPORT STYLES (ticket.css)
   ============================================================================== */

@media print {
  body * {
    visibility: hidden;
  }

  #printable-ticket-area,
  #printable-ticket-area * {
    visibility: visible;
  }

  #printable-ticket-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: 1px solid #CBD5E1;
  }

  .ticket-actions-bar,
  .modal-close-btn,
  .hh-header,
  .hh-footer,
  .app-discount-banner,
  .how-it-works-section,
  .event-search-strip {
    display: none !important;
  }
}

/* Dedicated styling container used during PDF generation */
.pdf-ticket-container {
  width: 580px;
  background: #FFFFFF;
  margin: 0 auto;
  border-radius: 16px;
  border: 1.5px solid #CBD5E1;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0F172A;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pdf-header {
  background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
  color: #FFFFFF;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdf-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pdf-badge {
  background: #10B981;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pdf-body {
  padding: 22px 24px;
}

.pdf-event-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.pdf-artist {
  font-size: 13px;
  font-weight: 700;
  color: #2563EB;
  margin-bottom: 18px;
}

.pdf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.pdf-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.pdf-value {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}

.pdf-perforation {
  position: relative;
  border-bottom: 2px dashed #94A3B8;
  margin: 14px -24px;
}

.pdf-footer {
  background: #F8FAFC;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pdf-qr-box {
  background: #FFFFFF;
  padding: 8px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-pass-info {
  flex: 1;
}

.pdf-pass-code {
  font-size: 15px;
  font-weight: 800;
  font-family: monospace;
  color: #2563EB;
  margin-bottom: 6px;
}

.pdf-legal {
  font-size: 11px;
  color: #64748B;
  line-height: 1.4;
}
