/* Cinematic Seat Map Style */
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

body {
  font-family: 'Lato', sans-serif;
  background-color: #f7f7f7;
  margin: 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.banner-evento {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.titulo {
  text-align: center;
  font-size: 32px;
  margin-bottom: 5px;
}
.subtitulo {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

/* Tela do cinema */
.lateral-direita {
  display: flex;
  flex-direction: row; /* lado a lado */
  gap: 10px;
  margin-left: 10px;
  align-self: flex-start;
 
}

.pista,
.palco {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  background: #e0e0e0;
  padding: 10px 0px;
  font-weight: bold;
  font-size: 24px;
  border-radius: 5px;
  width: 35px;
  height: 485px; /* ✅ Altura proporcional às mesas */
}




/* Grade de mesas (cadeiras) */
.mapa-salas {
  display: grid;
  grid-template-columns: repeat(10, 60px); /* 10 colunas no exemplo acima */
  grid-auto-rows: 60px;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.row-mesa {
  display: contents;
}

/* Mesas */
.mesa {
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mesa.livre { background-color: #28a745; }
.mesa.aguardando { background-color: #ffc107; color: #000; cursor: not-allowed; }
.mesa.paga,
.mesa.ocupada {
  background-color: #999 !important;
  cursor: not-allowed;
  color: white;
}

.mesa.cheia {
  background-color: #dc3545 !important; /* vermelho */
  color: white;
  cursor: not-allowed;
}


.quadrado.ocupada {
  background-color: #999;
}

.mesa.selecionada {
  background-color: #007bff;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
}

/* Hover */
.mesa.livre:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(0, 128, 0, 0.7);
}


.cheia { background-color: #dc3545; }



/* Legenda */
.legenda {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.legenda .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.legenda .quadrado {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}
.livre { background-color: #28a745; }
.aguardando { background-color: #ffc107; }

.selecionada { background-color: #007bff; }

/* Formulário de inscrição */
#formulario-inscricao {
  max-width: 700px;
  margin: 0 auto 40px;
  background: #fff;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  
}
#formulario-inscricao .form-group {
  margin-bottom: 15px;
}
#formulario-inscricao .btn-success {
  width: 100%;
}



/* Alerta */
.alert {
  padding: 20px;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 18px;
}

/* Resumo da compra */
.resumo-compra {
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.resumo-compra h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.resumo-compra p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.resumo-compra small {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 13px;
}

/* Botões */
.btn-lg {
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 6px;
  min-width: 200px;
}

.btn + .btn {
  margin-top: 10px;
}

#btnConvite.active {
  background-color: #007bff !important;
  color: white !important;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
  transform: scale(1.05);
}

.mapa-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transform-origin: top center;
}


@media (max-width: 800px) {
  .mapa-container {
    transform: scale(0.45);
  }
}

