/* Bootstrap isolado apenas para formulários/botões */
.bootstrap-scope .form-label {
  display: inline-block;
  margin-bottom: .5rem;
  font-weight: 500;
  color: #495057;
}

.bootstrap-scope .form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bootstrap-scope .form-control:focus,
.bootstrap-scope .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  outline: 0;
}

.bootstrap-scope .form-select {
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bootstrap-scope .btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  padding: .45rem 1rem;
  font-size: 1rem;
  border-radius: .375rem;
  border: 1px solid transparent;
  transition: all .2s ease-in-out;
}

.bootstrap-scope .btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 2rem; /* pill button */
}
.bootstrap-scope .btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bootstrap-scope .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.bootstrap-scope .col-md-6,
.bootstrap-scope .col-md-4,
.bootstrap-scope .col-md-2,
.bootstrap-scope .col-12 {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

/* === Novos ajustes visuais === */
.bootstrap-scope .card {
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.bootstrap-scope .card-header {
  background: #f8f9fa;
  font-size: 1rem;
  font-weight: 600;
  color: #0d6efd;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.bootstrap-scope .card-body {
  padding: 1rem 1.25rem;
}

.bootstrap-scope h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d6efd;
  margin-top: 1rem;
  margin-bottom: .75rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Espaçamento entre checkboxes */
.bootstrap-scope .form-check {
  margin-bottom: 0.4rem;
}
.bootstrap-scope .form-check-label {
  font-size: 0.9rem;
  color: #495057;
}

/* === Checkboxes organizados em grade === */
.bootstrap-scope .tipo-estab-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
  gap: 0.5rem 1.5rem; /* espaçamento entre linhas e colunas */
}

/* Responsividade */
@media (min-width: 768px) { /* tablet */
  .bootstrap-scope .tipo-estab-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) { /* desktop */
  .bootstrap-scope .tipo-estab-col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cada opção de checkbox */
.bootstrap-scope .form-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;  /* espaço entre o check e o texto */
  margin: 0;
}

/* Checkbox maior, arredondado (pill) e estilizado */
.bootstrap-scope .form-check-input {
  width: 1.4rem;
  height: 1.4rem;
  cursor: pointer;
  border: 2px solid #0d6efd;
  border-radius: 50%; /* arredondado tipo pill */
  flex-shrink: 0;
  appearance: none; /* remove o estilo padrão */
  outline: none;
  background-color: #fff;
  transition: all 0.2s ease;
  position: relative;
}

/* Quando marcado */
.bootstrap-scope .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  position: relative;
}

/* Marca de seleção customizada (✔) */
.bootstrap-scope .form-check-input:checked::after {
  content: '✔';
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Texto */
.bootstrap-scope .form-check-label {
  font-size: 0.95rem;
  color: #212529;
  cursor: pointer;
  line-height: 1.2;
}
