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

  .kz-print-root,
  .kz-print-root * {
    visibility: visible;
  }

  .kz-print-root {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: auto !important;
    max-width: none !important;
    background: #fff;
    padding: 0;
    margin: 0;
  }

  .kz-print-hide {
    display: none !important;
  }

  .container,
  .container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .kz-print-root .table-responsive {
    width: 100% !important;
    overflow: visible !important;
  }

  .kz-print-root .table,
  .kz-print-table {
    width: 100% !important;
    table-layout: auto !important;
    font-size: 12px;
  }

  .kz-print-table th,
  .kz-print-table td {
    padding: 6px 8px !important;
    font-size: 11px !important;
    vertical-align: top !important;
  }

  .kz-center {
    width: 36px !important;
    text-align: center !important;
  }

  .kz-sjedala {
    width: 24% !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .kz-email {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .kz-nowrap {
    white-space: nowrap !important;
  }

  .kz-print-root a {
    color: #000 !important;
    text-decoration: none !important;
  }

  .kz-print-root .btn {
    display: none !important;
  }

  @page {
    margin: 12mm;
  }

  body {
    background: #fff !important;
  }
}

.kz-print-table {
  table-layout: auto;
  width: 100%;
}

.kz-print-table th,
.kz-print-table td {
  vertical-align: top;
}

.kz-nowrap {
  white-space: nowrap;
}

.kz-center {
  text-align: center;
  width: 52px;
}

.kz-sjedala {
  font-size: 0.95rem;
  line-height: 1.35;
  word-break: break-word;
}

.kz-email {
  white-space: nowrap;
  font-size: 0.92rem;
}

.kz-row-send-needed > td {
  background: #ffe5e5;
}

.kz-row-unpaid > td {
  background: #fff8db;
}

.kz-row-sent > td {
  background: #e8f7ea;
}

.kz-row-empty > td {
  background: #f3f4f6;
  color: #8a8f98;
}

/* karte details */
.ticket-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.ticket {
  max-width: 700px;
  width: 100%;
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1.2fr;
}

@media (max-width: 768px) {
  .ticket {
    grid-template-columns: 1fr;
  }
}

.ticket-left {
  padding: 1.75rem 1.9rem;
  position: relative;
}

.ticket-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 40px;
  height: 100%;
  background:
    radial-gradient(circle at 0 20px, transparent 12px, rgba(0, 0, 0, 0.25) 13px),
    radial-gradient(circle at 0 calc(100% - 20px), transparent 12px, rgba(0, 0, 0, 0.25) 13px);
  background-repeat: no-repeat;
  background-size: 40px 40px;
  opacity: 0.5;
  display: none;
}

@media (min-width: 769px) {
  .ticket-left::after {
    display: block;
  }
}

.ticket-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ticket-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

.ticket-meta {
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.ticket-meta dt {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.ticket-meta dd {
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
}

.ticket-footer {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.ticket-right {
  background: #fff;
  color: #111;
  padding: 1.5rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ticket-right .qr-box {
  background: #f5f5f5;
  padding: 0.9rem;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}

.ticket-right img {
  display: block;
  max-width: 180px;
  height: auto;
}

.ticket-right .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #555;
}

.ticket-right .code {
  font-family: "Menlo", "Consolas", monospace;
  font-size: 0.72rem;
  word-break: break-all;
  color: #666;
}