/*Profile page*/
.pt-custom-header-wrapper .crmEntityFormView .entity-form > h2:first-of-type {
  margin-top: 0px;
}

/*Checkbox style*/
.crmEntityFormView .cell .checkbox {
  margin: 10px 0 0;
}

.crmEntityFormView .cell .checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.crmEntityFormView .cell input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fontcolor) !important;
  border-radius: 4px;
  background: var(--light-grey);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}


.crmEntityFormView .cell input[type=checkbox]:focus {
  border: 1px solid var(--fontcolor) !important;
}

.crmEntityFormView .cell input[type=checkbox]:checked {
  background: var(--primary);
  border-color: var(--primary) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.4 2.8 8l-1.4 1.4 4.8 4.8L14.6 5.8 13.2 4.4z'/%3E%3C/svg%3E");
}

.crmEntityFormView .cell input[type=checkbox][disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.crmEntityFormView .cell input[type=checkbox][disabled] + span,
.crmEntityFormView .cell input[type=checkbox][disabled] + label {
  cursor: not-allowed;
}

body.pt-prs-theme .crmEntityFormView .cell input[type=checkbox]:checked {
  background: var(--prs-yellow);
  border-color: var(--prs-yellow) !important;
}
