/* Centering the button in the grey box */
.um-google-user-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 80% !important;
  height: 1px !important;
  background-color: #ccc !important;
}

.um-google-user-button > div,
.um-google-user-button .nsl-container,
.um-google-user-button .nsl-container-buttons,
.um-google-user-button .nsl-container-buttons > a,
.google-user-button {
  width: 100% !important;
  max-width: var(--form-element-width) !important;
}

.um-google-user-button {
  position: relative !important;
  margin-top: 30px !important;
  padding-top: 30px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100% !important;
  margin: 0 auto;
  max-width: var(--form-element-width) !important;
}

.google-user-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 48px;
  padding: 0 16px;
  background-color: #ffffff;
  color: #6a6a6a;
  border: var(--button-border);
  border-radius: var(--border-radius-rounded);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--border-transition);
  position: relative;
}

.google-user-button:hover {
  border-color: var(--button-border-hover-color);
}

.google-icon-wrapper {
  position: absolute;
  left: 16px; /* Moved icon more to the right */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.google-user-button .button-text {
  flex-grow: 1;
  text-align: center;
  padding-left: 24px;
}
