:root {
  --primary-color: #d10000;
  --secondary-color: #000;
  --text-color: #fff;
  --bg-color: #fff;
  --highlight-color: #f8f8f8;
  --seat-size: 40px;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('./bgg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-color);
}

.header {
  background-color: var(--secondary-color);
  padding: 2rem;
  text-align: center;
}

.logo {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.tagline {
  font-size: 1rem;
  color: var(--text-color);
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1rem;
  min-height: 70vh;
}

.seat-selection-box {
  background: rgba(0, 0, 0, 0.75);
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.seat-selection-box h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#seatCount {
  padding: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
  font-size: 1rem;
}

.seats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.seat {
  width: var(--seat-size);
  height: var(--seat-size);
  background-color: #fff;
  border: 2px solid #ccc;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.seat.window::before {
  content: 'W';
  font-size: 0.6rem;
  color: var(--primary-color);
  position: absolute;
  margin-top: -30px;
}

.seat.aisle::before {
  content: 'A';
  font-size: 0.6rem;
  color: var(--primary-color);
  position: absolute;
  margin-top: -30px;
}

.seat.middle::before {
  content: 'M';
  font-size: 0.6rem;
  color: var(--primary-color);
  position: absolute;
  margin-top: -30px;
}

.seat.selected {
  background-color: var(--primary-color);
  color: white;
}

.seat.booked {
  background-color: #888;
  cursor: not-allowed;
  color: white;
}

#confirmBtn {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
