.nordis-checkout-account {
  clear: both;
  margin-top: 1.5em;
}

.nordis-checkout-account__notice {
  padding: 12px 16px;
  border-left: 3px solid var(--e-global-color-primary, #51a1b9);
  background: rgba(81, 161, 185, 0.08);
}

.nordis-checkout-account__fields {
  overflow: hidden;
}

.nordis-checkout-account:has(input[type="checkbox"][name="nordis_create_account"]:not(:checked)) .nordis-checkout-account__fields {
  display: none;
}

.nordis-checkout-account__hint {
  font-size: 0.875em;
  opacity: 0.8;
}

.nordis-checkout-account__login {
  font-size: 0.875em;
}

.nordis-checkout-account--block {
  margin-top: 16px;
}

.nordis-checkout-account--block .nordis-checkout-account__title {
  margin: 0 0 8px;
  font-size: 1em;
}

.nordis-checkout-account--block .nordis-checkout-account__toggle.wc-block-components-checkbox {
  margin-top: 0;
}

.nordis-checkout-account--block .wc-block-components-checkbox label {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.nordis-checkout-account--block .wc-block-components-checkbox__input[type="checkbox"] {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 12px 0 0;
}

.nordis-checkout-account--block .wc-block-components-checkbox__label {
  font-size: 0.875rem;
  line-height: 1.5;
}

.nordis-checkout-account--block .nordis-checkout-account__fields {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.nordis-checkout-account--block .nordis-checkout-account__fields .wc-block-components-text-input {
  margin-top: 0;
}

.nordis-checkout-account--block .nordis-checkout-account__notice,
.nordis-checkout-account--block .nordis-checkout-account__hint,
.nordis-checkout-account--block .nordis-checkout-account__login {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.nordis-checkout-account--block .nordis-checkout-account__hint {
  margin-top: 0;
}
