.login-body {
  overflow: auto;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 60%, #e0e7ff 100%);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-shell {
  width: 100%;
  max-width: 440px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.login-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.login-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
}

.login-body-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.login-desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

.btn-google-large {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.btn-google-large:hover:not(:disabled) {
  background: #f8fafc;
  box-shadow: var(--shadow-sm);
}

.btn-google-large:active:not(:disabled) { transform: translateY(1px); }

.btn-google-large:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.google-icon { flex: 0 0 20px; }

.login-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid var(--red-border);
}

.login-message.info {
  background: var(--accent-light);
  color: var(--accent-text);
  border-color: rgba(37, 99, 235, 0.18);
}

.login-message.success {
  background: var(--green-bg);
  color: var(--green);
  border-color: var(--green-border);
}

.login-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 4px;
}

.login-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.login-status[data-state="ok"] .login-status-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.login-status[data-state="error"] .login-status-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.login-footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.login-footer a {
  color: var(--accent-text);
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hidden { display: none !important; }
