.order-brief-modal {
  color: #211a2e;
  padding-right: 0 !important;
}

.order-brief-modal .order-brief-modal__dialog {
  width: 960px;
  max-width: calc(100vw - 40px);
  margin: 28px auto;
}

.order-brief-modal .order-brief-modal__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 610px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 8, 27, 0.35);
}

.order-brief-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #4c4557;
  font: 34px/36px Arial, sans-serif;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.order-brief-modal__close:hover,
.order-brief-modal__close:focus {
  color: #fff;
  background: #ea0000;
  outline: none;
}

.order-brief-modal__rail {
  position: relative;
  width: 220px;
  -ms-flex: 0 0 220px;
  flex: 0 0 220px;
  padding: 48px 30px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #382167 0%, #24173f 62%, #17101f 100%);
}

.order-brief-modal__rail::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: 70px;
  width: 210px;
  height: 12px;
  background: #ea0000;
  -webkit-transform: rotate(-48deg);
  transform: rotate(-48deg);
  opacity: 0.9;
}

.order-brief-modal__rail span,
.order-brief-modal__rail strong {
  position: relative;
  z-index: 1;
  display: block;
}

.order-brief-modal__rail span {
  margin-bottom: 18px;
  color: #ef2d2d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.order-brief-modal__rail strong {
  max-width: 150px;
  font-size: 29px;
  line-height: 1.12;
}

.order-brief-modal__main {
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  max-height: calc(100vh - 56px);
  padding: 40px 54px 44px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.order-brief-progress {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 50px 35px 0;
}

.order-brief-progress__step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #8a8492;
}

.order-brief-progress__step > span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 1px solid #d9d5df;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}

.order-brief-progress__step strong,
.order-brief-progress__step small {
  display: block;
}

.order-brief-progress__step strong {
  color: inherit;
  font-size: 14px;
}

.order-brief-progress__step small {
  margin-top: 2px;
  color: #9b95a3;
  font-size: 11px;
}

.order-brief-progress__step.is-active,
.order-brief-progress__step.is-complete {
  color: #382167;
}

.order-brief-progress__step.is-active > span,
.order-brief-progress__step.is-complete > span {
  border-color: #382167;
  color: #fff;
  background: #382167;
}

.order-brief-progress__step.is-complete > span {
  border-color: #ea0000;
  background: #ea0000;
}

.order-brief-progress__line {
  position: relative;
  width: 80px;
  height: 2px;
  margin: 0 18px;
  overflow: hidden;
  background: #e4e0e7;
}

.order-brief-progress__line i {
  display: block;
  width: 0;
  height: 100%;
  background: #ea0000;
  -webkit-transition: width 0.25s ease;
  transition: width 0.25s ease;
}

.order-brief-progress.is-step-two .order-brief-progress__line i,
.order-brief-progress.is-complete .order-brief-progress__line i {
  width: 100%;
}

.order-brief-step[hidden] {
  display: none !important;
}

.order-brief-modal__eyebrow {
  margin: 0 0 9px;
  color: #ea0000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-brief-step h2 {
  margin: 0;
  color: #211a2e;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.order-brief-modal__lead {
  max-width: 640px;
  margin: 13px 0 28px;
  color: #716b79;
  font-size: 15px;
  line-height: 1.55;
}

.order-brief-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.order-brief-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #332d3b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.order-brief-field--wide,
.order-brief-field--channels,
.order-brief-field--contact {
  grid-column: 1 / -1;
}

.order-brief-field > span,
.order-brief-field > legend {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
}

.order-brief-field b {
  color: #ea0000;
}

.order-brief-field input[type='text'],
.order-brief-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d9d5df;
  border-radius: 8px;
  outline: none;
  color: #211a2e;
  background: #fff;
  font: 400 15px/1.45 Arial, sans-serif;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-brief-field textarea {
  min-height: 94px;
  resize: vertical;
}

.order-brief-field input[type='text']:focus,
.order-brief-field textarea:focus {
  border-color: #6d53a0;
  box-shadow: 0 0 0 3px rgba(56, 33, 103, 0.1);
}

.order-brief-field.is-invalid input,
.order-brief-field.is-invalid textarea {
  border-color: #d72626;
  box-shadow: 0 0 0 3px rgba(215, 38, 38, 0.08);
}

.order-brief-field small {
  display: block;
  margin-top: 8px;
  color: #8a8492;
  font-size: 12px;
  font-weight: 400;
}

.order-brief-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}

.order-brief-options label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.order-brief-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.order-brief-options span {
  display: block;
  padding: 9px 14px;
  border: 1px solid #d9d5df;
  border-radius: 999px;
  color: #625b6b;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.order-brief-options input:checked + span {
  border-color: #382167;
  color: #fff;
  background: #382167;
}

.order-brief-options input:focus + span {
  box-shadow: 0 0 0 3px rgba(56, 33, 103, 0.16);
}

.order-brief-status {
  min-height: 22px;
  margin-top: 16px;
  color: #c42121;
  font-size: 13px;
  line-height: 1.45;
}

.order-brief-status.is-success {
  color: #24713d;
}

.order-brief-submit {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-height: 50px;
  margin-top: 4px;
  padding: 0 22px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 25px;
  color: #fff;
  background: #ea0000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, opacity 0.2s ease;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.order-brief-submit i {
  margin-left: 14px;
  font-size: 20px;
  font-style: normal;
}

.order-brief-submit:hover,
.order-brief-submit:focus {
  background: #bd0000;
  outline: none;
}

.order-brief-submit[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.order-brief-submit--secondary {
  color: #382167;
  background: #ece8f2;
}

.order-brief-submit--secondary:hover,
.order-brief-submit--secondary:focus {
  color: #fff;
  background: #382167;
}

.order-brief-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.order-brief-success {
  padding: 70px 0 30px;
  text-align: center;
}

.order-brief-success__mark {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #2f8a4c;
  font-size: 30px;
}

.order-brief-success .order-brief-modal__lead {
  margin-right: auto;
  margin-left: auto;
}

.order-brief-fallback-open {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(10, 6, 18, 0.74);
}

@media (max-width: 820px) {
  .order-brief-modal__rail {
    width: 165px;
    -ms-flex-preferred-size: 165px;
    flex-basis: 165px;
    padding: 42px 22px;
  }

  .order-brief-modal__rail strong {
    font-size: 23px;
  }

  .order-brief-modal__main {
    padding: 36px 34px 40px;
  }
}

@media (max-width: 700px) {
  .order-brief-modal .order-brief-modal__dialog {
    width: 100%;
    max-width: none;
    min-height: 100%;
    margin: 0;
  }

  .order-brief-modal .order-brief-modal__content {
    min-height: 100vh;
    border-radius: 0;
  }

  .order-brief-modal__rail {
    display: none;
  }

  .order-brief-modal__main {
    max-height: none;
    padding: 28px 20px 36px;
  }

  .order-brief-progress {
    margin-right: 42px;
    margin-bottom: 28px;
  }

  .order-brief-step h2 {
    padding-right: 22px;
    font-size: 28px;
  }

  .order-brief-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .order-brief-field--wide,
  .order-brief-field--channels,
  .order-brief-field--contact {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .order-brief-modal__main {
    padding-right: 15px;
    padding-left: 15px;
  }

  .order-brief-progress__step small {
    display: none;
  }

  .order-brief-progress__line {
    width: 32px;
    margin: 0 9px;
  }

  .order-brief-step h2 {
    font-size: 25px;
  }

  .order-brief-modal__lead {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .order-brief-submit {
    width: 100%;
  }
}
