@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

.login-google-page {
  min-height: 100vh;
}

.login-google-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(18px, 4vw, 40px);
  align-items: center;
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(circle at 16% 10%, rgba(26, 115, 232, 0.12), transparent 40%),
    radial-gradient(circle at 85% 8%, rgba(15, 157, 88, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 255, 0.82) 54%, rgba(255, 255, 255, 0.76) 100%);
}

html[data-theme="dark"] .login-google-shell {
  background:
    radial-gradient(circle at 16% 10%, rgba(26, 115, 232, 0.24), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(15, 157, 88, 0.19), transparent 38%),
    linear-gradient(160deg, rgba(26, 28, 34, 0.94) 0%, rgba(21, 24, 31, 0.93) 54%, rgba(15, 17, 22, 0.92) 100%);
}

.login-google-copy {
  display: grid;
  gap: 12px;
}

.login-google-copy h1 {
  margin: 0;
  font-family: "Google Sans", "Manrope", "Sora", sans-serif;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: #1f1f1f;
}

html[data-theme="dark"] .login-google-copy h1 {
  color: #f7f8fb;
}

.login-google-copy .lede {
  max-width: 52ch;
  color: #4b5563;
}

html[data-theme="dark"] .login-google-copy .lede {
  color: #d3d9e6;
}

.login-google-points {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.login-google-points li {
  position: relative;
  padding-left: 22px;
  color: #445064;
  font-family: "Roboto", "Manrope", sans-serif;
  font-size: 0.95rem;
}

.login-google-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8 0%, #0f9d58 100%);
}

html[data-theme="dark"] .login-google-points li {
  color: #c9d1e1;
}

.login-google-card {
  border-radius: 28px;
  border: 1px solid rgba(120, 124, 132, 0.28);
  background: rgba(249, 250, 251, 0.92);
  box-shadow: 0 20px 38px rgba(17, 23, 33, 0.16);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

html[data-theme="dark"] .login-google-card {
  border-color: rgba(133, 143, 161, 0.35);
  background: rgba(23, 27, 35, 0.82);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.38);
}

.login-google-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 2px;
  border-radius: 50%;
  border: 3px solid #80868b;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-google-avatar img {
  width: 40px;
  height: 40px;
  display: block;
}

.google-signin-btn {
  width: 100%;
  min-height: 64px;
  border-radius: 999px;
  border: 3px solid #80868b;
  background: #ffffff;
  color: #1f1f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Google Sans", "Roboto", Arial, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 10px 20px;
}

.google-signin-btn:hover {
  background: #f8f9fa;
}

.google-signin-btn:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.55);
  outline-offset: 2px;
}

.google-signin-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.google-signin-btn:disabled:hover {
  transform: none;
}

.google-signin-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.google-signin-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.google-signin-label {
  line-height: 1.04;
  white-space: nowrap;
}

.login-google-hint,
.login-google-feedback {
  text-align: center;
  font-family: "Roboto", "Manrope", sans-serif;
}

.login-google-meta {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #606b80;
  font-family: "Roboto", "Manrope", sans-serif;
}

.login-google-meta a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}

.login-google-meta a:hover {
  text-decoration: underline;
}

html[data-theme="dark"] .login-google-meta {
  color: #b2bdcf;
}

@media (max-width: 980px) {
  .login-google-shell {
    grid-template-columns: 1fr;
  }

  .login-google-copy {
    order: 2;
  }

  .login-google-card {
    order: 1;
  }

  .google-signin-btn {
    min-height: 60px;
    font-size: clamp(1.05rem, 5.8vw, 1.32rem);
  }
}

@media (max-width: 560px) {
  .login-google-shell {
    padding: 14px;
    border-radius: 20px;
  }

  .login-google-card {
    border-radius: 22px;
  }

  .google-signin-label {
    white-space: normal;
    text-align: center;
  }
}
