:root {
  --gcqo-blue: #0d2f55;
  --gcqo-orange: #f05a28;
  --gcqo-white: #fff;
  --gcqo-danger: #b42318;
}

.gcqo-open {
  clear: both;
  float: left;
  width: 100%;
  min-height: 52px;
  margin: 10px 0 0 !important;
  border: 0 !important;
  color: var(--gcqo-white) !important;
  background: var(--gcqo-orange) !important;
}

.gcqo-open:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.gcqo-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 20, 36, .75);
}

.gcqo-modal.is-open {
  display: flex;
}

body.gcqo-modal-open {
  overflow: hidden;
}

.gcqo-panel {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  border-radius: 16px;
  background: var(--gcqo-white);
  box-shadow: 0 18px 55px rgba(13, 47, 85, .25);
}

.gcqo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--gcqo-blue);
  background: #eef3f7;
  font-size: 28px;
}

.gcqo-kicker {
  margin: 0 44px 4px 0;
  color: var(--gcqo-orange);
  font-weight: 800;
}

.gcqo-panel h2 {
  margin: 0 40px 8px 0;
  color: var(--gcqo-blue);
}

.gcqo-panel label {
  display: block;
  margin: 14px 0 6px;
  color: var(--gcqo-blue);
  font-weight: 800;
}

.gcqo-panel input {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid #b8c6d4;
  border-radius: 9px;
  font-size: 17px;
}

.gcqo-panel input:focus {
  border-color: var(--gcqo-orange);
  box-shadow: 0 0 0 3px rgba(240, 90, 40, .15);
  outline: 0;
}

.gcqo-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--gcqo-danger);
  font-size: 13px;
}

.gcqo-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 8px !important;
  border: 0 !important;
  color: var(--gcqo-white) !important;
  background: var(--gcqo-orange) !important;
}

.gcqo-status {
  margin-top: 10px;
  color: var(--gcqo-danger);
  font-weight: 700;
}

.gcqo-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.gcqo-success {
  display: none;
  text-align: center;
}

.gcqo-success.is-visible {
  display: block;
}

.gcqo-success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  color: var(--gcqo-white);
  background: #08783e;
  font-size: 34px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .gcqo-open {
    float: none;
  }

  .gcqo-modal {
    align-items: flex-end;
    padding: 0;
  }

  .gcqo-panel {
    width: 100%;
    max-height: calc(100vh - 10px);
    padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
}
