[hidden] {
  display: none !important;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(430px, 1.05fr) minmax(430px, 0.95fr);
  min-height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  background: #f5f7fc;
  color: #10172b;
}
.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 42px clamp(35px, 5vw, 78px);
  overflow: hidden;
  background: radial-gradient(circle at 15% 5%, #3c347f, #071226 60%);
  color: #fff;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font:
    28px Georgia,
    serif;
}
.auth-brand span {
  color: #f4d8a2;
  font-size: 40px;
}
.auth-visual > div {
  position: relative;
  z-index: 2;
  max-width: 610px;
  margin: 40px 0;
}
.auth-visual small {
  color: #61d5cd;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.auth-visual h1 {
  margin: 14px 0;
  font:
    clamp(44px, 5vw, 72px) / 0.98 Georgia,
    serif;
  letter-spacing: -0.04em;
}
.auth-visual p {
  max-width: 540px;
  color: #c4cce0;
  font-size: 17px;
}
.auth-visual ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.auth-visual li:before {
  content: "✓";
  margin-right: 9px;
  color: #61d5cd;
}
.auth-visual figure {
  position: absolute;
  right: 3%;
  bottom: 3%;
  width: min(48%, 560px);
  aspect-ratio: 4/3;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ffffff1f;
  border-radius: 22px;
  opacity: 0.2;
  box-shadow: 0 24px 70px #0008;
}
.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  border-radius: inherit;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 34px;
}
.auth-card {
  width: min(100%, 510px) !important;
  padding: 38px !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 28px 80px #101c361a !important;
}
.card-brand {
  justify-content: center;
  width: max-content;
  margin: 0 auto 25px;
  color: #10172b;
}
.auth-card h1 {
  margin: 3px 0;
  font:
    34px Georgia,
    serif;
  text-align: center;
}
.auth-card > p {
  text-align: center;
  color: #69748b;
}
.tabs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.tabs:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px #101c3610;
  transition: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-card[data-mode="register"] .tabs:before {
  transform: translateX(100%);
}
.tabs button {
  background: transparent !important;
}
.field span {
  font-size: 12px;
  font-weight: 800;
  color: #43516b;
}
.field input {
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  border: 1px solid #d9e0eb;
  border-radius: 10px;
}
.auth-options,
.terms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 13px 0;
  color: #69748b;
  font-size: 12px;
}
.terms {
  align-items: flex-start;
}
.auth-options a,
.terms a,
.auth-help a {
  color: #6656d5;
  font-weight: 800;
}
.auth-secure {
  padding: 10px;
  border-radius: 9px;
  background: #eef9f6;
  color: #08745f !important;
  font-size: 10px !important;
}
.auth-help {
  display: block;
  margin-top: 17px;
  color: #69748b;
  text-align: center;
}
.auth-card [data-name]:not([hidden]),
.auth-card [data-confirm]:not([hidden]),
.auth-card [data-terms]:not([hidden]),
.auth-card [data-login-options]:not([hidden]) {
  animation: field 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes field {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
}
@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
  .auth-panel {
    min-height: 100vh;
    padding: 45px 16px;
    background:
      linear-gradient(#071226b8, #071226b8),
      url("../images/night.jpg") center/cover;
  }
  .auth-card {
    padding: 26px 20px !important;
    background: #fffffff5 !important;
    backdrop-filter: blur(18px);
  }
}
