/*--SEAT STYLE 03-02-25--*/
:root {
  --primary-gradient: linear-gradient(to right, #500b59, #7b1fa2);
}

.stage {
  width: 300px;
  max-width: 90%;
  height: 40px;
  background: #343a40;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

.section {
  width: fit-content;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.column {
  position: relative;
  padding: 2px !important;
}

.row-container {
  display: flex;
  align-items: center;
  padding-left: 5%;
  gap: 5px;
}

.row_label {
  touch-action: none;
  user-select: none;
}

.seats-container {
  display: flex;
  align-items: center;
  margin: 0;
  flex-grow: 1;
  gap: 4px;
  position: relative;
  cursor: default;
}

.seat_shadow {
  -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.seat {
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  transform: scale(0.7);
  width: 15px;
  height: 15px;
  opacity: 1 !important;
  gap: 5px;
  z-index: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1 / 1 !important;
}

/* Update the seat status styles */
.seat.reserved,
.seat.temporary_reserved {
  background-color: #757575 !important;
  /* Gray color */
  transform: scale(0.6) !important;
  /* Make it smaller than regular seats */
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  border:none!important;
}

/* Prevent hover effects */
.seat.reserved:hover,
.seat.temporary_reserved:hover {
  transform: scale(0.6) !important;
  cursor: not-allowed !important;
}

.seat:hover {
  transform: scale(1.1);
  z-index: 1000;
}

.seat:hover .seat_details {
  /* //display: block; */
}

.seat.removed {
  background: #faf8f8 !important;
  cursor: none;
  opacity: 0;
}

.seatwheelchair {
  position: relative;
  /* Optional: If you need it for other content or pseudo-elements */
  background-image: url("image/wheelchair.png");
  /* Set the background image */
  background-repeat: no-repeat;
  /* Prevent the image from repeating */
  background-position: center;
  /* Center the image */
  background-size: contain;
  /* Ensure the image scales to fit the element */
  width: 15px;
  /* Set a specific width for the element */
  height: 15px;
  /* Set a specific height for the element */
}

.col-seatMap {
  transition: transform 0.3s ease;
  padding: 5%;
  width: auto;
  max-width: fit-content;
  touch-action: none;
  user-select: none;
  z-index: 20; /* Lower than thumbnail but higher than other elements */
}

.seat-map-container {
  position: relative;
  height: 600px;
  max-height: 50vh !important;
  scroll-behavior: smooth;
  overflow: hidden;
  z-index: 10; /* Lower z-index than thumbnail */
}

/*--THUMBNAIL--*/
.thumbnail-container {
  position: absolute;
  width: 100%;
  max-width: 120px;
  z-index: 1000; /* Higher z-index */
  top: 2px; /* Position it at the top */
  right:2px; /* Position it at the right */
  pointer-events: auto; /* Ensure it captures mouse events */
 opacity:0;
 padding: 0 !important;
}

.thumbnail {
  overflow: hidden;
  position: relative;
  cursor: move;
  text-align: center;
  background:  rgba(255, 255, 255, 0.8);; /* Add background to ensure visibility */
  border: 1px solid #500b59; /* Add a highlighted border */
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add shadow for emphasis */
  
}

.magnifier {
  position: absolute;
  width: 50px;
  height: 25px;
  background: #06bce1;
  border: 1px solid #06bce1;
  opacity: .3;
  cursor: move; /* Add this to show a dragging cursor */
  touch-action: none;
  user-select: none;
}

.thumbnail img {
  width: auto;
  max-width: 100%;
}
/*-- //THUMBNAIL--*/

.seats-container .seat_shadow {
  cursor: pointer !important;
  /* background:rgba(0, 0, 0, 0.1) ; */
}

.seats-container:active {
  cursor: progress;
}

.seat_details {
  position: absolute;
  display: none;
  /*z-index: 1200;
   background: #f2f2f2;
  
  text-align: left;
  text-wrap:nowrap;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  font-size: 14px; */
}

#detailView {
  position: absolute;
  background: #f2f2f2;
  text-align: left;
  text-wrap: nowrap;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  font-size: 14px;
  transition: opacity 0.2s;
  z-index: 100;
  width: max-content;
  min-width: 150px;
  max-width: 200px;
  opacity: 0;
}

/* Hide details popup */
.seat.reserved .seat_details,
.seat.temporary_reserved .seat_details {
  display: none !important;
  pointer-events: none;
  
}

/* Remove any existing conflicting styles */
.seat.reserved.selected {
  animation: none;
  transform: scale(0.5);
}

/* Handle overflow for the main container */
/*.container {
  overflow: hidden;
}*/

/* Event Header Container */
.event-header {
  background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%);
  padding: 0.8rem 0;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* Add subtle background pattern */
.event-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.1;
}

.header-content {
  /* max-width: 1200px; */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Event Information Styles */
.event-info {
  flex: 1;
}

/* Event name styling */
.event-name {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.3rem !important;
  padding: 0 !important;
  line-height: 1.2;
  color: white !important;
  text-shadow: none !important;
  background: none !important;
  -webkit-text-fill-color: white !important;
  -webkit-text-fill-color: transparent;
}

/* Adjusted Sub-header Elements */
.event-details {
  /* display: flex; */
  font-size: 0.8rem;
  gap: 0.5rem;
  /* Reduced from 1.1rem */
  opacity: 0.9;
}

.event-details span {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  /* Reduced from 0.4rem 0.8rem */
  gap: 0.5rem;
  /* Reduced from 0.75rem */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.event-details i {
  font-size: 0.9rem;
  /* Reduced from 1.2rem */
  color: #fdbb2d;
}

/* Timer styles */
.timer-wrapper {
  /* background: rgba(255, 255, 255, 0.1);
  padding: 1rem; */
  /* Slightly reduced padding */
  border-radius: 15px;
  backdrop-filter: blur(10px);
  min-width: 200px;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  transition: all 0.3s ease;
}

/* Timer container styles */
.timer-container {
  text-align: center;
  margin-bottom: 0.5rem;
}

.timer-label {
  font-size: 0.7rem;
  color: white;
  /* margin-bottom: 0.2rem; */
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.timer-label i {
  font-size: 1.2rem;
  color: white;
}

.timer-label span {
  font-size: 1.2rem;
  color: white;
}

/* Countdown Display */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  color: white;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.5rem;
  /* Reduced padding */
  border-radius: 8px;
  /* Slightly reduced */
  min-width: 50px;
  /* Reduced from 80px */
}

.countdown span {
  font-size: 1.2rem;
  color: white;
}

.countdown-item .label {
  font-size: 0.6rem;
  /* Reduced from 0.8rem */
  opacity: 0.8;
  text-transform: uppercase;
  margin-top: 0.2rem;
  display: none;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 4px;
  margin-top: 0.5rem;
  /* Reduced from 6px */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  /* margin-top: 0.875rem; */
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #4caf50, #ffc107, #f44336);
  transition: width 1s linear;
  width: 100%;
}

/* Warning state */
.timer-wrapper.warning .progress-bar {
  background: #ffc107;
}

/* Danger state */
.timer-wrapper.danger .progress-bar {
  background: #f44336;
}

/* Responsive design */
@media only screen and (max-width: 768px) {
  .event-header {
    padding: 0.8rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .event-name {
    font-size: .8rem !important;
    font-weight: 500 !important;
  }

  .event-details {
    /* flex-direction: column; */
    gap: 0.4rem;
    font-size: 0.75rem;
  }

  .timer-wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .seat {
    max-width: 20px;
    max-height: 20px;
  }
}

.seat.selected {
  /* transform: scale(1);
border: 2px solid #000;
opacity: 0.7; */
display:flex;
justify-content: center;
justify-items:center;
align-items: center;
align-content: center;
vertical-align: middle;
  transform: scale(1);
  /* border: 1px solid #500b59; */
  padding:5px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
  opacity: 1!important;
}

/* Font Awesome icon container */
.seat-icon {
  display: none;
  position: absolute;
  width: 95%;
  height: 95%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  border:1.5px solid #fff;
  border-radius: 50%;
  padding:5px;
}

/* Show icon when seat is selected */
.seat.selected .seat-icon {
  display: flex;
}

/* Icon styling */
.seat-icon i {
  color: #fff;
  font-size: 6px;
  font-weight: bolder!important;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

/* Selected Seats Styling */
.seat.selected:hover {
  transform: scale(1);
}

/* Pulse animation for selected seats */
@keyframes selectedPulse {
  0% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
  }

  100% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
  }
}

.seat.selected {
  animation: selectedPulse 2s infinite; 
}



.seat.selected .seat-icon {
  opacity: 1;
}


/*--New--*/
.alert {
  position:absolute;
  /* top: 200px;
  right: 20px; */
  z-index: 1050;
  max-width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/*--//New--*/

/*--Right Side-Seat Informations,Booking Summary--*/
/* Enhanced Booking Panel Styles */
.booking-info-panel {
  height: calc(100vh - 140px);
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
}

.booking-info-panel .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.booking-info-panel .card-header {
  background: #500b59 !important;
  padding: 1.25rem;
  border: none;
}

.booking-info-panel .card-header h5 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.booking-info-panel .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  height: 100%;
  overflow-y: auto;
}

#selected-seats {
  padding: 1rem;
    max-height: 300px; /* Fixed height instead of calculation */
    overflow-y: auto;
    margin-bottom: 220px; /* Reduced margin */
    position: relative;
    z-index: 20; /* Higher z-index than booking summary */
}

#plan-info {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  padding-bottom: 220px;
  /* Space for booking summary */
}

.plan-item {
  padding: 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plan-details {
  margin-left: 0.75rem;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.selected-seat-item {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 10px; /* Add spacing between seat items */
  background: #f8f9fa;
  border-radius: 12px;
  /* padding: .8rem; */
  /* margin-bottom: 1rem; */
  border-left: 4px solid #500b59;
  transition: all 0.3s ease;
}

.selected-seat-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-header {
  padding: 8px 8px 8px 0 !important;
  border-bottom: 1px solid #e0e0e0;
}

.category-name,
.category-price {
  font-weight: 600;
  font-size: 14px;
}

.section-info {
  font-size: 13px;
  color: #1a73e8;
  margin-top: 2px;
}

.seat-codes-container {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.seat-code-badge {
  display: inline-block;
  padding: 4px 8px;
  margin: 2px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  font-size: 13px;
}

.calculation-row {
  padding: 8px;
  /* background: #f8f9fa; */
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  color: #087654 !important;
}

.summary-details {
  background: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  font-size: 14px;
}

.total-row {
  padding-top: 8px;
  margin-top: 4px;
  /* border-top: 1px solid #dee2e6; */
  font-weight: 600;
  color: #087654;
  margin-bottom: 1rem;
  /* Added space for button */
}

.pay-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: #500b59;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.pay-button:hover {
  background: #087654;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.pay-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.2);
}

.pay-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.booking-summary {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 10;
  backdrop-filter: blur(10px);
}

.booking-summary .d-flex {
  margin-bottom: 0.75rem;
}

.booking-summary .text-primary {
  color: #4a90e2 !important;
  font-size: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .booking-info-panel {
    height: auto;
    min-height: 500px;
    position: relative;
  }

  .booking-info-panel .card {
    height: 100%;
  }

  #plan-info {
    margin-bottom: 220px;
  }
  
  #selected-seats {
    max-height: 300px; /* Fixed height for mobile */
    margin-bottom: 220px;
  }

  .booking-summary {
    position: absolute;
  }
}
/*-- //Right Side-Seat Informations,Booking Summary--*/

/*--- BOOKING SUMMARY STYLE 31-01-2025 --*/
.booking-seat-summary {
  /* border-radius: 1rem;
     border: none; 
     padding: 1.5rem;*/
}

.booking-seat-summary .card {
  background: white;
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
}

.booking-seat-summary .card-header {
  /* background: #500B59; */
  padding: 1rem;
  color: black;
}

.booking-seat-summary .card-title {
  margin-bottom: 0 !important;
}

.booking-seat-summary .card-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.booking-seat-summary .card-body {
  padding: 1rem !important;
}

.booking-reference {
  margin-bottom: 1rem;
}

.text-muted {
  color: #6c757d;
  display: block;
}

.reference-number {
  /* background: #dbdcdd;
    padding: .5rem;
    border-radius: 0.5rem;
    font-family: monospace;*/
  font-size: 1rem;
  color: #087654;
}

.summary-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  /* border-bottom: 1px solid #dee2e6; */
}

.seat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seat-badge {
  background: linear-gradient(to right, #500b59, #7b1fa2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin: 0.25rem;
  display: inline-block;
}

.summary-total {
  font-weight: bold;
  font-size: 1.2em;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  /* border-top: 2px solid #dee2e6; */
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  /* font-size: 1.25rem; */
  margin: 0;
}

.total-amount {
  font-size: 1.5rem;
  margin: 0;
}
/*--- //BOOKING SUMMARY STYLE 31-01-2025 --*/