.twtqedu-google-auth {
  display: grid;
  gap: 11px;
  margin: 4px 0 2px;
  width: 100%;
}

.twtqedu-google-button {
  background: #202124;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  height: 40px;
  isolation: isolate;
  min-height: 40px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: min(100%, 320px);
}

.twtqedu-google-button::before {
  align-items: center;
  animation: twtqedu-google-loading 1.3s ease-in-out infinite;
  background: linear-gradient(100deg, #171a20 20%, #252a32 48%, #171a20 76%);
  background-size: 240% 100%;
  color: #aeb7c7;
  content: 'Loading sign-in\2026';
  display: flex;
  font: 700 10px/1 var(--mono, ui-monospace, monospace);
  inset: 0;
  justify-content: center;
  letter-spacing: .14em;
  box-shadow: inset 0 0 0 1px #3c4043;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transition: opacity 120ms ease-out, visibility 0s linear 120ms;
  z-index: 2;
}

.twtqedu-google-button > div {
  margin-inline: auto;
  opacity: 0;
  transition: opacity 120ms ease-out;
}

.twtqedu-google-button[data-ready='true']::before {
  animation: none;
  opacity: 0;
  visibility: hidden;
}

.twtqedu-google-button[data-ready='true'] > div {
  opacity: 1;
}

.twtqedu-google-button[data-error='true']::before {
  animation: none;
  background: #171a20;
  color: #ff9aac;
  content: 'Sign-in unavailable';
}

@keyframes twtqedu-google-loading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.twtqedu-google-divider {
  align-items: center;
  color: #74819a;
  display: grid;
  font: 700 10px/1 var(--mono, ui-monospace, monospace);
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.twtqedu-google-divider::before,
.twtqedu-google-divider::after {
  background: #253044;
  content: '';
  height: 1px;
}

.twtqedu-google-status {
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.45;
  margin: -2px auto 0;
  max-width: 320px;
  text-align: center;
}

.twtqedu-google-status[data-error='true'] {
  color: #ff9aac;
}

.twtqedu-support-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.twtqedu-support-status {
  color: #8ee8bd;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.twtqedu-support-status[data-error='true'] {
  color: #ff9aac;
}

.support-form button[type='submit'][disabled] {
  cursor: wait;
  opacity: .72;
}

@media (max-width: 520px) {
  .twtqedu-google-button {
    width: min(100%, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .twtqedu-google-button::before {
    animation: none;
  }

  .twtqedu-google-button::before,
  .twtqedu-google-button > div {
    transition: none;
  }
}
