body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f7;
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background: white;
  padding: 30px 35px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 380px;
  text-align: center;
}

.card h1 {
  margin-top: 0;
  font-size: 24px;
}

input {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  background: #1e88e5;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #166fbe;
}

.error {
  margin-top: 10px;
  color: #d32f2f;
  font-size: 14px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.primary-btn {
  padding: 12px;
  width: 100%;
  background: #0288d1;
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.primary-btn:hover {
  background: #0277bd;
}

.grid-box {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);  /* 5 kolom (rapi dan simpel) */
  gap: 10px;
}

.seat-item {
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  background: #e0e0e0;
  border: 1px solid #ccc;
}

.seat-item.available {
  background: #a5d6a7;   /* hijau muda */
}

.seat-item.locked,
.seat-item.booked {
  background: #424242;
  color: white;
  cursor: not-allowed;
}

.seat-item.selected {
  background: #1e88e5;
  color: white;
  border: 1px solid #1565c0;
}

.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.selected {
  border: 3px solid #007bff !important;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
}

.seat-item {
  padding: 12px;
  border-radius: 6px;
  margin: 5px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 14px;
}

.seat-item .seat-label {
  font-weight: bold;
  font-size: 16px;
}

.seat-item .seat-category {
  font-size: 10px;
  opacity: 0.7;
}

.available:hover {
  transform: scale(1.05);
}

.booked {
  background: #555 !important;
  color: white;
  cursor: not-allowed;
}

.locked {
  background: #b00 !important;
  color: white;
  cursor: not-allowed;
}

.selected {
  border: 3px solid #007bff !important;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
}

.timer {
  text-align: center;
  color: #b00;
  font-weight: bold;
  margin-top: 10px;
}
