.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, #0b1329, #132247 60%, #1e3a8a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
}

.auth-brand {
  position: absolute;
  top: 28px;
  left: 32px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.auth-brand svg {
  color: #38bdf8;
}

.auth-card {
  width: min(450px, 100%);
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px 0;
}

.auth-card > small {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 11px;
  text-transform: uppercase;
}

.auth-card h1 {
  margin: 10px 0 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.auth-card > p {
  color: #64748b;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

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

.auth-card form > button {
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  margin-top: 6px;
}

.terms {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.terms input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  cursor: pointer;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.auth-links a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .auth-brand {
    position: static;
    margin-bottom: 16px;
    align-self: flex-start;
  }

  .auth-card {
    padding: 26px 20px;
    margin: 0;
    border-radius: 16px;
  }

  .auth-card h1 {
    font-size: 22px;
  }
}
