/* ============================
   CHECKBOX PERSONALIZADOS
   ============================ */
a,
button {
  cursor: position !important;
}
/* Esconde o checkbox nativo */
input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #d1d5db; /* gray-300 */
  border-radius: 0.375rem; /* rounded-md */
  background-color: white;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

/* Hover state */
input[type='checkbox']:hover {
  border-color: #f97316; /* orange-500 */
}

/* Focus state */
input[type='checkbox']:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); /* orange-500 with opacity */
}

/* Checked state - fundo laranja com check branco */
input[type='checkbox']:checked {
  background-color: #f97316; /* orange-500 */
  border-color: #f97316;
}

/* Checkmark (o ✓) */
input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 0.15rem;
  width: 0.35rem;
  height: 0.7rem;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Indeterminate state (se necessário) */
input[type='checkbox']:indeterminate {
  background-color: #f97316;
  border-color: #f97316;
}

input[type='checkbox']:indeterminate::after {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.6rem;
  width: 0.7rem;
  height: 2px;
  background-color: white;
}

/* Disabled state */
input[type='checkbox']:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input[type='checkbox']:disabled:hover {
  border-color: #d1d5db;
}

/* ============================
   BOTÕES DE PROTEÇÃO
   ============================ */

/* Botão selecionado - sem hover */
.btn-select-protecao.btn-active {
  background-color: #f97316 !important;
  color: white !important;
  border-color: #f97316 !important;
  pointer-events: none;
}

.btn-select-protecao.btn-active:hover {
  background-color: #f97316 !important;
  color: white !important;
}
