.auth-page{
  min-height: 680px;
  padding: 72px 16px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(174,255,0,.18), rgba(174,255,0,0) 26%),
    linear-gradient(180deg, #14171a 0%, #0f1113 100%);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

.auth-card{
  width: min(460px, 100%);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  color: #fff;
}

.auth-kicker{
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(174,255,0,.14);
  border: 1px solid rgba(174,255,0,.20);
  color: #aeff00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.auth-card h1{
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
  font-weight: 900;
}

.auth-copy{
  margin: 12px 0 22px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.auth-form{
  display: grid;
  gap: 10px;
}

.auth-form label{
  margin-top: 6px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.auth-form input{
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(6,8,10,.44);
  color: #fff;
  outline: none;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input:focus{
  box-shadow: 0 0 0 4px rgba(174,255,0,.18);
}

.auth-captcha{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  align-items: center;
}

.auth-captcha__code{
  position: relative;
  overflow: hidden;
  min-height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid rgba(174,255,0,.26);
  border-radius: 4px;
  background:
    repeating-linear-gradient(8deg, rgba(0,120,40,.12) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #fbfffb 0%, #eaf8ee 100%);
  color: #007a2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(0,110,45,.10);
  user-select: none;
}

.auth-captcha__code::before,
.auth-captcha__code::after{
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  pointer-events: none;
}

.auth-captcha__code::before{
  top: 47%;
  height: 2px;
  background: rgba(0,130,42,.72);
  transform: rotate(-8deg);
}

.auth-captcha__code::after{
  top: 16%;
  bottom: 14%;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,120,42,.20) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 68%, rgba(0,120,42,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 44%, rgba(0,120,42,.16) 0 1px, transparent 2px);
}

.auth-captcha__code span{
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 -1px;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(0,80,34,.18);
}

.auth-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.auth-btn--primary{
  background: #aeff00;
  color: #111;
}

.auth-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(174,255,0,.18);
}

.auth-msg{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.auth-msg--error{
  background: rgba(255,70,70,.12);
  color: #ffb7b7;
  border: 1px solid rgba(255,70,70,.18);
}

.auth-alt{
  margin: 18px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  font-weight: 700;
}

.auth-alt a{
  color: #aeff00;
  text-decoration: none;
}

.auth-alt button{
  padding: 0;
  border: 0;
  background: transparent;
  color: #aeff00;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.auth-alt a:hover,
.auth-alt button:hover{
  text-decoration: underline;
}

.blog-auth-modal{
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  place-items: center;
  padding: 24px;
}

.blog-auth-modal.is-open{
  display: grid;
}

.blog-auth-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, .72);
  backdrop-filter: blur(8px);
}

.blog-auth-modal__card{
  position: relative;
  z-index: 1;
  max-height: min(90vh, 760px);
  overflow-y: auto;
}

.blog-auth-modal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(6,8,10,.46);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.blog-auth-tabs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 42px 18px 0;
}

.blog-auth-tab{
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(6,8,10,.44);
  color: rgba(255,255,255,.72);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.blog-auth-tab.is-active{
  border-color: rgba(174,255,0,.36);
  background: #aeff00;
  color: #111;
}

.blog-auth-pane{
  display: none;
}

.blog-auth-pane.is-active{
  display: block;
}

body.auth-modal-open{
  overflow: hidden;
}

@media (max-width: 520px){
  .auth-page{
    padding: 42px 14px;
  }

  .auth-card{
    padding: 22px;
  }

  .auth-captcha{
    grid-template-columns: 1fr;
  }

  .blog-auth-modal{
    padding: 14px;
  }
}
