body { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }

.login-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.login-logo { display: block; margin-bottom: 20px; }
.login-logo img { height: 56px; }

.login-card h2 { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.login-sub { font-size: .88rem; color: var(--muted); margin-bottom: 32px; line-height: 1.5; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #dadce0;
  border-radius: 12px;
  background: white;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.btn-google:hover { background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.btn-google:disabled { opacity: .6; cursor: not-allowed; }

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

.login-error {
  color: #ef4444;
  font-size: .83rem;
  margin-top: 16px;
  display: none;
  padding: 10px 14px;
  background: #fee2e2;
  border-radius: 8px;
}

.login-back {
  display: block;
  margin-top: 24px;
  font-size: .83rem;
  color: var(--muted);
  text-decoration: none;
}
.login-back:hover { color: var(--primary); }

/* User bar on order/track pages */
.user-bar {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
  font-size: .82rem;
  color: var(--muted);
}
.user-bar-email { font-weight: 500; }
.btn-logout {
  padding: 5px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-logout:hover { background: #f1f5f9; }

@media(max-width: 480px) {
  .login-card { padding: 32px 20px; border-radius: 16px; }
  .login-card h2 { font-size: 1.2rem; }
  .login-sub { font-size: .83rem; margin-bottom: 24px; }
  .btn-google { padding: 13px 16px; font-size: .9rem; }
  .user-bar { padding: 7px 14px; gap: 8px; }
}
