/** Official-looking Google button + signed-in chip (injected into site nav). */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 40px;
  padding: 0 0.85rem 0 0.7rem;
  border-radius: 4px;
  border: 1px solid #747775;
  background: #fff;
  color: #1f1f1f;
  font-family: "Roboto", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-google[hidden] {
  display: none !important;
}

.btn-google:hover {
  background: #f8f9fa;
  border-color: #747775;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
  color: #1f1f1f;
}

.btn-google:focus-visible {
  outline: 2px solid #0b57d0;
  outline-offset: 2px;
}

.btn-google__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 40px;
  padding: 0 0.75rem 0 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(30, 41, 59, 0.55);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 220px;
}

.nav-user:hover {
  border-color: rgba(196, 181, 253, 0.45);
  color: #fff;
}

.nav-user__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #334155;
}

.nav-user__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-btn-host {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 860px) {
  .nav__links .btn-google,
  .nav__links .nav-user {
    width: 100%;
    justify-content: center;
    max-width: none;
  }
}
