.rbc-shortcode-wrap {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.rbc-confirmation-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem 6rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.rbc-conf-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rbc-theme, #ffd700);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.rbc-conf-title {
  text-align: center;
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}

.rbc-conf-sub {
  text-align: center;
  color: #666;
  margin: 0 0 1.5rem;
}

.rbc-conf-id {
  text-align: center;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.rbc-conf-id span {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.25rem;
}

.rbc-conf-id strong {
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.rbc-conf-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

.rbc-conf-block h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}

.rbc-conf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rbc-conf-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.rbc-conf-list li span:first-child {
  color: #666;
}

.rbc-conf-totals strong {
  color: #111;
  font-size: 1.1rem;
}

.rbc-conf-actions {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.rbc-conf-actions .rbc-btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

.rbc-conf-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 1rem 1.25rem;
  box-shadow: none;
  z-index: 100;
}

.rbc-conf-contact p {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.rbc-conf-contact-btns {
  display: flex;
  gap: 0.75rem;
}

.rbc-conf-contact-btns .rbc-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.75rem;
}

.rbc-conf-contact-btns .rbc-btn-outline {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}

.rbc-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.rbc-btn-outline {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

.rbc-conf-book-another {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--rbc-theme, #c9a000);
  font-weight: 600;
  text-decoration: none;
}

.rbc-conf-error {
  text-align: center;
  padding: 3rem 1.5rem;
}

.rbc-loading {
  text-align: center;
  padding: 3rem;
  color: #888;
}

.rbc-confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

@media (min-width: 640px) {
  .rbc-conf-contact {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 1.5rem;
  }

  .rbc-confirmation-card {
    padding-bottom: 2rem;
  }
}

.rbc-conf-hero {
  text-align: center;
  margin-bottom: 1.25rem;
}

.rbc-conf-booking-label {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.rbc-conf-booking-id {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.rbc-ticket {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 1.25rem;
}

.rbc-ticket-top {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  padding: 1rem;
  align-items: start;
}

.rbc-ticket-poster img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.rbc-ticket-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.rbc-ticket-datetime {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.rbc-ticket-location {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
}

.rbc-ticket-qr {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.rbc-qr-thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.rbc-qr-thumb-label {
  font-size: 0.62rem;
  color: #6b7280;
  line-height: 1.2;
}

.rbc-ticket-qr-img {
  display: block;
  border-radius: 6px;
  width: 56px;
  height: 56px;
}

.rbc-ticket-perforation {
  border-top: 2px dashed #d1d5db;
  margin: 0 12px;
  position: relative;
}

.rbc-ticket-perforation::before,
.rbc-ticket-perforation::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f3f4f6;
}

.rbc-ticket-perforation::before { left: -22px; }
.rbc-ticket-perforation::after { right: -22px; }

.rbc-ticket-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem;
}

.rbc-ticket-meta-end {
  text-align: right;
}

.rbc-ticket-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rbc-ticket-meta-label {
  font-size: 0.72rem;
  color: #6b7280;
}

.rbc-ticket-stamp {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  border: 2px solid #059669;
  color: #059669;
  font-size: 0.68rem;
  font-weight: 800;
  transform: rotate(-8deg);
  white-space: nowrap;
}

.rbc-order-summary {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.rbc-order-summary h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.rbc-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #d1d5db;
  font-weight: 700;
}

.rbc-conf-list-total {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #d1d5db;
  font-weight: 700;
}

.rbc-conf-list-paid strong {
  color: #166534;
}

.rbc-conf-list-pending strong {
  color: #b45309;
}

.rbc-payment-breakdown {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 0.45rem;
}

.rbc-payment-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.rbc-payment-row span {
  color: #6b7280;
}

.rbc-payment-row-paid strong {
  color: #166534;
}

.rbc-payment-row-pending strong {
  color: #b45309;
}

.rbc-qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.72);
}

.rbc-qr-lightbox.is-open {
  display: flex;
}

.rbc-qr-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.rbc-qr-lightbox-panel {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.rbc-qr-lightbox-img {
  display: block;
  width: min(72vw, 280px);
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.rbc-qr-lightbox-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.rbc-conf-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.rbc-conf-meta-grid span {
  display: block;
  color: #6b7280;
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}

.rbc-conf-note {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0 0 1rem;
}

.rbc-custom-text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

@media (max-width: 639px) {
  .rbc-ticket-top {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: start;
  }

  .rbc-ticket-poster img {
    width: 56px;
    height: 74px;
  }

  .rbc-ticket-qr {
    grid-column: auto;
    justify-self: end;
    align-self: start;
  }

  .rbc-ticket-bottom {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .rbc-ticket-meta-center,
  .rbc-ticket-meta-end {
    text-align: left;
  }
}
