/* Login / landing screen */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.auth-visual {
  position: relative;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid var(--glass-border);
}
.auth-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 500px at 20% 20%, rgba(34,195,251,0.28), transparent 60%),
    radial-gradient(700px 600px at 90% 80%, rgba(11,112,194,0.28), transparent 60%);
  z-index: -1;
}

.auth-visual__brand { display: flex; align-items: center; gap: 12px; }
.auth-visual__brand-mark {
  width: 46px; height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(18,165,235,0.5));
}
.auth-visual__brand strong { font-family: var(--font-display); font-size: 1.15rem; }
.auth-visual__brand span { display: block; font-size: 0.72rem; color: var(--text-2); letter-spacing: 0.06em; text-transform: uppercase; }

.auth-visual__headline { max-width: 480px; }
.auth-visual__headline h1 { font-size: 2.6rem; line-height: 1.12; margin-bottom: 16px; }
.auth-visual__headline p { color: var(--text-1); font-size: 1rem; line-height: 1.6; }

.auth-feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.auth-feature-item { display: flex; align-items: center; gap: 12px; }
.auth-feature-item .dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--brand-cyan);
}
.auth-feature-item .dot svg { width: 17px; height: 17px; }
.auth-feature-item span { font-size: 0.87rem; color: var(--text-1); }

.auth-visual__footer { font-size: 0.78rem; color: var(--text-3); }

.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-card { width: 100%; max-width: 400px; padding: 40px 36px; text-align: center; }
.auth-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.auth-card > p { color: var(--text-2); font-size: 0.88rem; margin-bottom: 32px; }

.google-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 13px;
  background: #fff;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  box-shadow: 0 10px 30px rgba(255,255,255,0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.google-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,255,255,0.18); }
.google-btn:active { transform: translateY(0); }
.google-btn:disabled { opacity: 0.7; pointer-events: none; }
.google-btn img, .google-btn svg { width: 20px; height: 20px; }

.auth-status { margin-top: 18px; min-height: 22px; font-size: 0.83rem; }
.auth-status.error { color: var(--danger); }
.auth-status.info { color: var(--text-2); }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0; color: var(--text-3); font-size: 0.75rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--glass-border); }

.auth-security-note {
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
  font-size: 0.76rem; color: var(--text-3);
}
.auth-security-note svg { width: 15px; height: 15px; color: var(--success); flex-shrink: 0; }

.auth-loading-overlay {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  background: rgba(4, 5, 12, 0.72);
  backdrop-filter: blur(8px);
}
.auth-loading-overlay .spinner { width: 34px; height: 34px; border-width: 3px; }
.auth-loading-overlay span { color: var(--text-1); font-size: 0.88rem; }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
