/* Google One Tap + Sign In With Google fallback (footer, above Tawk when possible) */

.fg-google-one-tap-slot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 2147483000;
}

.fg-google-fallback-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 1.5rem);
  width: min(22rem, 100%);
  padding: 0.75rem 0.9rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 50px rgba(15, 23, 42, 0.22);
  z-index: 2147483001;
  pointer-events: auto;
  text-align: center;
}

.fg-google-fallback-wrap[hidden] {
  display: none !important;
}

.fg-google-fallback-wrap__label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

#fg-google-id-button-mount {
  display: flex;
  justify-content: center;
  margin-bottom: 0.55rem;
  min-height: 40px;
}

.fg-google-fallback-wrap__oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.fg-google-fallback-wrap__oauth:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.fg-google-fallback-wrap__hint {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #94a3b8;
}
