/* Google Identity branding: https://developers.google.com/identity/branding-guidelines */
button.google-sign-in {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 12px;
  margin-inline: auto;
  border: 1px solid var(--field-line, var(--border, #747775));
  border-radius: 50%;
  background: #fff;
  color: #1f1f1f;
  font:
    500 14px/20px 'Google Sans',
    Arial,
    sans-serif;
  cursor: pointer;
}
/* Each entry surface follows its own theme; a portal can differ from workspace. */
:root[data-workspace-theme='dark'] #auth-view:not(.company-theme) button.google-sign-in,
#auth-view.company-theme[data-theme='dark'] button.google-sign-in,
:root[data-theme='dark'] button.google-sign-in {
  background: transparent;
  color: #e3e3e3;
}
button.google-sign-in img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
button.google-sign-in:hover {
  box-shadow: 0 1px 3px #0003;
}
button.google-sign-in:focus-visible {
  outline: 2px solid #4285f4;
  outline-offset: 3px;
}
button.google-sign-in:disabled {
  opacity: 0.65;
  cursor: wait;
}
#google-signup,
#google-staff,
.google-sign-in-alternative {
  margin-top: 20px;
}
.google-sign-in-alternative .error:empty {
  display: none;
}

.auth-providers {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.auth-providers:has(button) {
  margin-top: 24px;
}
.auth-providers > #google-signup,
.auth-providers > #google-staff,
.auth-providers > .google-sign-in-alternative {
  margin: 0;
}
.auth-providers > .error {
  flex-basis: 100%;
}
.auth-providers > .error:empty {
  display: none;
}
button.wallet-sign-in-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 7px;
  border: 1px solid var(--field-line, var(--border, #747775));
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
button.wallet-sign-in-icon svg {
  width: 20px;
  height: 28px;
  fill: currentColor;
}
button.wallet-sign-in-icon:hover {
  background: var(--hover-bg, #8882);
}
button.wallet-sign-in-icon:focus-visible {
  outline: 2px solid var(--accent, #4285f4);
  outline-offset: 3px;
}
button.wallet-sign-in-icon:disabled {
  opacity: 0.65;
  cursor: wait;
}
