.auth-org-chip {
  --auth-org-pad: 0.75rem;
  display: flex;
  align-items: center;
  gap: var(--auth-org-pad);
  margin-top: 0.5rem;
  padding-block: 0.375rem;
  padding-inline: var(--auth-org-pad) 0.375rem;
  background-color: #f1f8fe;
  border: var(--phoenix-border-width) solid var(--phoenix-gray-200);
  border-radius: var(--phoenix-border-radius-sm);
}

.auth-org-chip__mark {
  flex: 0 0 auto;
  width: 3rem;
  height: auto;
  aspect-ratio: 48 / 51;
}

.auth-org-chip__rule {
  color: var(--phoenix-gray-200);
}

.auth-org-chip__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-block: 0.125rem 0.375rem;
}

.auth-org-chip__label {
  margin: 0;
  color: #636a7e;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.auth-org-chip__name {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--phoenix-body-color);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.auth-signin-intro {
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
}

.auth-providers {
  gap: 0.75rem;
  container: auth-providers / inline-size;
}

.auth-providers .btn {
  flex: 1 1 0%;
  min-width: 0;
  padding-inline: 0.65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-provider__short {
  display: none;
}

@container auth-providers (max-width: 26rem) {
  .auth-provider__full {
    display: none;
  }

  .auth-provider__short {
    display: inline;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 991.98px) {
    .auth-provider__full {
      display: none;
    }

    .auth-provider__short {
      display: inline;
    }
  }
}

.auth-centered-row {
  align-items: safe center;
  padding-block: 1.5rem;
}

.auth-centered-row .auth-org-chip {
  margin-top: 0;
}

.auth-confirm-copy {
  margin-top: 3.5rem;
}

.institution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--phoenix-gray-300, #cbd0dd);
  border-radius: var(--phoenix-border-radius, 0.5rem);
  background-color: #fff;
  cursor: pointer;
  text-align: start;
}

.institution-card__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.institution-card__title {
  color: var(--phoenix-body-color, #222834);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.institution-card__hint {
  color: var(--phoenix-secondary-color, #6e7891);
  font-size: 0.875rem;
  line-height: 1.4;
}

.institution-card:hover {
  border-color: var(--phoenix-primary, #2c7be5);
}

.institution-card:has(.institution-card__input:checked) {
  border-color: var(--phoenix-primary, #2c7be5);
  background-color: #eef6ff;
  box-shadow: inset 0 0 0 1px var(--phoenix-primary, #2c7be5);
}

.institution-card:has(.institution-card__input:focus-visible) {
  outline: 2px solid var(--phoenix-primary, #2c7be5);
  outline-offset: 2px;
}

.institution-card:has(.institution-card__input:checked) .institution-card__title,
.institution-card:has(.institution-card__input:checked) .institution-card__hint {
  color: var(--phoenix-primary, #2c7be5);
}

@media (min-width: 992px) {
  .auth-split-row {
    align-items: flex-start;
  }

  /* Matches .auth_logo, whose 10% top margin is a percentage of the left column width. */
  .auth-org-chip {
    margin-top: 5vw;
  }

  .auth-centered-row .auth-org-chip {
    margin-top: 0;
  }
}
