body.auth-static-page {
  min-height: 100vh;
  overflow: hidden;
  background: #000000;
}

body.auth-static-page .bg-orb,
body.auth-static-page .bg-grid {
  display: none;
}

.auth-redesign-page,
.auth-redesign-page *,
.auth-redesign-page input,
.auth-redesign-page input::placeholder {
  font-family: var(--font-safe) !important;
}

.auth-redesign-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  color: #ffffff;
  background: #000000;
}

.auth-center-shell {
  width: min(100%, 410px);
}

.auth-card {
  width: 100%;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
}

.auth-card-logo {
  display: flex;
  justify-content: center;
  width: 64px;
  margin: 0 auto 0;
  color: #ffffff;
  text-decoration: none;
}

.auth-card-logo img {
  width: 64px;
  height: auto !important;
  max-width: none;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.auth-card h1 {
  margin: 0 0 18px;
  color: #ffffff;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.auth-reset-copy {
  max-width: 30ch;
  margin: -4px auto 22px;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-google-btn,
.auth-submit-btn {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.auth-google-btn {
  gap: 10px;
  color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050505;
}

.auth-google-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.auth-google-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #050505;
}

.sign-divider {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

.sign-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.sign-divider span {
  position: relative;
  z-index: 1;
  padding: 0 14px;
  background: #050505;
}

.sign-form {
  display: grid;
  gap: 12px;
}

.sign-form label {
  display: grid;
  gap: 8px;
}

.sign-form label span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  font-weight: 800;
}

.sign-form input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050505;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.sign-form input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.sign-form input:focus {
  border-color: rgba(255, 255, 255, 0.38);
  background: #050505;
}

.sign-form input.is-invalid {
  border-color: rgba(239, 68, 68, 0.85);
}

.sign-form input.is-invalid:focus {
  border-color: rgba(239, 68, 68, 0.95);
}

.auth-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-show-password {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.auth-show-password input {
  width: 15px;
  height: 15px;
  padding: 0;
  accent-color: #ffffff;
}

.auth-show-password span {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.84rem !important;
  font-weight: 800;
}

.auth-forgot-btn {
  width: fit-content;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-forgot-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.auth-submit-btn {
  margin-top: 2px;
  color: #000000;
  border: 1px solid #ffffff;
  background: #ffffff;
}

.auth-submit-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.auth-terms-note,
.sign-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-terms-note {
  margin-top: 0;
  font-size: 0.78rem;
}

.auth-terms-note a,
.sign-note a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.auth-terms-note a:hover,
.sign-note a:hover {
  text-decoration: underline;
}

.symbol-text {
  font-family: var(--font-symbol) !important;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .auth-card-logo {
    width: 56px;
    margin-bottom: 0;
  }

  .auth-card-logo img {
    width: 56px;
    height: auto !important;
  }
}
