.auth-page {
  min-height: calc(100vh - 180px);
  background:
    radial-gradient(circle at top left, #ebe8ff 0%, transparent 30%),
    radial-gradient(circle at top right, #ddf8ef 0%, transparent 24%),
    #f6f7fb;
  padding: 56px 16px 72px;
}

.auth-shell {
  max-width: 560px;
  margin: 0 auto;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e3e8f2;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(24, 34, 56, 0.08);
}

.auth-head {
  margin-bottom: 22px;
}

.auth-eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5448ee;
}

.auth-head h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.02;
  color: #171b27;
}

.auth-sub {
  margin: 0;
  color: #5d6678;
  line-height: 1.65;
}

.auth-google-btn {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid #d9deea;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: 0.18s ease;
}

.auth-google-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 22px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: #e6ebf3;
}

.auth-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: #ffffff;
  color: #7b8496;
  font-size: 0.9rem;
}

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

.auth-field label {
  display: inline-block;
  margin-bottom: 8px;
  color: #1f2937;
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.auth-link {
  color: #5448ee;
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  border: 1px solid #d9deea;
  background: #fbfcff;
  padding: 0 14px;
  font-size: 1rem;
  color: #111827;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-form input:focus {
  border-color: #6d63ff;
  box-shadow: 0 0 0 4px rgba(109, 99, 255, 0.12);
}

.auth-check {
  margin-top: -2px;
}

.auth-check label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4b5563;
  font-weight: 600;
}

.auth-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.auth-submit-btn {
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #5d56f4, #63dcbc);
  color: #07111b;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 12px 26px rgba(93, 86, 244, 0.2);
}

.auth-submit-btn:hover {
  transform: translateY(-1px);
}

.auth-foot {
  margin-top: 18px;
  text-align: center;
  color: #5d6678;
  font-size: 0.95rem;
}

.auth-foot a {
  color: #5448ee;
  font-weight: 800;
}

.auth-alert {
  border: 1px solid #ffd0d0;
  background: #fff5f5;
  color: #b42318;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .auth-page {
    padding: 34px 12px 56px;
  }

  .auth-card {
    border-radius: 22px;
    padding: 22px 18px;
  }

  .auth-label-row {
    flex-direction: column;
    align-items: flex-start;
  }
}