/* Print-Ready Table Tent Card Styling */

.table-tent-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #ffffff;
  color: #111827;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.table-tent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--tent-accent, #d4af37);
}

.tent-logo-wrap {
  margin: 0 auto 0.75rem;
  display: flex;
  justify-content: center;
}

.tent-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--tent-accent, #d4af37);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.tent-brand-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #d90429;
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-top: 0.15rem;
}

.tent-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d90429;
  margin-bottom: 0.65rem;
}

.tent-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.tent-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6b7280;
  margin-bottom: 1rem;
}

.tent-qr-box {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.tent-qr-box canvas {
  display: block;
  width: 160px;
  height: 160px;
}

.tent-instruction {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.tent-subinstruction {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 1.15rem;
}

.tent-footer-info {
  display: flex;
  justify-content: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.85rem;
  font-size: 0.75rem;
}

.tent-info-cell {
  background: #f3f4f6;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  min-width: 140px;
  text-align: center;
}

.tent-info-cell span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
}

.tent-info-cell strong {
  color: #111827;
  font-size: 0.85rem;
}

/* Dedicated Print Media Styles */
@media print {
  body * {
    visibility: hidden;
  }
  
  #print-modal, #print-modal * {
    visibility: visible;
  }

  #print-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
  }

  .modal-content {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .modal-close, .print-action-bar, .site-header, footer {
    display: none !important;
  }

  .table-tent-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    margin: 20px auto !important;
    width: 320px !important;
  }
}
