.bp-shogird-open {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  max-width: 178px;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.bp-shogird-open--desktop {
  order: 3;
}

.bp-shogird-open:hover {
  background: #0074e8;
  transform: translateY(-1px);
}

.bp-shogird-open--mobile {
  width: 100%;
  min-height: 48px;
  margin: 16px 0 2px;
}

.bp-shogird-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0s linear 0.24s;
}

.bp-shogird-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.bp-shogird-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.66);
  backdrop-filter: blur(8px);
}

.bp-shogird-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 38px;
  border-radius: 20px;
  background: #151515;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.24s ease;
}

.bp-shogird-modal.is-open .bp-shogird-dialog {
  transform: translateY(0) scale(1);
}

.bp-shogird-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.bp-shogird-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.bp-shogird-back {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b7b7b7;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bp-shogird-step {
  display: none;
}

.bp-shogird-step.is-active {
  display: block;
}

.bp-shogird-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.bp-shogird-subtitle {
  margin: 0 0 28px;
  color: #b7b7b7;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.bp-shogird-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bp-shogird-choice {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.bp-shogird-choice:hover {
  border-color: #0074e8;
  background: rgba(0, 116, 232, 0.2);
  transform: translateY(-1px);
}

.bp-shogird-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.bp-shogird-field span {
  color: #b7b7b7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-shogird-field input,
.bp-shogird-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: 0;
}

.bp-shogird-field textarea {
  min-height: 96px;
  resize: vertical;
}

.bp-shogird-field input:focus,
.bp-shogird-field textarea:focus {
  border-color: #0074e8;
  background: rgba(255, 255, 255, 0.11);
}

.bp-shogird-field input.is-error,
.bp-shogird-field textarea.is-error {
  border-color: #ff5d5d;
}

.bp-shogird-submit,
.bp-shogird-secondary {
  min-height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.bp-shogird-submit {
  margin-top: 4px;
  background: #0074e8;
  color: #fff;
}

.bp-shogird-submit:hover {
  background: #005ec0;
}

.bp-shogird-secondary {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.bp-shogird-success {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #0074e8;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

@media (max-width: 1400px) {
  .bp-shogird-open {
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
    max-width: 148px;
  }
}

@media (max-width: 1180px) {
  .bp-shogird-open {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 1120px) {
  .bp-shogird-open--desktop {
    display: none;
  }

  .bp-shogird-dialog {
    padding: 34px 22px 24px;
    border-radius: 16px;
  }

  .bp-shogird-title {
    font-size: 21px;
  }

  .bp-shogird-choices {
    grid-template-columns: 1fr;
  }
}
