.gg-auth-page,
.gg-logout-page{
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(96,165,250,.12), transparent 30%),
    radial-gradient(circle at 88% 85%, rgba(15,23,42,.06), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 48px 0;
}

.gg-auth-shell,
.gg-logout-shell{
  border-radius: 32px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 28px 72px rgba(15,23,42,.10);
  overflow: hidden;
}

.gg-auth-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 720px;
}

.gg-auth-hero{
  padding: 34px;
  background:
    radial-gradient(circle at 20% 18%, rgba(96,165,250,.18), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-right: 1px solid rgba(15,23,42,.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.gg-auth-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(15,23,42,.52);
  font-weight: 900;
}

.gg-auth-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 0 6px rgba(96,165,250,.12);
}

.gg-auth-hero h1{
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  font-weight: 950;
  color: #0f172a;
}

.gg-auth-hero p{
  margin: 0;
  color: rgba(15,23,42,.62);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 550;
  max-width: 42ch;
}

.gg-auth-statgrid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gg-auth-stat{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  padding: 16px 18px;
}

.gg-auth-stat strong{
  display: block;
  font-size: 1.04rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.gg-auth-stat span{
  color: rgba(15,23,42,.56);
  font-weight: 550;
}

.gg-auth-formpanel{
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gg-auth-eyebrow{
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(15,23,42,.42);
  font-weight: 900;
  margin-bottom: 10px;
}

.gg-auth-title{
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: -.05em;
  font-weight: 950;
  color: #0f172a;
}

.gg-auth-subtitle{
  margin: 10px 0 0;
  color: rgba(15,23,42,.58);
  font-weight: 550;
  line-height: 1.6;
}

.gg-auth-stack{
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.gg-auth-field{
  display: grid;
  gap: 8px;
}

.gg-auth-label{
  font-size: .86rem;
  font-weight: 800;
  color: #334155;
}

.gg-auth-input,
.gg-auth-page .form-control{
  width: 100%;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: #0f172a;
  padding: 0 16px;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.gg-auth-input:focus,
.gg-auth-page .form-control:focus{
  outline: none;
  border-color: rgba(59,130,246,.35);
  box-shadow: 0 0 0 4px rgba(59,130,246,.08);
  background: #fff;
}

.gg-auth-submit,
.gg-auth-secondary{
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 900;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.gg-auth-submit{
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15,23,42,.10);
}

.gg-auth-secondary{
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15,23,42,.10);
  gap: 10px;
}

.gg-auth-submit:hover,
.gg-auth-secondary:hover{
  color: #0f172a;
  background: #f8fafc;
}

.gg-auth-divider{
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(15,23,42,.42);
  font-size: .82rem;
  font-weight: 800;
}

.gg-auth-divider::before,
.gg-auth-divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15,23,42,.08);
}

.gg-auth-footer{
  margin-top: 22px;
  color: rgba(15,23,42,.62);
}

.gg-auth-footer a{
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.gg-auth-errors,
.gg-auth-message{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  padding: 14px 16px;
  color: #0f172a;
}

.gg-auth-help{
  color: rgba(15,23,42,.52);
  font-size: .84rem;
}

.gg-logout-page{
  display: flex;
  align-items: center;
}

.gg-logout-shell{
  padding: 36px;
  text-align: center;
}

.gg-logout-title{
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: -.05em;
  color: #0f172a;
}

.gg-logout-text{
  margin: 12px auto 0;
  max-width: 42ch;
  color: rgba(15,23,42,.6);
  line-height: 1.7;
  font-weight: 550;
}

.gg-logout-progress{
  width: min(420px, 100%);
  height: 10px;
  border-radius: 999px;
  margin: 26px auto 0;
  background: rgba(15,23,42,.08);
  overflow: hidden;
}

.gg-logout-progress span{
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #93c5fd, #3b82f6);
  animation: ggLogoutLoad 3s linear forwards;
}

.gg-logout-count{
  margin-top: 14px;
  color: rgba(15,23,42,.5);
  font-weight: 700;
}

@keyframes ggLogoutLoad{
  from{ width: 0; }
  to{ width: 100%; }
}

@media (max-width: 991.98px){
  .gg-auth-grid{
    grid-template-columns: 1fr;
  }

  .gg-auth-hero{
    border-right: 0;
    border-bottom: 1px solid rgba(15,23,42,.06);
  }
}
