/* Google's standard "Sign in with Google" button, at its normal size, in the admin's light and dark themes */
:root {
  --google-button-bg: #ffffff;
  --google-button-border: #747775;
  --google-button-fg: #1f1f1f;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --google-button-bg: #131314;
    --google-button-border: #8e918f;
    --google-button-fg: #e3e3e3;
  }
}

html[data-theme="dark"] {
  --google-button-bg: #131314;
  --google-button-border: #8e918f;
  --google-button-fg: #e3e3e3;
}

.google-login {
  text-align: center;
  margin-bottom: 8px;
}

.google-login a.google-button,
.google-login a.google-button:link,
.google-login a.google-button:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid var(--google-button-border);
  border-radius: 4px;
  background: var(--google-button-bg);
  color: var(--google-button-fg);
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-decoration: none;
  white-space: nowrap;
}

.google-login a.google-button:hover {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.google-login a.google-button:focus-visible {
  outline: 2px solid var(--google-button-border);
  outline-offset: 2px;
}

.google-login .google-logo {
  width: 20px;
  height: 20px;
}

.google-or {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--body-quiet-color);
  font-size: 0.8125rem;
}

.google-or::before,
.google-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--hairline-color);
}
