.ErrorStyles::part(base) {
  background: var(--sl-color-danger-10);
  border-color: var(--sl-color-danger-500);
  outline: var(--sl-color-danger-500);
}
.ErrorStyles:host {
  --something-random: red;
  --focus-ring: 0 0 0 var(--sl-focus-ring-width) red !important;
}
.ErrorStyles::part(input) {
  color: var(--sl-color-danger-500);
}
.ErrorStyles::part(input):-webkit-autofill, .ErrorStyles::part(input):-webkit-autofill:hover, .ErrorStyles::part(input):-webkit-autofill:focus, .ErrorStyles::part(input):-webkit-autofill:active {
  box-shadow: 0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important;
  -webkit-text-fill-color: var(--sl-color-danger-500);
}
.ErrorStyles::part(help-text) {
  color: var(--sl-color-danger-500);
}

:host {
  display: block;
}

:host([hidden]) {
  display: none;
}

.FormWrapper > :not(:first-child) {
  margin-top: 54px;
}

.FormSection {
  width: 100%;
}
.FormSection > :not(:first-child) {
  margin-top: 16px;
}

.ButtonWrapper {
  display: flex;
  margin-top: 24px;
  justify-content: flex-end;
}
.ButtonWrapper > :not(:first-child) {
  margin-left: 12px;
}

.CardWrapper {
  box-sizing: border-box;
  background: var(--sl-color-white);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 499px) {
  .CardWrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 880px) {
  .CardWrapper.ShowEdit {
    flex-direction: row;
    align-items: flex-end;
  }
}