.auto-calculator {
  margin: 0 auto;
  padding: 40px 0px;
  color: #333;
}
.auto-calculator * {
  box-sizing: border-box;
}
.auto-calculator .auto-calc-header {
  text-align: center;
  margin-bottom: 40px;
}
.auto-calculator .auto-calc-header h2 {
  font-size: 32px;
  color: #121622;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  font-weight: 800;
}
.auto-calculator .auto-calc-header p {
  color: #999;
  margin: 0;
  font-size: 14px;
}
.auto-calculator .auto-calc-body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .auto-calculator .auto-calc-body {
    flex-direction: column;
  }
}
.auto-calculator .auto-calc-left {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
}
@media (max-width: 768px) {
  .auto-calculator .auto-calc-left {
    padding: 16px;
  }
}
.auto-calculator .auto-calc-right {
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .auto-calculator .auto-calc-right {
    width: 100%;
  }
}
.auto-calculator .calc-group {
  margin-bottom: 30px;
}
.auto-calculator .calc-group .calc-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .auto-calculator .calc-group .calc-group-header {
    flex-wrap: wrap;
  }
}
.auto-calculator .calc-group .calc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #121622;
}
.auto-calculator .calc-group .calc-label svg {
  flex-shrink: 0;
}
.auto-calculator .calc-group .calc-input-wrapper {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.auto-calculator .calc-group .calc-input-wrapper .calc-input-text {
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: 700;
  color: #121622;
  text-align: right;
  width: 120px;
  background: transparent;
  padding: 0;
}
.auto-calculator .calc-group .calc-input-wrapper .calc-currency {
  font-size: 20px;
  font-weight: 700;
  color: #121622;
}
.auto-calculator .calc-group .calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}
.auto-calculator .calc-group .calc-footnote {
  font-size: 12px;
  color: #999;
  margin-top: 15px;
  line-height: 1.4;
}
.auto-calculator .calc-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #f2f3f5;
  border-radius: 3px;
  outline: none;
  margin: 10px 0;
}
.auto-calculator .calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #121622;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.auto-calculator .calc-range::-webkit-slider-thumb:hover {
  border-color: #b22222;
}
.auto-calculator .calc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #121622;
  cursor: pointer;
  transition: 0.2s;
}
.auto-calculator .calc-range::-moz-range-thumb:hover {
  border-color: #b22222;
}
.auto-calculator .calc-services-box {
  background: #f9f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #eaeaea;
}
.auto-calculator .calc-services-box .calc-services-header {
  margin-bottom: 15px;
}
.auto-calculator .calc-services-box .calc-services-header .calc-label {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .auto-calculator .calc-services-box .calc-services-header .calc-label {
    flex-wrap: wrap;
    font-size: 14px;
  }
}
.auto-calculator .calc-services-box .calc-services-header .calc-services-desc {
  font-size: 12px;
  color: #999;
  margin: 5px 0 0 24px;
}
.auto-calculator .calc-services-box .calc-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #eaeaea;
}
.auto-calculator .calc-services-box .calc-toggle-wrapper .calc-toggle-text {
  font-size: 13px;
  color: #555;
}
@media (max-width: 768px) {
  .auto-calculator .calc-services-box {
    padding: 10px;
  }
}
.auto-calculator .calc-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  min-width: 44px;
}
.auto-calculator .calc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.auto-calculator .calc-switch input:checked + .calc-slider-round {
  background-color: #121622;
}
.auto-calculator .calc-switch input:checked + .calc-slider-round:before {
  transform: translateX(20px);
}
.auto-calculator .calc-switch .calc-slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}
.auto-calculator .calc-switch .calc-slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.auto-calculator .calc-durations {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
@media (max-width: 480px) {
  .auto-calculator .calc-durations {
    flex-wrap: wrap;
  }
}
.auto-calculator .calc-durations .calc-duration-btn {
  flex: 1;
  cursor: pointer;
}
@media (max-width: 480px) {
  .auto-calculator .calc-durations .calc-duration-btn {
    flex: 1 1 30%;
  }
}
.auto-calculator .calc-durations .calc-duration-btn input {
  display: none;
}
.auto-calculator .calc-durations .calc-duration-btn input:checked + span {
  background: #b22222;
  color: #fff;
  border-color: #b22222;
}
.auto-calculator .calc-durations .calc-duration-btn input:checked + span small {
  color: rgba(255, 255, 255, 0.7);
}
.auto-calculator .calc-durations .calc-duration-btn span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 12px 5px;
  font-size: 18px;
  font-weight: 700;
  color: #121622;
  transition: 0.3s;
  background: #fff;
}
.auto-calculator .calc-durations .calc-duration-btn span small {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-top: 2px;
}
.auto-calculator .calc-durations .calc-duration-btn span:hover {
  border-color: #b22222;
}
.auto-calculator .calc-result-banner {
  color: #fff;
  padding: 32px;
  border-radius: 10px;
  text-align: left;
  background: linear-gradient(110.17deg, #2F1C1C 0%, #A5201C 69.71%, #691616 89.42%);
}
.auto-calculator .calc-result-banner .calc-result-title {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.auto-calculator .calc-result-banner .calc-result-price {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 5px;
}
.auto-calculator .calc-result-banner .calc-result-subtitle {
  font-size: 14px;
  opacity: 0.8;
}
.auto-calculator .calc-comparisons {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.auto-calculator .calc-comparisons .calc-comp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #121622;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.auto-calculator .calc-comparisons .calc-comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auto-calculator .calc-comparisons .calc-comp-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 10px;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
}
.auto-calculator .calc-comparisons .calc-comp-list li.active {
  background: rgba(178, 34, 34, 0.1);
  font-weight: 700;
  color: #b22222;
}
.auto-calculator .calc-comparisons .calc-comp-list li .comp-price {
  font-weight: 700;
}
.auto-calculator .calc-submit-btn {
  width: 100%;
  background: #b22222;
  color: #fff;
  border: none;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}
.auto-calculator .calc-submit-btn:hover {
  background: #871a1a;
}
.calc-tooltip {
  position: relative;
  cursor: pointer;
  display: inline-flex;
}
.calc-tooltip:hover::after {
  content: attr(data-title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #121622;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 5px;
  z-index: 10;
  font-weight: normal;
  min-width: 320px;
  max-width: 320px;
}
@media (max-width: 768px) {
  .calc-tooltip:hover::after {
    left: 0;
    transform: translateX(0px);
    min-width: 280px;
    max-width: 280px;
  }
}
@media (max-width: 768px) {
  .calc-tooltip {
    position: static !important;
  }
  .auto-calculator .calc-group, .calc-services-box {
    position: relative;
  }
}
.remodal {
  padding: 30px !important;
  border-radius: 10px;
}
@media (max-width: 960px) {
  .remodal {
    padding: 20px !important;
  }
}
.remodal .remodal-close-btn {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border: 2px solid #000;
  background: #b22222;
  border-radius: 50%;
  font-size: 0;
}
.remodal .remodal-close-btn:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  top: 50%;
  left: 50%;
  margin-top: -2px;
  margin-left: -10px;
  transform: rotate(-45deg);
  background-color: #fff;
}
.remodal .remodal-close-btn:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  top: 50%;
  left: 50%;
  margin-top: -2px;
  margin-left: -10px;
  transform: rotate(45deg);
  background-color: #fff;
}
@media (max-width: 960px) {
  .remodal .remodal-close-btn {
    right: 10px;
    top: 10px;
  }
}
.remodal .tpl-anketa .tpl-anketa__title {
  font-size: 28px;
  font-weight: bold;
}
.remodal .tpl-anketa .tpl-anketa__right form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field input, .remodal .tpl-anketa .tpl-anketa__right form .tpl-field textarea {
  border-radius: 10px;
  box-shadow: none;
  border: 2px solid #000;
  padding: 10px;
  width: 100%;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field input::placeholder, .remodal .tpl-anketa .tpl-anketa__right form .tpl-field textarea::placeholder {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field input:focus::placeholder, .remodal .tpl-anketa .tpl-anketa__right form .tpl-field textarea:focus::placeholder {
  transform: translateX(-100%);
  opacity: 0;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field .tpl-form-button {
  width: 100%;
  background: #b22222;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  border-radius: 10px;
  box-shadow: none;
  border: 2px solid #000;
  transition: 0.3s;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field .tpl-form-button:hover {
  background: #871a1a;
  border: 2px solid #871a1a;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field.field-error input {
  border: 2px solid red;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field ul label {
  display: flex;
  align-items: flex-start;
}
.remodal .tpl-anketa .tpl-anketa__right form .tpl-field ul label input {
  width: auto;
}
.remodal .tpl-anketa .tpl-anketa__right .tpl-anketa-success-note {
  font-size: 28px;
  font-weight: bold;
}
