.auth-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #f8f8fa;
  background: #08090c;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, .97) 0%, rgba(8, 9, 12, .86) 35%, rgba(8, 9, 12, .38) 72%, rgba(8, 9, 12, .56) 100%),
    linear-gradient(0deg, rgba(8, 9, 12, .94) 0%, transparent 36%, rgba(8, 9, 12, .36) 100%),
    url("images/login_bg.jpg") center center / cover no-repeat;
}

.auth-header,
.auth-main,
.auth-footer {
  position: relative;
  z-index: 1;
}

.auth-header {
  width: min(1240px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
}

.auth-brand img {
  display: block;
  width: 146px;
  height: auto;
}

.auth-header-prompt {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.auth-header-prompt a,
.auth-card-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.auth-header-prompt a {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  transition: background-color .18s ease, border-color .18s ease;
}

.auth-header-prompt a:hover,
.auth-header-prompt a:focus {
  color: #fff;
  border-color: #ee1731;
  background: #ee1731;
  text-decoration: none;
}

.auth-header-prompt .auth-blog-link {
  border: 0;
  padding-left: 8px;
}

.auth-main {
  width: min(1240px, calc(100% - 64px));
  flex: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 18px 0 46px;
}

.auth-card {
  width: min(100%, 460px);
  margin-left: 3%;
  padding: 40px 42px 30px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(15, 16, 20, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.auth-card-heading {
  margin-bottom: 28px;
}

.auth-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #4da3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

.auth-card-heading h1 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 30px;
  font-weight: 750;
  line-height: 1.2;
}

.auth-card-heading p {
  margin: 0;
  color: #a9abb3;
  font-size: 14px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-remember {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: -5px;
  color: #d6d7dc;
  font-size: 13px;
  cursor: pointer;
}

.auth-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #ed1732;
}

.auth-field label {
  display: block;
  margin: 0 0 8px;
  color: #e5e5e9;
  font-size: 13px;
  font-weight: 600;
}

.auth-field input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #44464f;
  border-radius: 6px;
  outline: none;
  color: #fff;
  background: #222329;
  box-shadow: none;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.auth-field input:focus {
  border-color: #858791;
  background: #26272e;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}

.auth-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #f01c35, #cf0c25);
  box-shadow: 0 8px 22px rgba(207, 12, 37, .24);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: filter .18s ease, transform .18s ease;
}

.auth-submit:hover,
.auth-submit:focus {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.auth-submit:focus-visible,
.auth-header-prompt a:focus-visible,
.auth-card-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.auth-card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
  color: #a9abb3;
  font-size: 13px;
}

.auth-card-links a {
  color: #d4d5db;
  font-weight: 500;
}

.auth-card-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.auth-alert {
  margin: 0 0 20px;
  border-radius: 6px;
}

.auth-recaptcha {
  max-width: 100%;
  overflow-x: auto;
}

.auth-footer {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 18px;
  color: #a9abb3;
}

.auth-footer footer {
  margin: 0;
  padding: 0;
}

.auth-footer footer .row {
  margin: 0;
}

.auth-footer footer .col-lg-12 {
  padding: 0;
}

.auth-footer footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 10px;
  padding: 0;
}

.auth-footer footer li {
  margin: 0;
  padding: 0;
}

.auth-footer footer a,
.auth-footer .footer-credit {
  color: #a9abb3;
  font-size: 12px;
}

.auth-footer footer a:hover {
  color: #fff;
}

.auth-footer .footer-credit {
  margin: 8px 0 0;
}

@media (max-width: 767px) {
  .auth-page::before {
    background:
      linear-gradient(180deg, rgba(8, 9, 12, .62), #08090c 38%, #08090c 100%),
      url("images/login_bg.jpg") 68% top / auto 340px no-repeat;
  }

  .auth-header {
    width: calc(100% - 40px);
    min-height: 72px;
    gap: 12px;
  }

  .auth-brand img {
    width: 118px;
  }

  .auth-header-prompt {
    gap: 8px;
    font-size: 12px;
  }

  .auth-header-prompt a {
    padding: 8px 11px;
  }

  .auth-header-prompt .auth-blog-link {
    display: none;
  }

  .auth-main {
    width: calc(100% - 40px);
    align-items: flex-start;
    padding: 35px 0 42px;
  }

  .auth-card {
    width: 100%;
    margin: 0;
    padding: 30px 24px 24px;
    border-color: rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(15, 16, 20, .96);
  }

  .auth-card-heading {
    margin-bottom: 24px;
  }

  .auth-card-heading h1 {
    font-size: 27px;
  }

  .auth-form {
    gap: 16px;
  }

  .auth-footer {
    width: calc(100% - 40px);
    padding-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .auth-header,
  .auth-main,
  .auth-footer {
    width: calc(100% - 28px);
  }

  .auth-card {
    padding-right: 19px;
    padding-left: 19px;
  }

  .auth-header-prompt > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-header-prompt a,
  .auth-field input,
  .auth-submit {
    transition: none;
  }
}
