/* src/register.css */
.register-submit {
  justify-self: end;
}
.terms-acceptance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  color: #34413c;
  font-size: 0.92rem;
  line-height: 1.45;
}
.terms-acceptance input[type=checkbox] {
  width: 1.05rem;
  min-height: auto;
  height: 1.05rem;
  margin-block-start: 0.15rem;
  padding: 0;
}
.terms-acceptance label {
  font-weight: 700;
}
.validated-field {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}
.validated-field-body {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.validation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 2.45rem;
  margin-block-start: calc(0.92rem * 1.2 + 0.45rem);
  color: transparent;
  font-weight: 900;
  line-height: 1;
}
.validated-field[data-validation-state=valid] .validation-icon {
  color: #15803d;
}
.validated-field[data-validation-state=invalid] .validation-icon {
  color: #b42318;
}
.validated-field[data-validation-state=invalid] input {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgb(180 35 24 / 0.12);
}
.password-strength {
  display: grid;
  gap: 0.35rem;
  margin-block: -0.05rem 0.1rem;
}
.password-strength-meter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
  min-height: 0.45rem;
}
.password-strength-bar {
  height: 0.45rem;
  background: #dfe6e1;
  border-radius: 999px;
}
.password-strength-meter[data-strength-state=weak] .password-strength-bar.is-active {
  background: #b42318;
}
.password-strength-meter[data-strength-state=fair] .password-strength-bar.is-active,
.password-strength-meter[data-strength-state=good] .password-strength-bar.is-active {
  background: #b7791f;
}
.password-strength-meter[data-strength-state=strong] .password-strength-bar.is-active {
  background: #15803d;
}
.password-strength-feedback {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
