/**
 * Google Identity Services button + OR divider (login + join).
 * Style only TrustMeet wrappers — do not restyle the GIS iframe internals.
 */
.tm-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 16px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
}

.tm-auth-divider::before,
.tm-auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}

.tm-google-continue {
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.tm-unified-signup .tm-auth-divider {
  margin: 12px 0;
  color: #8b95a8;
  letter-spacing: 0.18em;
  opacity: 1;
  font-size: 0.68rem;
  font-weight: 800;
}

.tm-unified-signup .tm-google-slot {
  background: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  box-shadow: none;
}

.tm-unified-signup .tm-google-slot:hover {
  background: #f3f4f6;
  border: 0;
  box-shadow: none;
}

.tm-unified-signup .tm-google-face {
  color: #171717;
  font-size: 0.95rem;
  font-weight: 700;
}

.tm-unified-signup .tm-google-slot.is-consent-locked {
  opacity: 0.72;
}

.tm-google-slot {
  position: relative;
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.72);
  box-sizing: border-box;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.tm-google-slot:hover {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(2, 6, 23, 0.88);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

.tm-google-face {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f8fafc;
}

.tm-google-face__logo {
  display: flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.tm-google-face__logo svg {
  display: block;
  width: 20px;
  height: 20px;
}

.tm-google-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
  opacity: 0.02;
  color-scheme: light;
  cursor: pointer;
}

.tm-google-btn > div,
.tm-google-btn iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 52px;
  color-scheme: light;
  background: transparent !important;
}

.tm-google-consent-gate {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tm-google-slot.is-consent-locked {
  opacity: 0.78;
}

.tm-google-slot.is-consent-locked .tm-google-consent-gate {
  display: block;
}

.tm-google-hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}

.tm-google-mobile,
.tm-google-link {
  margin-top: 16px;
  padding: 16px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(127, 140, 170, 0.35);
  font-size: 0.9rem;
  line-height: 1.45;
  box-sizing: border-box;
  max-width: 100%;
}

.tm-google-mobile[hidden],
.tm-google-link[hidden],
.tm-google-alt-auth[hidden] {
  display: none !important;
}

.tm-google-continue.is-followup .tm-google-slot {
  display: none !important;
}

.tm-google-continue.is-followup .tm-google-mobile,
.tm-google-continue.is-followup .tm-google-link {
  margin-top: 0;
  padding: 0;
  border: none;
}

.tm-google-mobile__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 750;
}

.tm-google-mobile__lead {
  margin: 0 0 8px;
}

.tm-google-mobile__help {
  margin: 0 0 14px;
  font-size: 0.82rem;
  opacity: 0.78;
}

.tm-google-mobile__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.tm-google-mobile__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tm-google-mobile__phone input,
.tm-google-mobile__otp input,
.tm-google-link__otp input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tm-google-mobile__send {
  margin-top: 4px;
}

.tm-google-link__otp {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 390px) {
  .tm-google-continue,
  .tm-google-mobile {
    max-width: 100%;
  }
}
