.social-signin-stack {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.social-auth-button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  box-shadow: none;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease;
}

.gsi-button-container,
.gsi-button-container > div,
.gsi-button-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

dialog.login-dialog-modal {
  width: min(440px, calc(100% - 1rem)) !important;
  max-width: calc(100% - 1rem) !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
}

dialog.login-dialog-modal .auth-form-inline-row {
  min-width: 0;
  flex-wrap: wrap;
}

@media (max-width: 420px) {
  dialog.login-dialog-modal {
    padding-inline: 1rem !important;
  }

  dialog.login-dialog-modal .auth-form-inline-row {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.6rem;
  }
}

.social-auth-button svg {
  display: block;
  flex: 0 0 auto;
}

.social-auth-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.social-auth-button-google {
  background: #fff;
  border: 1px solid #d7dce1;
  color: #263238;
  border-radius: 8px;
}

.social-auth-button-google:hover {
  background: #f7f9fb;
  border-color: #bcc5cd;
}

.social-auth-button-apple {
  background: #050505;
  border: 1px solid #050505;
  color: #fff;
}

.social-auth-button-apple:hover {
  background: #202020;
  border-color: #202020;
}

.social-auth-button:focus-visible {
  outline: 2px solid rgba(30, 167, 255, 0.72);
  outline-offset: 2px;
}
