.details_content {
  padding: 0;
}

svg>path {
  cursor: pointer;
}

.tooltiptext {
  display: none;
  width: 270px;
  font-size: 16px;
  line-height: 1.25;
  background-color: #ffffffe8;
  color: #4b617f;
  text-align: center;
  padding: 10px;
  border-radius: 2px;
  border: 2px solid #4b617f;
  position: absolute;
  z-index: 1000;
}

.tooltip-open {
  width: 300px;
}

.tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border: 1px solid #4b617f;
  border-color: transparent #fff transparent transparent;
}

#hall {
  overflow: hidden;
}

#hall>div>div,
svg {
  cursor: grab;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  -o-user-drag: none;
}

.hall,
.hall-box {
  transition: transform 0.6s ease;
}

#hall .hall-stage {
  transform-origin: 50% 50%;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

#hall.dragging .hall-stage {
  transition: none !important;
}

.hall-box {
  max-width: 85%;
  margin: 15px auto 0;
  border-radius: 0;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.zoom-box {
  position: absolute;
  bottom: 35%;
  right: 15%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: auto !important;
  background: transparent;
  padding: 0;
  z-index: 50;
}

.zoom-box i,
.zoom-box button,
.zoom-box #default-scale-hall {
  width: 44px;
  height: 44px;
  display: inline-block;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: opacity .2s;
  position: relative;
}

#ZoomIn::before,
#ZoomOut::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
}

#ZoomIn::before {
  width: 20px;
  height: 2px;
}

#ZoomIn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 20px;
  background-color: #000;
}

#ZoomOut::before {
  width: 20px;
  height: 2px;
}

.zoom-box #default-scale-hall {
  line-height: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.zoom-box #default-scale-hall:after {
  content: '1:1';
  display: block;
  line-height: 40px;
}

.zoom-box i:focus,
.zoom-box button:focus,
.zoom-box #default-scale-hall:focus {
  outline: none;
}

.zoom-disabled {
  opacity: .4;
  pointer-events: none;
}

.hall-box.dragging,
.hall.dragging {
  transition: none !important;
}

.zoom-box i:focus,
.zoom-box button:focus,
.zoom-box #default-scale-hall:focus {
  outline: 2px solid #f4a534;
  outline-offset: 3px;
}

.hall-box>div {
  will-change: transform;
}

.hall-box>div {
  transform-origin: center center;
}

.hall-box .hall-inner {
  display: flex;
  justify-content: center;
}

.hall-tooltip-price {
  color: #FC5A57;
  font-size: 14px;
  padding-bottom: 3px;
}

.hall-tooltip-places {
  font-size: 14px;
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 5px;
  border-top: 1px solid #A4A3A3;
}

.hall-header {
  padding: 0 1.5rem 0;
}

.hall-header .event-title span {
  font-size: 23px;
}

.hall-header .event-title h1 {
  font-size: 32px;
}

.hall-info-txt h2 {
  font-size: 18px !important;
}

.hall-info-txt h2>span {
  font-size: 18px;
  position: relative;
  top: -2px;
}

.hall-info-txt h1 {
  font-size: 13px !important;
  padding-left: 0;
}

.hall-info-txt h1 {
  margin: 0 1.5rem 20px;
}

.availability-hall-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.btn.btn-secondary.unavailable-place {
  margin: 3px;
  border-radius: 0;
  background-color: #565e64;
  color: #fff;
  cursor: not-allowed;
}

.btn-text-availability,
.btn-info,
.btn-back-sector,
.btn-back-rows,
.availability-btn-group>button.btn.btn-warning,
.btn.btn-secondary,
.all-places,
.available-places {
  margin: 0;
  padding: 8px 15px;
  font-weight: 600;
  background-color: #fff;
  border-radius: 0;
  border: 2px solid #000;
  color: #000;
}

.btn-text-availability {
  background-color: #000;
  color: #fff;
  font-size: 15px;
}

.btn-text-availability:hover {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

#places-container>button {
  padding: 5px 15px;
}

.btn-back-sector:hover,
.btn-back-rows:hover,
.all-places:hover,
.available-places:hover {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}

.btn.btn-info:active,
.btn-back-sector:active,
.btn-back-rows:active {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

.btn-show-hall,
.btn-hide-hall {
  margin-bottom: 10px;
}

.availability-btn-group {
  margin-bottom: 15px;
}

#info-place {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 40px;
  font-weight: 500;
}

#places-container .place-button.added {
  background-color: #000 !important;
  color: white !important;
  border-color: #000 !important;
}

.places-checkboxes {
  margin-top: 20px;
}

.places-label {
  margin-bottom: 10px;
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.places-grid {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-direction: row;
  flex-wrap: wrap;
}

.place-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.place-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.place-checkbox:disabled {
  pointer-events: none;
}

.place-label {
  font-size: 14px;
  cursor: pointer;
}

.place-checkbox:disabled+.place-label {
  color: #999;
  pointer-events: none;
}

.selects-container>.selects-txt>h3 {
  font-weight: 700;
  text-align: left;
  font-size: 17px;
}

.selects-container>.selects-txt>p {
  font-size: 15px;
  text-align: left;
}

.seat-select-flex-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 20px 0;
}

.seat-select-group {
  min-width: 200px;
  margin: 0;
}

.seat-select {
  width: 100%;
}

.place-checkbox[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.place-checkbox[aria-disabled="true"]+.place-label {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.seat-select-container {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  padding: 0;
  background-color: #fff;
  align-items: center;
  flex-direction: column;
}

.seat-select-group {
  margin: 0 10px;
}

.seat-select {
  width: fit-content;
  padding: 8px 15px;
  font-weight: 600;
  border: 2px solid #000;
  border-radius: 0;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  transition: all 0.3s ease;
}

.seat-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(75, 97, 127, 0.2);
}

.seat-select-label {
  display: block;
  margin-bottom: 8px;
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.availability-hall-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.hotspot-point {
  position: absolute;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-point::after {
  content: "";
  background-image: var(--img-tskdos-mig);
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: 50px;
  background-position: center;
}

.hotspot-point[data-id="1"]::after,
.hotspot-point[data-id="2"]::after {
  background-image: var(--img-tskdos-ade);
  background-size: 60px;
}

.hotspot-point[data-id="4"]::after {
  background-image: var(--img-tskdos-petla);
  background-size: 60px;
}

.hotspot-point:hover {
  transform: scale(1.4);
}

.hotspot-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
}

.hotspot-modal.active {
  opacity: 1;
  visibility: visible;
}

.hotspot-content {
  background-color: #fff;
  padding: 7px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  position: relative;
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hotspot-modal.active .hotspot-content {
  transform: scale(1);
  opacity: 1;
}

#mini.ui-widget-content {
  border: none;
  margin: 15px auto;
  clear: both;
}

.mini-btn {
  width: 200px;
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 5px;
}

#info_section {
  margin: 10px 0 20px;
}

#info_section .event_open>div:first-child strong {
  display: inline-block;
  margin-bottom: 6px;
}

#info_section .title {
  font-weight: 600;
  color: #000;
}

#info_section .city,
#info_section .name,
#info_section .datetime {
  color: #5f5f5f;
  font-size: 14px;
}

#info_section .datetime {
  display: inline-block;
  margin-top: 4px;
}

#hotspot-title {
  text-align: center;
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.hotspot-image {
  max-width: 100%;
  max-height: 65vh;
  display: block;
}

.hotspot-close {
  position: absolute;
  background: #fff !important;
  top: 10px;
  right: 10px;
  font-size: 46px;
  color: #000;
  cursor: pointer;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 99;
}

.no-scroll {
  overflow: hidden !important;
  padding-right: 15px;
}

.hotspot-tooltip {
  position: absolute;
  background-color: #1FA396;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 2000;
  pointer-events: none;
  max-width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 15px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #1FA396 transparent;
}

.hall div {
  border: none !important;
  margin: auto;
}

#tooltip {
  position: fixed;
  background: #fff;
  padding: 1px;
  width: 312px;
  z-index: 10001;
  pointer-events: none;
}

#tooltip .header {
  font-weight: bold;
  padding: 5px;
  width: 290px;
  margin: 2px 5px;
}

#tooltip .header_sector {
  background: lightgrey;
  font-weight: bold;
  padding: 5px;
  width: 290px;
  margin: 2px auto;
  -webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#tooltip .content {
  padding: 5px;
}

.price {
  color: #CC0000;
  font-weight: bold;
  font-size: 10px;
}

.price span {
  font-size: 12px;
}

.unavaiable {
  color: gray;
  font-weight: bold;
  font-size: 15px;
}

.sector_view {
  width: 300px;
  height: 180px;
  margin: auto;
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}


#button-right {
  margin-left: -1px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border: solid 1px #ccc;
  border-left: 0;
  background: #3ce74d;
  padding: 8px;
}

#button-left {
  margin-left: -1px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: solid 1px #ccc;
  border-right: 0;
  background: #e71e20;
  padding: 8px;
}

#form-qua {
  display: flex;
  text-align: center;
  width: 100%;
  padding: 0 30%;
  margin-top: 10px;
}

#form-qua .disabled,
#form-qua .disabled {
  background: #c8c8c8;
}

.hall-tooltip {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #E0E0E0;
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  width: 280px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.hall-tooltip .header {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #000 !important;
  padding-bottom: 10px;
  color: #000;
}

.hall-tooltip .content {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.hall-tooltip .content b {
  font-weight: 600;
  color: #000;
}

.hall-tooltip .unavaiable {
  color: #D32F2F;
  font-weight: bold;
}

.hall-tooltip .price {
  color: #FC5A57;
  font-size: 16px;
  margin-top: 8px;
  display: inline-block;
}

.hall-tooltip .price b {
  font-weight: bold;
}

#swal2-title {
  color: #000 !important;
  font-size: 22px !important;
  margin-bottom: 5px !important;
}

.swal2-popup {
  padding: 3em !important;
  border-radius: 0 !important;
}

.swal2-header {
  border-bottom: 1px solid;
  width: 80%;
  margin: auto;
  margin-bottom: 8px;
}

#swal2-content .price,
#swal2-content .price span {
  font-size: 18px;
  color: #FC5A57;
  text-transform: capitalize;
  margin: 10px 2px 0;
}

.swal2-actions {
  margin-top: 10px !important;
}

.swal2-styled.swal2-confirm, .swal2-cancel.swal2-styled {
    text-transform: uppercase !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: initial;
    background-color: #f5c842 !important;
    color: #000 !important;
    font-size: 16px !important;
}

.swal2-cancel.swal2-styled {
  background-color: #fff !important;
  border: 1px solid #000000 !important;
  color: #000000 !important;
}


@media (max-width: 768px) {
  #text-hall {
    margin-top: 30px;
  }

  #info-place {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 0;
  }

  #hall {
    width: unset;
    max-height: 550px;
    padding: 0 15px;
  }

  .hall-box {
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
  }

  .zoom-box {
    position: static;
    bottom: auto;
    right: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin: 12px auto 0;
    width: 100% !important;
  }

  .seat-select-flex-container {
    flex-direction: column;
    align-items: stretch;
  }

  .seat-select-group {
    width: 100%;
    margin: 0;
    padding-left: 15px;
}
}

@media (max-width: 767px) {
  .hall-header .term-date .day {
    font-size: 17px;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .seat-select {
    width: 80%;
    padding: 15px;
    font-weight: 500;
    font-size: 20px;
  }
}

@media (min-width: 600px) {
  .swal2-popup {
    font-size: 1.0em;
  }
}

@media (max-width: 767px) {
  .swal2-container .swal2-styled.swal2-confirm,
  .swal2-container .swal2-confirm.swal2-styled {
    min-width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  /* Wyśrodkowanie tooltip na mobile */
  #tooltip {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 280px !important;
    max-width: 90vw !important;
  }
}
