/* ===== EVENT PAGE STYLES – 3-Column Layout ===== */

/* ---------- Page wrapper ---------- */
.event-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.event-layout {
  align-items: stretch;
}

/* ---------- LEFT: Banner ---------- */
.event-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.event-banner .banner-img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.event-banner .banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  border-radius: 0 0 var(--radius) var(--radius);
}

.event-banner .banner-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--golden);
  font-weight: 600;
}

.event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-badge .badge-icon {
  height: 20px;
  width: 20px;
  object-fit: contain;
}

/* ---------- CENTER: Event Info & Tickets ---------- */
.event-label{
  padding-left: 14px ;
}

.event-info-panel {
  background: var(--mainBg);
  border-radius: var(--radius);
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
}

.event-ticket-panel {
  background: var(--mainBg);
  border-radius: var(--radius);
  padding: 10px 0px;
  display: flex;
  flex-direction: column;
}

.event-header .event-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #999;
  margin-bottom: 6px;
}

.event-header .event-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2a2a2a;
}

/* Meta info */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #ccc;
}

.meta-icon {
  height: 18px;
  opacity: 0.7;
}

/* Description */
.event-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #aaa;
  margin-bottom: 24px;
  flex: 0;
  max-height: 140px;
  overflow-y: auto;
}

.event-description::-webkit-scrollbar {
  width: 4px;
}
.event-description::-webkit-scrollbar-thumb {
  background: var(--mainBg);
  border-radius: 4px;
}

/* Ticket Selection */
.ticket-selection {
  margin-top: auto;
}

.ticket-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--golden);
}

.ticket-options {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ticket-option{
  cursor: pointer;
  margin: 0;
  padding: 14px 20px;
}
.ticket-option:not(:last-child) {
  border-bottom: 1px solid #2a2a2a;
}
.ticket-option p{
  margin-bottom:0px;
  font-size:12px;
}

.ticket-card {
  display: flex;
  align-items: center;
  border-radius: 0;
  transition: all 0.25s ease;
  gap: 12px;
}

.ticket-option:last-child .ticket-card {
  border-bottom: none;
}

.ticket-card:hover {
  border-color: #555;
}

.ticket-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.ticket-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.ticket-desc {
  font-size: 0.75rem;
  color: #777;
  margin-top: 2px;
}

.ticket-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}

.ticket-price-old {
  font-size: 0.8rem;
  color: #777;
  text-decoration: line-through;
}

.ticket-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--golden);
}

.btn-buy {
  padding: 6px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-reserve {
  width: 100%;
  padding: 12px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
}

/* ---------- RIGHT: Sitting Plan ---------- */
.sitting-plan-panel {
  background: var(--mainBg);
  border-radius: var(--radius);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  overflow:hidden;
}

.btn-inspect, .btn-inspect:hover {
  border: none;
  border-radius: 0;
  color: #000000;
  background: var(--gradient);
  padding: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.seating-plan-zoom-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.seating-plan-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.05s linear;
  will-change: transform;
}

.sitting-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--golden);
  text-align: center;
}

/* Stage */
.stage-area {
  background: linear-gradient(135deg, #b37e0d, #fdf2a5);
  color: #000;
  text-align: center;
  padding: 8px 0;
  border-radius: 8px 8px 40px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* Seats */
.seats-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seat-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
  margin-bottom: 4px;
}

.seat-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.seat {
  width: 28px;
  height: 28px;
  border-radius: 5px 5px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.seat-available {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #bbb;
}

.seat-available:hover {
  background: #3a3a3a;
  border-color: var(--golden);
  transform: scale(1.1);
}

.seat-taken {
  background: #3a1515;
  border: 1px solid #6b2a2a;
  color: #6b2a2a;
  cursor: not-allowed;
}

.seat-selected {
  background: var(--golden) !important;
  border-color: var(--golden) !important;
  color: #000 !important;
  transform: scale(1.1);
}

/* Legend */
.seat-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #222;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #999;
}

.legend-box {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.legend-available {
  background: #2a2a2a;
  border: 1px solid #444;
}

.legend-selected {
  background: var(--golden);
}

.legend-taken {
  background: #3a1515;
  border: 1px solid #6b2a2a;
}

/* Selected seat info */
.selected-seat-info {
  margin-top: 12px;
  text-align: center;
  padding: 10px;
  background: rgba(226, 193, 100, 0.08);
  border: 1px solid var(--golden);
  border-radius: 10px;
}

.selected-label {
  font-size: 0.8rem;
  color: #999;
}

.selected-value {
  font-weight: 700;
  color: var(--golden);
  margin-left: 6px;
  font-size: 0.95rem;
}

/* ---------- Reservation Modal ---------- */
.modal-header {
  border-bottom: 2px solid #3e3d3d;
}

.modal {
  backdrop-filter: blur(7px);
}

.modal .myClose {
  padding: calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);
  margin: calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto;
}

.modal .myClose .mini-icon {
  height: 20px;
}

.reservation-summary {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 4px 0;
  color: #ccc;
}

.summary-row span:last-child {
  font-weight: 600;
  color: var(--golden);
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .event-page {
    padding-top: 100px;
  }

  .event-banner {
    min-height: 280px;
  }

  .event-layout {
    flex-direction: column;
  }

  .event-description {
    max-height: none;
  }
}

@media screen and (max-width: 576px) {
  .event-info-panel,
  .sitting-plan-panel {
    padding: 20px 16px;
  }

  .seat {
    width: 24px;
    height: 24px;
    font-size: 0.5rem;
  }
}

/* ---------- Artists ---------- */
.artists-panel {
  background: #111;
  border-radius: var(--radius);
  padding: 20px;
}

.artists-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--golden);
  text-align: center;
}

.artists-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artist-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.artist-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--golden);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
