/* auth pages layout */
.auth {
  position: relative;
  min-height: calc(100vh - 100px); /* твой topbar = 100px */
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px 24px 70px;
}

/* blurred blob backgrounds */
.auth__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
}

.auth__bg--blue::before,
.auth__bg--blue::after,
.auth__bg--green::before,
.auth__bg--green::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  filter: blur(0px);
  border-radius: 40% 60% 70% 30% / 50% 40% 60% 50%;
  opacity: 0.95;
}

.auth__bg--blue::before {
  left: 6%;
  top: 18%;
  background: rgba(90, 200, 255, 0.55);
}

.auth__bg--blue::after {
  right: 10%;
  bottom: 12%;
  background: rgba(90, 200, 255, 0.45);
}

.auth__bg--green::before {
  left: 7%;
  top: 22%;
  background: rgba(165, 235, 120, 0.55);
}

.auth__bg--green::after {
  right: 12%;
  bottom: 14%;
  background: rgba(165, 235, 120, 0.45);
}

/* card */
.auth__card {
  position: relative;
  z-index: 1;
  width: min(520px, 92vw);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  padding: 26px 26px 20px;
  backdrop-filter: blur(8px);
}

.auth__title {
  margin: 0 0 16px;
  font-size: 22px;
  text-align: center;
}

.auth__form {
  display: grid;
  gap: 10px;
}

.auth__label span {
  display: block;
  font-size: 12px;
  color: #444;
  margin-bottom: 6px;
}

.auth__label input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1.5px solid #111;
  outline: none;
  font-size: 14px;
  background: #fff;
}

.auth__error {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 50, 50, 0.12);
  color: #b00020;
  font-size: 13px;
}

.auth__submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}

.auth__hint,
.auth__terms {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: #444;
}

.auth__hint a,
.auth__terms a {
  color: #111;
  text-decoration: underline;
}
