#account-access .afm-access-shell {
  width: 100%;
  max-width: 36rem;
  margin: 1rem auto 3rem;
}

#account-access .afm-access-card {
  overflow: hidden;
  border: 1px solid rgba(15, 76, 58, .12);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 2.75rem rgba(27, 50, 43, .1);
}

#account-access .afm-access-card__body {
  padding: clamp(1.35rem, 4vw, 2.5rem);
}

.afm-access-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.afm-access-header h1,
.afm-access-header h2 {
  margin: 0 0 .55rem;
  color: #173f32;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -.025em;
}

.afm-access-header h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
}

.afm-access-header p {
  max-width: 28rem;
  margin: 0 auto;
  color: #68756f;
  line-height: 1.55;
}

.afm-access-header--step {
  margin: 1.4rem 0 1.25rem;
}

#account-access .form-label,
#checkout-checkout .checkout-access-panel .form-label {
  color: #243d34;
  font-weight: 650;
}

#account-access .form-control,
#account-access .form-select,
#checkout-checkout .checkout-access-panel .form-control {
  min-height: 3.15rem;
  border-color: #cbd5d1;
  border-radius: .7rem;
}

#account-access .form-control:focus,
#account-access .form-select:focus,
#checkout-checkout .checkout-access-panel .form-control:focus {
  border-color: #16865e;
  box-shadow: 0 0 0 .22rem rgba(22, 134, 94, .14);
}

.afm-access-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: .8rem .9rem;
  border: 1px solid #b8ddcf;
  border-radius: .8rem;
  background: #f0faf6;
}

.afm-access-identity--new {
  border-color: #c9d9ee;
  background: #f3f7fc;
}

.afm-access-identity__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #16865e;
  color: #fff;
}

.afm-access-identity--new .afm-access-identity__icon {
  background: #246bc0;
}

.afm-access-identity__text {
  min-width: 0;
  color: #68756f;
  font-size: .78rem;
  line-height: 1.25;
}

.afm-access-identity__text span,
.afm-access-identity__text strong {
  display: block;
}

.afm-access-identity__text strong {
  overflow: hidden;
  margin-top: .12rem;
  color: #173f32;
  font-size: .93rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.afm-access-identity .btn-link {
  color: #116846;
  font-weight: 650;
  text-decoration: none;
}

.afm-access-identity .btn-link:hover,
.afm-access-identity .btn-link:focus-visible {
  text-decoration: underline;
}

.afm-access-submit {
  min-height: 3.15rem;
  border-radius: .7rem;
  font-weight: 700;
}

.afm-access-submit .spinner-border {
  margin-left: .45rem;
}

.afm-password-toggle {
  min-width: 3.15rem;
  border-color: #cbd5d1;
  border-radius: 0 .7rem .7rem 0;
}

#account-access .afm-social-login {
  max-width: none;
  margin-bottom: 1.25rem;
}

#account-access .afm-social-login__divider {
  margin-bottom: 1rem;
}

#account-access #form-register .custom-field[style*="display: none"] {
  display: none !important;
}

#checkout-checkout .checkout-account-window {
  max-width: 46rem;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid rgba(15, 76, 58, .13) !important;
  border-radius: 1.2rem !important;
  box-shadow: 0 .8rem 2.25rem rgba(27, 50, 43, .08);
}

#checkout-checkout .checkout-account-choice-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

#checkout-checkout .checkout-account-choice-header h2 {
  margin: 0 0 .45rem;
  color: #173f32;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 750;
}

#checkout-checkout .checkout-account-choice-header p {
  margin: 0;
  color: #68756f;
}

#checkout-checkout .checkout-account-choice-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.4rem;
  padding: 1rem 1.15rem;
  border-radius: .9rem;
  text-align: left;
}

#checkout-checkout .checkout-account-choice-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 1.15rem;
}

#checkout-checkout .btn-outline-primary .checkout-account-choice-icon {
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .1);
}

#checkout-checkout .checkout-account-choice-copy strong,
#checkout-checkout .checkout-account-choice-copy span {
  display: block;
}

#checkout-checkout .checkout-account-choice-copy strong {
  font-size: 1.05rem;
}

#checkout-checkout .checkout-account-choice-copy span {
  margin-top: .18rem;
  opacity: .82;
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.35;
}

#checkout-checkout .checkout-access-panel {
  max-width: 34rem;
  margin: 0 auto;
}

#checkout-checkout .checkout-access-panel .afm-social-login {
  max-width: none;
}

#checkout-checkout .checkout-access-panel .afm-access-identity {
  margin-bottom: 1.2rem;
}

@media (max-width: 575.98px) {
  #account-access .afm-access-shell {
    margin-top: .25rem;
  }

  #account-access .afm-access-card {
    border-radius: 1rem;
  }

  .afm-access-identity {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .afm-access-identity .btn-link {
    grid-column: 2;
    justify-self: start;
    padding: 0;
  }

  #checkout-checkout .checkout-account-window {
    padding: 1.1rem !important;
  }

  #checkout-checkout .checkout-account-choice-button {
    gap: .75rem;
    padding: .9rem;
  }
}
