/* =========================================================
   TradingOath — login.css (Light / Google-product theme)
   Styles unique to login.html
   ========================================================= */

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--dim-32) var(--dim-24);
  position: relative;
  background: var(--bg-alt); 
}

.auth-back {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: var(--dim-8);
  font-size: var(--font-16);
  color: var(--text-secondary); 
}

.auth-back:hover {
  color: var(--blue);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  padding: var(--dim-48) var(--dim-32);
  box-shadow: var(--shadow-3);
  text-align: center;
   
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--dim-8);
  font-family: var(--font-display);
  font-size: var(--font-20);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--dim-32);
   
}

.auth-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.auth-card h1 {
  font-size: var(--font-24); 
   
}

.auth-card p.auth-sub {
  margin-top: var(--dim-16);
  font-size: var(--font-16);
  color: var(--text-secondary);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto; 
}

.auth-google-btn {
  margin-top: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--dim-8);
  padding: var(--dim-12) var(--dim-20);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: #3c4043;
  font-weight: 600 !important;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.15s ease;
}

.auth-google-btn:hover {
  box-shadow: var(--shadow-2);
}

.auth-google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.auth-google-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-status {
  margin-top: 16px;
  min-height: 18px; 
  font-size:  var(--font-12);
  color: var(--red);
}

.auth-divider {
  margin-top: var(--dim-16);
  border-top: 1px solid var(--border);
}

.auth-legal {
  
  font-size: var(--font-12);
  margin-top: var(--dim-16);
  color: var(--text-muted);
  line-height: 1.6; 
}

.auth-legal a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-legal a:hover {
  color: var(--blue);
}

@media (max-width: 480px) {
  .auth-card {
    padding: var(--dim-32) var(--dim-24);
  }
}
