/**
 * Tixx embed – modal (vanilla JS, bez jQuery)
 */

.tixx-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}
.tixx-overlay.is-open {
  display: flex;
}

.tixx-modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 90vh;
  max-height: 90vh;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.tixx-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tixx-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.tixx-modal-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Opcjonalnie: kontener iframe na stronie */
.tixx-iframe-wrap iframe {
  width: 100%;
  border: 0;
  display: block;
}
