/* =======================================================
   Checkbox styles
======================================================= */

.frm-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.frm-checkbox input[type="checkbox"] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid;
  border-radius: 0.25rem;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
  background-color: var(--frm-color-white);
  border-color: var(--frm-color-secondary-600);
  cursor: pointer;
}

.frm-checkbox input[type="checkbox"]:checked {
  background-color: var(--frm-color-secondary-600);
  border-color: var(--frm-color-secondary-600);
}

.frm-checkbox input[type="checkbox"]:disabled {
  background-color: var(--frm-color-white);
  border-color: var(--frm-color-secondary-300);
  cursor: not-allowed;
}

.frm-checkbox input[type="checkbox"]::after {
  content: "\ea28";
  font-family: 'icomoon' !important;
  color: var(--frm-color-white) !important;
}

.frm-checkbox .frm-checkbox__label {
  margin-left: 0.5rem;
  user-select: none;
  cursor: pointer;
}