.vm-party-type,
.vm-org-identifiers {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.vm-party-type {
  margin-bottom: 20px;
}

.vm-party-type legend,
.vm-org-identifiers legend {
  padding: 0;
  margin-bottom: 8px;
  color: #021a69;
  font-size: .875rem;
  font-weight: 700;
}

.vm-party-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vm-party-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d4dde6;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600;
  color: #021a69;
  cursor: pointer;
}

.vm-party-option:has(input:checked) {
  border-color: #236192;
  background: #eff6fb;
}

.vm-party-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #236192;
}

.vm-org-tax-hint {
  margin: -2px 0 14px;
  font-size: .875rem;
  color: #3b495d;
}

@supports (-webkit-touch-callout: none) {
  /* Let the form size the date input. It still opens the system date picker. */
  #vmGeburtsdatum {
    -webkit-appearance: none;
    appearance: none;
    min-height: 46px;
    background-color: #fff;
    color: inherit;
  }

  #vmGeburtsdatum::-webkit-date-and-time-value {
    min-height: 1.25em;
    margin: 0;
    text-align: start;
  }
}

@media (max-width: 430px) {
  .vm-party-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
