.quote-short-wrapper {
  width: 100%;
  color: #1c1c1c;
}

.quote-short-wrapper * {
  box-sizing: border-box;
}

.quote-short-step {
  display: none;
}

.quote-short-step.active {
  display: block;
}

.quote-short-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(220px, 1fr) minmax(190px, auto);
  gap: 34px;
  align-items: end;
}

.quote-short-field {
  min-width: 0;
}

.quote-short-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.quote-short-control {
  position: relative;
}

.quote-short-field input,
.quote-short-field select {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background-color: #fff;
  color: #060D17;
  font-size: 16px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) inset;
}

.quote-short-field select {
  padding-right: 42px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("img/icon-select-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  cursor: pointer;
}

/* .quote-short-field select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: url("img/icon-select-arrow.svg") center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
} */

.quote-short-field input::placeholder {
  color: #9a9a9a;
}

.quote-short-field input:focus,
.quote-short-field select:focus {
  border-color: #b4121b;
  outline: 2px solid rgba(180, 18, 27, 0.14);
  outline-offset: 0;
}

.quote-short-control.has-pin input {
  padding-right: 48px;
}

.quote-short-control.has-pin::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  background: url("img/icon-position.svg") center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.quote-short-action {
  min-width: 190px;
}

.quote-short-next,
.quote-short-submit,
.quote-short-back {
  min-height: 56px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.quote-short-next,
.quote-short-submit {
  width: 100%;
  padding: 0 24px;
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.quote-short-next span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.quote-short-next span::after {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.quote-short-next:hover,
.quote-short-submit:hover {
  background: #a90613;
}

.quote-short-next:active,
.quote-short-submit:active,
.quote-short-back:active {
  transform: translateY(1px);
}

.quote-short-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.quote-short-vehicle-section {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-short-contact-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e3e3e3;
}

.quote-short-footer {
  display: grid;
  grid-template-columns: 150px minmax(180px, 240px);
  gap: 14px;
  justify-content: end;
  margin-top: 24px;
}

.quote-short-back {
  width: 100%;
  padding: 0 20px;
  background: #dedede;
  color: #222;
}

.quote-short-back:hover {
  background: #cfcfcf;
}

.quote-short-message {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-left: 4px solid #CF0014;
  background: #fff1f2;
  color: #7a0b12;
  font-size: 14px;
}

.quote-short-message.visible {
  display: block;
}

@media screen and (max-width: 1024px) {
  .quote-short-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .quote-short-action {
    min-width: 0;
  }

  .quote-short-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-short-vehicle-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .quote-short-grid,
  .quote-short-details,
  .quote-short-footer {
    grid-template-columns: 1fr;
  }

  .quote-short-field label {
    font-size: 12px;
  }

  .quote-short-next,
  .quote-short-submit,
  .quote-short-back {
    min-height: 52px;
  }
}
