#account-login {
  padding-bottom: 72px;
}

#account-login .account-auth__heading {
  max-width: 760px;
  margin: 0 0 34px;
}

#account-login .account-auth__heading h1 {
  margin: 0;
  padding: 0;
  background: none;
  color: #101010;
  font-size: clamp(34px, 3vw, 46px);
  line-height: .94;
  letter-spacing: -.025em;
  -webkit-text-fill-color: #101010;
}

#account-login .account-auth__heading p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #707078;
  font-size: 17px;
  line-height: 1.45;
}

#account-login .account-auth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#account-login .account-auth__card {
  display: flex;
  min-width: 0;
  min-height: 480px;
  padding: 32px;
  border: 1px solid #ececf0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 16, 16, .06);
  flex-direction: column;
}

#account-login .account-auth__card--new {
  background: linear-gradient(145deg, #f6f6f8 0%, #fff 70%);
}

#account-login .account-auth__card-content {
  margin-bottom: 28px;
}

#account-login .account-auth__eyebrow {
  display: block;
  margin-bottom: 13px;
  color: #ef2637;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

#account-login .account-auth__card h2 {
  margin: 0;
  padding: 0;
  color: #101010;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

#account-login .account-auth__card-content p {
  margin: 18px 0 0;
  color: #66666e;
  font-size: 15px;
  line-height: 1.5;
}

#account-login .account-auth__form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#account-login .account-auth__form .form-group {
  margin-bottom: 18px;
}

#account-login .account-auth__form .control-label {
  margin: 0 0 8px;
  color: #29292d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

#account-login .account-auth__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

#account-login .account-auth__forgotten {
  color: #777780;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

#account-login .account-auth__forgotten:hover,
#account-login .account-auth__forgotten:focus-visible {
  color: #ef2637;
  text-decoration-color: currentColor;
}

#account-login .account-auth__form .form-control {
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f0f1f5;
  color: #101010;
  font-size: 16px;
  box-shadow: none;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

#account-login .account-auth__form .form-control:hover {
  background: #ebecf1;
}

#account-login .account-auth__form .form-control:focus {
  border-color: rgba(239, 38, 55, .7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(239, 38, 55, .1);
}

#account-login .account-auth__button {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  margin-top: auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, #c91878 0%, #f02438 100%) !important;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 9px 22px rgba(225, 31, 67, .2);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#account-login .account-auth__button:hover,
#account-login .account-auth__button:focus-visible {
  background: linear-gradient(100deg, #d2197d 0%, #f32a3d 100%) !important;
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(225, 31, 67, .28);
}

#account-login .account-auth__button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(225, 31, 67, .2);
}

#account-login .account-auth__button--secondary {
  border: 1px solid #d9d9de;
  background: #fff !important;
  color: #171719 !important;
  box-shadow: none;
}

#account-login .account-auth__button--secondary:hover,
#account-login .account-auth__button--secondary:focus-visible {
  border-color: #171719;
  background: #f4f4f6 !important;
  color: #171719 !important;
  filter: none;
  box-shadow: 0 9px 22px rgba(16, 16, 16, .1);
}

#account-login #column-right .list-group {
  overflow: hidden;
  border: 1px solid #ececf0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(16, 16, 16, .05);
}

#account-login #column-right .list-group-item {
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid #f0f0f2;
  background: transparent;
  color: #4f4f55;
  transition: padding-left .25s ease, color .25s ease, background-color .25s ease;
}

#account-login #column-right .list-group-item:last-child {
  border-bottom: 0;
}

#account-login #column-right .list-group-item:hover,
#account-login #column-right .list-group-item:focus-visible,
#account-login #column-right .list-group-item.active {
  padding-left: 22px;
  background: #f7f7f8;
  color: #ef2637;
}

#account-login .alert {
  margin-bottom: 24px;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 991px) {
  #account-login {
    padding-bottom: 56px;
  }

  #account-login .account-auth__grid {
    grid-template-columns: 1fr;
  }

  #account-login .account-auth__card {
    min-height: 0;
  }

  #account-login .account-auth__card--login {
    order: -1;
  }

  #account-login #column-right {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  #account-login {
    padding-right: 15px;
    padding-bottom: 42px;
    padding-left: 15px;
  }

  #account-login .account-auth__heading {
    margin-bottom: 24px;
  }

  #account-login .account-auth__heading h1 {
    font-size: 30px;
  }

  #account-login .account-auth__heading p {
    margin-top: 12px;
    font-size: 15px;
  }

  #account-login .account-auth__grid {
    gap: 14px;
  }

  #account-login .account-auth__card {
    padding: 22px 18px;
    border-radius: 17px;
  }

  #account-login .account-auth__card h2 {
    font-size: 29px;
  }

  #account-login .account-auth__card-content {
    margin-bottom: 22px;
  }

  #account-login .account-auth__button {
    min-height: 52px;
  }
}

#account-register {
  padding-bottom: 72px;
}

#account-register .account-register__heading {
  max-width: 760px;
  margin-bottom: 32px;
}

#account-register .account-register__heading h1 {
  margin: 0;
  padding: 0;
  background: none;
  color: #101010;
  font-size: clamp(34px, 3vw, 46px);
  line-height: .98;
  letter-spacing: -.025em;
  -webkit-text-fill-color: #101010;
}

#account-register .account-register__heading .m-login {
  margin: 15px 0 0;
  color: #707078;
  font-size: 16px;
  line-height: 1.45;
}

#account-register .account-register__heading .m-login a {
  color: #171719;
  text-decoration-color: #b8b8bd;
  text-underline-offset: 3px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

#account-register .account-register__heading .m-login a:hover,
#account-register .account-register__heading .m-login a:focus-visible {
  color: #ef2637;
  text-decoration-color: currentColor;
}

#account-register .account-register__grid {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#account-register .account-register__grid::before,
#account-register .account-register__grid::after {
  display: none;
  content: none;
}

#account-register .account-register__grid > [class*="col-"] {
  width: auto;
  padding: 0;
  float: none;
}

#account-register .account-register__grid > fieldset.account-register__section {
  padding: 30px;
}

#account-register .account-register__section,
#account-register .account-register__newsletter,
#account-register .account-register__captcha {
  min-width: 0;
  margin: 0;
  padding: 30px;
  border: 1px solid #ececf0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 16, 16, .045);
}

#account-register .account-register__password-column .account-register__section {
  height: 100%;
}

#account-register .account-register__section legend,
#account-register .account-register__newsletter legend {
  float: left;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  color: #101010;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

#account-register .account-register__section legend + *,
#account-register .account-register__newsletter legend + * {
  clear: both;
}

#account-register .account-register__captcha > fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#account-register .account-register__captcha > fieldset > legend {
  display: none;
}

#account-register .account-register__captcha .form-captcha {
  margin: 0;
}

#account-register .account-register__captcha .form-captcha .control-label {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  float: none;
  color: #55555c;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

#account-register .account-register__captcha .form-captcha > .col-sm-10 {
  display: grid;
  width: 100%;
  padding: 0;
  float: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

#account-register .account-register__captcha .form-captcha img {
  width: auto;
  max-width: 150px;
  height: 54px;
  border: 1px solid #e2e2e6;
  border-radius: 10px;
  object-fit: contain;
}

#account-register .account-register__form .form-group {
  margin: 0 0 14px;
}

#account-register .account-register__form .form-group:last-child {
  margin-bottom: 0;
}

#account-register .account-register__form .form-group > [class*="col-"] {
  width: 100%;
  padding: 0;
  float: none;
}

#account-register .account-register__form .form-control {
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border: 1px solid transparent !important;
  border-radius: 12px;
  background: #f0f1f5 !important;
  color: #101010;
  font-size: 16px;
  box-shadow: none !important;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

#account-register .account-register__form textarea.form-control {
  height: auto;
  min-height: 120px;
  padding-top: 15px;
  padding-bottom: 15px;
  resize: vertical;
}

#account-register .account-register__form .form-control:hover {
  background: #ebecf1 !important;
}

#account-register .account-register__form .form-control:focus {
  border-color: rgba(239, 38, 55, .7) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(239, 38, 55, .1) !important;
}

#account-register .account-register__form .has-error .form-control,
#account-register .account-register__form .form-control[aria-invalid="true"] {
  border-color: #e93445 !important;
  background: #fff7f8 !important;
}

#account-register .account-register__form .text-danger {
  margin-top: 7px;
  color: #d91f35;
  font-size: 13px;
  line-height: 1.35;
}

#account-register .account-register__extras,
#account-register .account-register__actions {
  grid-column: 1 / -1;
}

#account-register .account-register__extras {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

#account-register .account-register__newsletter .form-group {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

#account-register .account-register__newsletter .control-label {
  flex: none;
  min-width: 0;
  width: 100% !important;
  margin: 0;
  padding: 0;
  color: #55555c;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
}

#account-register .account-register__newsletter .m-radio {
  display: flex;
  flex: 0 0 auto;
  min-width: max-content;
  width: auto !important;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 14px;
}

#account-register .account-register__newsletter .radio-inline {
  margin: 0;
  padding: 0;
}

#account-register .account-register__actions {
  display: grid;
  padding: 4px 0 0;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: 28px;
}

#account-register .account-register__agreement {
  display: grid;
  margin: 0;
  color: #5d5d64;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

#account-register .account-register__check-control {
  display: block;
  margin: 0;
  cursor: pointer;
}

#account-register .account-register__agreement input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

#account-register .account-register__checkmark {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid #c7c7cd;
  border-radius: 6px;
  background: #fff;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

#account-register .account-register__agreement input:checked + .account-register__check-control .account-register__checkmark {
  border-color: #ef2637;
  background: #ef2637;
}

#account-register .account-register__agreement input:checked + .account-register__check-control .account-register__checkmark::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

#account-register .account-register__agreement input:focus-visible + .account-register__check-control .account-register__checkmark {
  box-shadow: 0 0 0 4px rgba(239, 38, 55, .12);
}

#account-register .account-register__agreement.is-invalid .account-register__checkmark,
#account-register .account-register__agreement:has(input[aria-invalid="true"]) .account-register__checkmark {
  border-color: #d91f35;
  box-shadow: 0 0 0 3px rgba(217, 31, 53, .1);
}

#account-register .account-register__agreement-text a {
  color: #171719;
  text-decoration: underline;
  text-decoration-color: #b8b8bd;
  text-underline-offset: 3px;
}

#account-register .account-register__agreement-error {
  display: block;
  margin-top: 6px;
  color: #d91f35;
  font-size: 12px;
  line-height: 1.35;
}

#account-register .account-register__submit {
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 0 30px;
  border: 0;
  border-radius: 16px;
  background: #cd171a !important;
  color: #fff !important;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none !important;
  transition: background-color .2s ease, color .2s ease;
}

#account-register .account-register__submit:hover,
#account-register .account-register__submit:focus-visible {
  background: #8e0002 !important;
  color: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 1199px) {
  #account-register .account-register__extras {
    grid-template-columns: 1fr;
  }

  #account-register .account-register__newsletter,
  #account-register .account-register__captcha {
    grid-column: 1;
  }
}

@media (max-width: 991px) {
  #account-register .account-register__grid,
  #account-register .account-register__extras {
    grid-template-columns: 1fr;
  }

  #account-register .account-register__newsletter,
  #account-register .form-captcha {
    grid-column: 1;
  }

  #account-register .account-register__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #account-register {
    padding-right: 15px;
    padding-bottom: 42px;
    padding-left: 15px;
  }

  #account-register .account-register__heading {
    margin-bottom: 24px;
  }

  #account-register .account-register__heading h1 {
    font-size: 30px;
  }

  #account-register .account-register__heading .m-login {
    margin-top: 12px;
    font-size: 14px;
  }

  #account-register .account-register__grid,
  #account-register .account-register__extras {
    gap: 14px;
  }

  #account-register .account-register__section,
  #account-register .account-register__newsletter,
  #account-register .account-register__captcha {
    padding: 22px 18px;
    border-radius: 17px;
  }

  #account-register .account-register__grid > fieldset.account-register__section {
    padding: 22px 18px;
  }

  #account-register .account-register__section legend,
  #account-register .account-register__newsletter legend {
    margin-bottom: 18px;
    font-size: 20px;
  }

  #account-register .account-register__actions {
    gap: 18px;
  }

  #account-register .account-register__submit {
    min-height: 54px;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 14px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #account-login .account-auth__button,
  #account-login .account-auth__forgotten,
  #account-login .account-auth__form .form-control,
  #account-login #column-right .list-group-item {
    transition: none;
  }
}
