/*
 Copyrigth 2018 BAT-Software

 Formulário de inscrição de noivos ([BATInscreverNoivosCPM] -> form_BATInscricaoNoivosCPM).
 Depende de BATComponentes.css (.bat-painel / .bat-campo / .bat-seletor-linha).
 Carregado por InscricaoNoivos_ajax_enqueue_scripts() em BATInscricaoNoivosCPM.php.

 Breakpoint do projeto: 768px (ver BATMenuMobile.css).
*/

/* ===== SELEÇÃO DO ENCONTRO: seletores em cascata | ficha em branco ===== */
.bat-noivos-topo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.bat-noivos-topo > .bat-seletor-linha {
  flex: 1 1 560px;
  min-width: 0;
}

.bat-noivos-ficha-branco {
  width: 100px;
  height: 100px;
  background-color: aquamarine;
}

/* ===== DETALHES DO ENCONTRO: blocos lado a lado, altura mínima ===== */
.bat-noivos-detalhes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 16px;
}

.bat-noivos-detalhes > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bat-noivos-contagem {
  margin-top: 6px;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  .bat-noivos-topo > .bat-seletor-linha {
    flex-basis: 100%;
  }

  .bat-noivos-ficha-branco {
    width: 100%;
    height: auto;
    min-height: 44px;
  }
}
