.wcsa-wrap {
  margin: 14px 0;
}

.wcsa-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wcsa-provider {
  width: 100%;
}

.wcsa-align-left {
  text-align: left;
}

.wcsa-align-center {
  text-align: center;
}

.wcsa-align-right {
  text-align: right;
}

.wcsa-align-full {
  text-align: left;
}

.wcsa-google-custom {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 420px);
  min-height: 44px;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: #1f1f1f;
  overflow: hidden;
  cursor: pointer;
}

.wcsa-google-custom.wcsa-full,
.wcsa-align-full .wcsa-google-custom {
  width: 100%;
}

.wcsa-align-left .wcsa-google-custom.wcsa-full {
  justify-content: flex-start;
}

.wcsa-align-right .wcsa-google-custom.wcsa-full {
  justify-content: flex-end;
}

.wcsa-google-outline {
  background: #fff;
  color: #1f1f1f;
  border-color: #d2d2d7;
}

.wcsa-google-filled_blue {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}

.wcsa-google-filled_black {
  background: #111;
  color: #fff;
  border-color: #111;
}

.wcsa-google-label,
.wcsa-google-icon,
.wcsa-google-spacer {
  pointer-events: none;
}

.wcsa-google-label {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}

.wcsa-google-icon,
.wcsa-google-spacer {
  width: 18px;
  height: 18px;
}

.wcsa-google-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.wcsa-google-custom.wcsa-size-small {
  min-height: 36px;
  padding: 8px 12px;
}

.wcsa-google-custom.wcsa-size-small .wcsa-google-label {
  font-size: 13px;
}

.wcsa-google-custom.wcsa-size-medium {
  min-height: 42px;
  padding: 10px 14px;
}

.wcsa-google-custom.wcsa-size-medium .wcsa-google-label {
  font-size: 14px;
}

.wcsa-google-custom.wcsa-size-large {
  min-height: 48px;
  padding: 12px 16px;
}

.wcsa-google-custom.wcsa-size-large .wcsa-google-label {
  font-size: 15px;
}

.wcsa-google-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.02;
}

.wcsa-google-button > div,
.wcsa-google-button iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}

.wcsa-google-custom:focus-within {
  outline: 2px solid #0b57d0;
  outline-offset: 2px;
}

.wcsa-message {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.wcsa-message-error {
  background: #fff2f2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}

.wcsa-provider.is-loading,
.wcsa-google-custom.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.wcsa-google.is-loading .wcsa-google-custom {
  opacity: 0.7;
}

@media (max-width: 480px) {
  .wcsa-buttons {
    gap: 8px;
  }

  .wcsa-google-custom {
    width: min(100%, 280px);
    min-height: 42px;
    padding: 10px 12px;
  }

  .wcsa-google-label {
    font-size: 14px;
  }

  .wcsa-google-custom {
    max-width: 100%;
  }

  .wcsa-google-custom.wcsa-full,
  .wcsa-align-full .wcsa-google-custom {
    width: 100%;
  }

  .wcsa-google-button > div,
  .wcsa-google-button iframe {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
