.auth {
  min-height: calc(80vh - 78px);
  display: grid;
  place-items: center;
  padding: 30px 0 10px;
}

.auth__back {
  justify-self: start;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: #1b86d6;
  padding: 10px 12px;
  border-radius: 12px;
}

.auth__back:hover {
  background: rgba(46, 166, 255, 0.1);
}

.auth__card {
  width: min(520px, 100%);
  border: 1px solid rgba(46, 166, 255, 0.18);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.auth__card h1 {
  margin: 10px 0 6px;
  font-size: 40px;
  letter-spacing: -0.7px;
  font-weight: 600;
}

.form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.field span {
  display: block;
  font-size: 14px;
  color: #22304a;
  margin-bottom: 8px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 0 16px;
  outline: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
}

.field input:focus {
  border-color: rgba(46, 166, 255, 0.55);
  box-shadow: none;
}

.form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.form-error {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
  font-weight: 600;
  font-size: 14px;
}

.check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #556070;
  font-size: 14px;
}

.auth__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth__tab {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.auth__tab.active {
  background: #2ea6ff;
  color: #fff;
  border-color: #2ea6ff;
}

.auth__card.fade {
  animation: fadeSlide 220ms ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn--google {
  background: #ffffff;
  color: #0f172a;
}

.google-svg {
  display: inline-flex;
  align-items: center;
}

.auth__footer {
  text-align: center;
  margin: 6px 0 0;
  font-size: 14px;
}
