.gsg-callback-lock {
  overflow: hidden !important;
}

.gsg-callback[hidden] {
  display: none !important;
}

.gsg-callback {
  position: fixed;
  inset: 0;
  z-index: 11050;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.gsg-callback__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 52, 0.7);
}

.gsg-callback__dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(720px, calc(100dvh - 48px));
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(13, 27, 52, 0.24);
  color: #172033;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.gsg-callback--visible .gsg-callback__dialog {
  transform: translateY(0);
  opacity: 1;
}

.gsg-callback__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f4f7;
  color: #40516a;
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.gsg-callback__close:hover,
.gsg-callback__close:focus-visible {
  background: #e3e9ef;
  color: #172033;
}

.gsg-callback__eyebrow {
  margin: 0 42px 8px 0;
  color: #0063a7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.gsg-callback__title {
  margin: 0 42px 8px 0;
  color: #14233a;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: 0;
}

.gsg-callback__intro {
  margin: 0 0 18px;
  color: #5d6c82;
  font-size: 15px;
  line-height: 1.5;
}

.gsg-callback__topic {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 3px solid #1672b8;
  background: #eef5fb;
  color: #2e415c;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.gsg-callback__topic strong {
  display: block;
  margin-bottom: 2px;
  color: #14233a;
  font-size: 12px;
  text-transform: uppercase;
}

.gsg-callback__field {
  display: block;
  margin-bottom: 16px;
}

.gsg-callback__label {
  display: block;
  margin-bottom: 7px;
  color: #26364d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.gsg-callback__required {
  color: #c9252d;
}

.gsg-callback__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #aebdcc;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  outline: none;
}

.gsg-callback__input::placeholder {
  color: #8b98aa;
}

.gsg-callback__input:focus {
  border-color: #0a68aa;
  box-shadow: 0 0 0 3px rgba(10, 104, 170, 0.15);
}

.gsg-callback__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.gsg-callback__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #cf252b;
  box-shadow: 0 4px 0 #9f1d22;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.gsg-callback__submit:hover {
  background: #b91f25;
}

.gsg-callback__submit:focus-visible {
  outline: 3px solid rgba(10, 104, 170, 0.3);
  outline-offset: 3px;
}

.gsg-callback__submit:disabled {
  box-shadow: none;
  cursor: wait;
  opacity: 0.7;
}

.gsg-callback__legal {
  margin: 14px 0 0;
  color: #6b7789;
  font-size: 12px;
  line-height: 1.45;
}

.gsg-callback__legal a {
  color: #075f9f;
  text-underline-offset: 2px;
}

.gsg-callback__status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.gsg-callback__status--error {
  color: #a51f26;
}

.gsg-callback__status--success {
  padding: 12px 14px;
  border-left: 3px solid #23854a;
  background: #eef8f2;
  color: #1c6238;
}

[data-open-callback] {
  appearance: none;
  font-family: inherit;
}

#kzSheet button.kzs-cta {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 520px) {
  .gsg-callback {
    align-items: end;
    padding: 12px;
  }

  .gsg-callback__dialog {
    width: 100%;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
    padding: 24px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .gsg-callback__title {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gsg-callback__dialog {
    transition: none;
  }
}
