@import url(https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic);

/**
ELEMENTS
 */

body {
  font-family: "Segoe UI","Roboto",sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}

.icon_star {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 -1px;
  background: url(/img/star.png) 0 0 no-repeat;
}

.icon_star_outline {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 -1px;
  background: url(/img/star_outline.png) 0 0 no-repeat;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 16px;
  border: 0;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  box-shadow: 0 1px 5px rgba(0,0,0,.24);
  text-align: center;
  font-size: 18px;
  letter-spacing: -0.4px;
}

.primary_btn {
  color: #fff;
  background: #e06816;
  font-weight: 500;
}

.primary_btn:hover {
  background: #ba5e15;
}

.cta_btn {
  color: #fff;
  background: #ffad05;
  font-weight: 600;
  letter-spacing: 0;
  min-width: 120px;
}

.cta_btn:hover {
  background: #FFCF6E;
}

/**
TOPBAR
 */

.topbar {
  width: 100%;
  padding: 10px 0;
  background: #f6f8f9;
  font-size: 13px;
  color: #67809d;
  position: relative;
  z-index: 1;
}

.topbar_left {
  display: inline-block;
  float: left;
}

.topbar_left a {
  text-decoration: none;
  border-bottom: 1px dotted #878f94;
  color: #67809d;
}

.topbar_right {
  display: inline-block;
  float:right;
}


/**
HEADER
 */

.header {
  margin: 25px 0;
  position: relative;
}

.logo {
  display: inline-block;
  float: left;
}

.logo img {
  height: 50px;
}

.banner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border: 2px solid #fff;
  width: 472px;
  background: #ddd;
}

.header_cta {
  display: inline-block;
  float: right;
}

/**
RECOMMEND
 */

.recommend {
  width: 100%;
  color: #fff;
  margin-top: 13px;
  padding: 20px 16px; /* Увеличен padding для большего пространства */
  text-align: center;
  font-size: 14px; /* Увеличен размер шрифта для лучшей читаемости */
  font-weight: bold; /* Акцент на тексте */
  background: linear-gradient(90deg, #2E8D2B, #3CA84C); /* Градиентный фон для современного эффекта */
  z-index: 1;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Лёгкая тень для объёма */
  border-radius: 8px; /* Закруглённые углы для современного дизайна */
}

.recommend .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto; /* Центровка содержимого */
}

.recommend .container:before {
  content: url(/img/cash.png);
  position: absolute;
  left: 10px; /* Отступ от левого края */
  bottom: -20px; /* Корректировка положения */
  width: 60px; /* Уменьшен размер для аккуратности */
  height: auto; /* Сохранение пропорций */
  opacity: 0.8; /* Лёгкая прозрачность */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Плавный эффект при наведении */
}

.recommend:hover .container:before {
  transform: scale(1.1); /* Увеличение иконки при наведении */
  opacity: 1; /* Увеличение видимости */
}

.recommend_text {
  line-height: 1.6; /* Увеличено межстрочное расстояние */
  letter-spacing: 0.5px; /* Пространство между буквами */
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
  .recommend {
    font-size: 12px; /* Уменьшен шрифт для планшетов */
    padding: 15px 10px; /* Уменьшен padding для компактности */
  }

  .recommend .container:before {
    width: 50px; /* Меньше иконка для планшетов */
    left: 5px;
    bottom: -15px;
  }

  .recommend_text {
    font-size: 12px; /* Пропорциональное уменьшение текста */
  }
}

@media (max-width: 480px) {
  .recommend {
    font-size: 11px; /* Уменьшен шрифт для телефонов */
    padding: 12px 8px; /* Минимальный padding */
  }

  .recommend .container:before {
    width: 40px; /* Ещё меньше иконка */
    bottom: -10px;
  }

  .recommend_text {
    font-size: 11px; /* Пропорциональное уменьшение текста */
  }
}

/**
MAIN
 */

.main {
  position: relative;
  background: #f5f5f5;
  min-height: 600px;
}

.main-content {
  min-height: 400px;
  color: darkgrey;
  float: left;
  width: 100%;
  /*width: calc(100% - 330px);*/
}

.main-top {
  font-size: 18px;
  font-weight: 500;
  color: #5e5d5f;
  margin: 25px 0;
}

.main-top>div:nth-child(1) {
  float: left;
}

.main-top>div:nth-child(2) {
  float: right;
}

/**
SIDEBAR
 */


.sidebar-sticky {
  float: right;
  width: 300px;
  color: #ffbdbd;
  will-change: min-height;
}

.sidebar {
  display: block;
  position: relative;
  transform: translate(0, 0);
  transform: translate3d(0, 0, 0);
  will-change: position, transform;
}

.sidebar__inner {
  display: block;
  padding: 20px;
  top: 75px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,.24);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.credit_calc {

}

.credit_calc * {
  outline: 0;
}

.credit_calc_row {
  margin-bottom: 35px;
}

.credit_calc_row.calc_term .calc_sum_value {
  width: 32px;
  padding: 0 40px 0 8px;
}

.calc_sum {

}

.calc_sum_label {
  font-weight: 700;
  color: #333;
  font-size: 20px;
  line-height: 31px;
  height: 44px;
  white-space: nowrap;
}

.calc_sum_value {
  float: right;
  width: 70px;
  position: relative;
  background-color: #f7f7f7;
  padding: 0 32px 0 8px;
  line-height: 0;
  border-radius: 4px 4px 4px 4px;
  -webkit-border-radius: 4px 4px 4px 4px;
  border: 1px solid #ddd;
}

.calc_sum_value_suffix {
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  color: #b8b8b8;
  position: absolute;
  top: 13px;
  right: 5px;
  pointer-events: none;
}

.calc_sum_value_input {
  font-size: 24px;
  line-height: 34px;
  height: 34px;
  position: relative;
  z-index: 2;
  color: #333;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
  width: 100%;
  font-weight: 700;
  text-align: right;
}


/**
FOOTER
 */

.footer {
  text-align: center;
  background-color: #303B2D;
  padding: 25px 0 20px 0;
  color: #cdcdcd;
}

.copyrights {
  color: #fff;
  margin-top: 20px;
}

/*
OFFER
 */

.unavailable {
  background-color: #f9f2d8;
  text-align: center;
  padding: 10px 25px;
  font-weight: 500;
  color: #5a5a5a;
  margin: 30px 0;
  font-size: 16px;
}

.offer {
  display: block;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  margin-bottom: 25px;
  padding: 25px 25px 15px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.offer.feature {
  border-top: 5px solid;
}

.offer_feature {
  position: absolute;
  z-index: 999;
  left: 0;
  top: -14px;
  font-size: 15px;
  color: white;
  font-weight: 500;
}

.offer_feature span {
  padding: 5px 12px;
  box-shadow: 0 1px 5px rgba(0,0,0,.24);
  border-radius: 3px;
}

.offer_logo {
  display: inline-block;
  width: 135px;
  vertical-align: middle;
}

.offer_logo_con {
  min-height: 70px;
  line-height: 70px;
}

.offer_logo img {
  vertical-align: middle;
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.offer_logo img:hover {
  transform: scale(1.05);
}

.offer_rating {
  text-align: center;
  margin-top: 10px;
}

.offer_rating_stars {
  position: relative;
  height: 14px;
  width: 90px;
  text-align: left;
  display: inline-block;
}

.offer_rating_stars_icons,
.offer_rating_stars_icons_outline {
  height: 16px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.offer_rating_text {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
}

.offer_info {
  display: inline-block;
  width: calc(100% - 140px);
  vertical-align: middle;
}

.offer_info_con {
  display: inline-block;
  width: calc(100% - 222px);
  padding-left: 20px;
  vertical-align: middle;
}

.offer_money {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offer_money > div {
  min-width: 160px;
}

.offer_money>div:nth-child(1),
.offer_conditions>div:nth-child(1) {
  flex-grow: 1;
}

.offer_conditions {
  border-top: 1px dashed #ccc;
  padding-top: 15px;
}

.offer_money>div,
.offer_conditions>div {
  display: inline-block;
  margin-right: 10px;
}

/*.offer_money>div:nth-child(1),
.offer_conditions>div:nth-child(1) {
  width: 140px;
  padding-left: 12px;
}*/

.offer_money>div .value {
  font-weight: 700;
  word-spacing: -3.5px;
}

.offer_money>div:nth-child(1) .value {
  color: #e06816;
  font-weight: 900;
}

.offer_money>div:nth-child(1) .value::after {
  color: #485a7e;
  content: '=';
  font-size: 20px;
  font-weight: 100;
  position: absolute;
  right: 10px;
  top: 7px;
}

/*.offer_money>div:nth-child(2),
.offer_conditions>div:nth-child(2) {
  width: calc(100% - 283px);
}*/

.offer_money>div:nth-child(2) .value::after {
  color: #485a7e;
  content: '+';
  font-size: 20px;
  font-weight: 100;
  position: absolute;
  right: 10px;
  top: 7px;
}

.offer_money>div:nth-child(3),
.offer_conditions>div:nth-child(3) {
  width: 118px;
}

.offer_money .label,
.offer_conditions .label {
  display: block;
  margin-bottom: 5px;
  line-height: 1;
  font-size: 15px;
  color: #5e5d5f;
  font-weight: 100;
}

.offer_money .value,
.offer_conditions .value {
  color: #485a7e;
  font-size: 28px;
  font-weight: 600;
  position: relative;
}

.offer_conditions .value {
  font-size: 18px;
}

.offer_money .value small,
.offer_conditions .value small {
  font-size: 16px;
  font-weight: 400;
}

.fee_days {
  font-weight: 600;
  margin-right: -3px;
}

.offer_open {
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
}



/**
NOTIFY
 */

.notifications {
  position: relative;
  top: 140px;
}

.notify {
  position: relative;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  top: 0;
  opacity: 100;
  margin-bottom: 20px;
  min-width: 200px;
  padding: 10px;
  background: #ebf7fd;
  border: 1px solid rgba(0,0,0,0.1);
  color: #2d7091;
  border-radius: 5px;
}

.notify.animate {
 top: 20px;
}

.notify_cards {
  display: inline-block;
  width: 50px;
  margin-right: 10px;
  height: 81px;
  background: url(/img/vm.png);
  vertical-align: middle;
}

.notify_text {
  font-size: 16px;
  line-height: 20px;
  width: 200px;
  vertical-align: middle;
  display: inline-block;
}

.notify_close {
  
}

.popup_bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: .8;
  filter: alpha(opacity=80);
}

.popup_container {
  position: fixed;
  z-index: 1043;
  width: 100%;
  height: 100%;
}

.popup_body {
  display: none;
}

.popup_container .popup_body {
  display: block;
  height: 100%;
  width: 100%;
  vertical-align: middle;
}

.popup_container .popup_body img {
  height: 100%;
  max-height: 480px;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  position: absolute;
}

.popup_close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 11111;
  width: 60px;
  height: 60px;
}

.popup_close:before {
  position: absolute;
  content: '';
  display: inline-block;
  top: 30px;
  right: 10px;
  background: #ddd;
  width: 36px;
  height: 1px;
  transform: rotate(45deg);
  box-shadow: -1px 1px 0px 0px #7b7b7b;
}

.popup_close:after {
  position: absolute;
  content: '';
  display: inline-block;
  top: 30px;
  right: 10px;
  background: #ddd;
  width: 36px;
  height: 1px;
  transform: rotate(-45deg);
  box-shadow: -1px -1px 0px 0px #7b7b7b;
}


/**
MEDIA
 */
@media (max-width: 1199px) {
  .offer_open {
    float: right;
    margin: 10px 0 5px;
  }
  .offer_info_con {
    width: calc(100% - 20px);
  }
}

@media (max-width: 991px) {
 .banner {
   display: none;
 }
  .offer_info {
    width: 100%;
  }
  .offer_logo {
    width: 100%;
  }
  .offer_logo_con {
    display: inline-block;
    width: 50%;
  }
  .offer_rating {
    display: inline-block;
    width: 48%;
  }
  .offer_open {
    width: 100%;
    text-align: center;
    margin: 20px 0 10px;
  }
  .offer_open .btn {
    width: calc(100% - 100px);
  }
  .main-top {
    text-align: center;
  }
  .main-top>div:nth-child(1) {
    float: none;
  }

  .main-top>div:nth-child(2) {
    float: none;
  }
  .sidebar__inner {
    top: 100px;
  }
  .recommend_text {
    padding: 0 100px;
  }
  .offer_info_con {
    width: 100%;
    padding: 0;
    line-height: 20px;
  }
  .offer_conditions {
    border: 0;
    padding-top: 0;
  }
  .offer_money>div .value::after {
    display: none;
  }
  .offer_money>div,
  .offer_conditions>div {
    width: 100% !important;
    padding: 0!important;
    margin: 5px 0;
  }
  .offer_money .label,
  .offer_conditions .label {
    width: 130px;
    font-size: 18px;
    vertical-align: middle;
    display: inline-block;
  }
  .offer_money .value,
  .offer_conditions .value {
    width: calc(100% - 135px);
    text-align: center;
    font-size: 22px !important;
    font-weight: 700;
    vertical-align: middle;
    display: inline-block;
  }
  h1 {
    display: none;
  }

}

@media (max-width: 767px) {
  .main-content {
    width: 100%;
    float: right;
  }
  .offer {
    max-width: 420px;
    margin: 0 auto 30px;
  }
  .sidebar-sticky {
    transform: translateX(-50%);
    position: relative !important;
    left: 50%;
    float: left;
    margin-bottom: 30px;
    max-width: 420px;
    width: 100%;
  }
  .inner-wrapper-sticky {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
  }
  .sidebar__inner {
    top: 30px;
  }
  .recommend_text {
    padding: 0 66px;
  }
  .recommend .container:before {
    left: 20px;
  }
  .credit_calc_row:last-of-type {
    margin: 0;
  }
  .notifications {
    display: none;
  }
  .credit_calc_row {
    margin: 0;
  }
}


@media (max-width: 405px) {
  .recommend {
    display: none;
  }
  .cta_btn {
    display: none;
  }
  .offer_open .btn {
    width: calc(100% - 36px);
  }
}













/**
UI
 */


.ui-slider-horizontal {
  padding: 19px 0 19px;
  height: 6px;
  position: relative;
  border: 0;
  border-radius: 0;
  -webkit-border-radius: 0;
  background: 0
}

.ui-slider-horizontal:before {
  content: '';
  position: absolute;
  top: 19px;
  left: -22px;
  right: -22px;
  height: 6px;
  border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  background-color: #d4d4d4
}

.ui-slider-horizontal:after {
  content: '';
  position: absolute;
  top: 19px;
  left: -22px;
  width: 35px;
  height: 6px;
  border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
  background-color: #ed4301
}

.ui-slider-horizontal .ui-slider-range-min {
  min-width: 1px;
  border-radius: 0;
  -webkit-border-radius: 0;
  top: 19px;
  height: 6px;
  background-color: #ed4301
}

.ui-slider-horizontal .ui-slider-handle {
  width: 44px;
  height: 44px;
  margin-left: -22px;
  top: 0;
  cursor: pointer;
  z-index: 3;
  background: #ffcd05;
  border: 0;
  border-radius: 22px 22px 22px 22px;
  -webkit-border-radius: 22px 22px 22px 22px
}

.ui-slider-horizontal .ui-slider-handle:before,.ui-slider-horizontal .ui-slider-handle:after {
  position: absolute;
  z-index: 2;
  top: 15px;
  color: #333;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
}

.ui-slider-horizontal .ui-slider-handle:before {
  display: inline-block;
  content: '';
  background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4Ij4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMzc5LjY0NCw0NzcuODcybC0yMDcuMjk5LTIwNy43M2MtNy43OTgtNy43OTgtNy43OTgtMjAuNDg2LDAuMDE1LTI4LjI5OUwzNzkuNjQzLDM0LjEyOCAgICBjNy44MDMtNy44MTksNy43ODktMjAuNDgyLTAuMDI5LTI4LjI4NGMtNy44MTktNy44MDMtMjAuNDgyLTcuNzktMjguMjg0LDAuMDI5TDE0NC4wNjEsMjEzLjU3NCAgICBjLTIzLjM5NCwyMy4zOTQtMjMuMzk0LDYxLjQ1OS0wLjAxNSw4NC44MzhMMzUxLjMzLDUwNi4xMjdjMy45MDcsMy45MTUsOS4wMzEsNS44NzMsMTQuMTU3LDUuODczICAgIGM1LjExMSwwLDEwLjIyNC0xLjk0OCwxNC4xMjgtNS44NDRDMzg3LjQzMyw0OTguMzU0LDM4Ny40NDYsNDg1LjY5MSwzNzkuNjQ0LDQ3Ny44NzJ6IiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
  right: 50%;
}

.ui-slider-horizontal .ui-slider-handle:after {
  display: inline-block;
  content: '';
  background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4Ij4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMzY3Ljk1NCwyMTMuNTg4TDE2MC42Nyw1Ljg3MmMtNy44MDQtNy44MTktMjAuNDY3LTcuODMxLTI4LjI4NC0wLjAyOWMtNy44MTksNy44MDItNy44MzIsMjAuNDY1LTAuMDMsMjguMjg0ICAgIGwyMDcuMjk5LDIwNy43MzFjNy43OTgsNy43OTgsNy43OTgsMjAuNDg2LTAuMDE1LDI4LjI5OUwxMzIuMzU2LDQ3Ny44NzNjLTcuODAyLDcuODE5LTcuNzg5LDIwLjQ4MiwwLjAzLDI4LjI4NCAgICBjMy45MDMsMy44OTYsOS4wMTYsNS44NDMsMTQuMTI3LDUuODQzYzUuMTI1LDAsMTAuMjUtMS45NTgsMTQuMTU3LTUuODczbDIwNy4yNjktMjA3LjcwMSAgICBDMzkxLjMzMywyNzUuMDMyLDM5MS4zMzMsMjM2Ljk2NywzNjcuOTU0LDIxMy41ODh6IiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
  left: 50%;
}

.ui-slider-horizontal .ui-slider-handle:hover,.ui-slider-horizontal .ui-slider-handle:active {
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  -moz-box-shadow: 0 2px 5px rgba(0,0,0,.2);
  -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

.ui-slider-horizontal .ui-slider-handle:hover:before,.ui-slider-horizontal .ui-slider-handle:active:before,.ui-slider-horizontal .ui-slider-handle:hover:after,.ui-slider-horizontal .ui-slider-handle:active:after {
  color: #eb4724
}

.slider_line_cont {
  height: 44px;
  position: relative;
  padding: 0 62px 0
}

.slider_line_cont .slider_control {
  position: absolute;
  top: 7px;
  z-index: 2;
  width: 30px;
  height: 30px;
  cursor: pointer
}

.slider_line_cont .slider_control:before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 50%;
  -webkit-border-radius: 50% 50% 50% 50%;
  background-color: #fff;
  border: 1px solid #ccc
}

.slider_line_cont .slider_control .icon {
  position: relative;
  z-index: 3;
  position: absolute;
  top: 8px;
  left: 8px;
  width: 14px;
  height: 14px
}

.slider_line_cont .slider_control .icon:before,.slider_line_cont .slider_control .icon:after {
  content: '';
  position: absolute;
  background-color: #b8b8b8
}

.slider_line_cont .slider_control .icon:before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px
}

.slider_line_cont .slider_control .icon:after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px
}

.slider_line_cont .slider_control:hover .icon:before,.slider_line_cont .slider_control:hover .icon:after {
  background-color: #ed4301
}

.slider_line_cont .slider_control.slider_minus {
  left: 0
}

.slider_line_cont .slider_control.slider_minus .icon:after {
  display: none
}

.slider_line_cont .slider_control.slider_plus {
  right: 0
}

/* Убираем горизонтальный скролл на странице */
body {
  overflow-x: hidden; /* Убираем прокрутку по горизонтали */
}

/* Контейнер для формы */
.form-container {
  margin: 40px auto; /* Центрирование формы по горизонтали и отступы сверху/снизу */
  max-width: 1140px; /* Максимальная ширина контейнера */
  padding: 0 20px; /* Адаптивные отступы по бокам */
  display: flex; /* Используем flexbox для центрирования */
  justify-content: center; /* Центрируем форму по горизонтали */
  box-sizing: border-box; /* Учитываем padding в общей ширине */
}

/* Внутренний блок формы */
.form-wrapper {
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.24);
  padding: 30px; /* Внутренние отступы формы */
  border-radius: 8px; /* Скругленные углы */
  width: 100%; /* Форма занимает всю ширину контейнера */
  max-width: 800px; /* Ограничиваем максимальную ширину формы */
  box-sizing: border-box; /* Учитываем padding */
}

/* Заголовок и описание внутри формы */
.form-header {
  text-align: center;
  margin-bottom: 25px; /* Увеличиваем отступ между заголовком и полями */
  padding-bottom: 20px; /* Добавляем дополнительный внутренний отступ */
  border-bottom: 1px solid #eaeaea; /* Разделяющая линия */
}

.form-header h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px; /* Отступ между заголовком и описанием */
}

.form-header p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Общие стили для полей формы */
.main-form .mb-3 {
  margin-bottom: 20px;
}

.main-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.main-form input[type="text"],
.main-form input[type="number"],
.main-form textarea {
  width: 100%; /* Поля занимают всю ширину контейнера */
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f9f9f9;
  outline: none;
  box-sizing: border-box; /* Учитываем padding */
  transition: border 0.3s ease;
}

.main-form input[type="text"]:focus,
.main-form input[type="number"]:focus,
.main-form textarea:focus {
  border-color: #e06816;
  background: #fff;
}

.main-form textarea {
  resize: vertical;
  height: 80px;
}

/* Чекбокс */
.main-form .checkbox {
  display: flex;
  align-items: center; /* Центрирование чекбокса относительно текста */
  gap: 10px; /* Расстояние между чекбоксом и текстом */
  margin-bottom: 20px; /* Отступ после чекбокса */
}

.main-form .checkbox input[type="checkbox"] {
  margin: 0; /* Убираем стандартные отступы */
  transform: scale(1.2); /* Увеличение размера чекбокса */
}

.main-form .checkbox label {
  margin: 0; /* Убираем лишние отступы у текста */
  color: #333;
  font-size: 14px;
}

/* Список для загрузки файлов */
.files-list {
  margin-top: 20px; /* Отступ перед кнопками загрузки */
}

.files-list .relative {
  position: relative;
  margin-bottom: 10px;
}

.files-list label {
  display: block;
  width: 100%; /* Кнопка занимает всю ширину контейнера */
  padding: 10px;
  font-size: 14px;
  color: #333;
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  text-align: center; /* Выравнивание текста кнопки */
  box-sizing: border-box; /* Гарантируем адаптацию */
}

.files-list input[type="file"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.files-list label:hover {
  background: #eaeaea; /* Лёгкий эффект при наведении */
}

/* Кнопка отправки формы */
.main-form .btn {
  display: block;
  width: 100%; /* Кнопка занимает всю ширину контейнера */
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  color: #fff;
  background: #ffad05;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-sizing: border-box; /* Гарантируем адаптацию */
}

.main-form .btn:hover {
  background: #ffcf6e; /* Лёгкий эффект при наведении */
}

/* Адаптивность формы */
@media (max-width: 768px) {
  .form-container {
    padding: 0 15px; /* Уменьшаем отступы по бокам на маленьких экранах */
  }

  .form-wrapper {
    max-width: 100%; /* Форма занимает всю ширину экрана */
    padding: 20px; /* Поддерживаем отступы внутри формы */
  }

  .main-form .btn {
    font-size: 14px; /* Уменьшаем размер текста кнопки */
    padding: 10px; /* Уменьшаем внутренний отступ кнопки */
  }

  .form-header h2 {
    font-size: 20px; /* Уменьшаем размер заголовка */
  }

  .form-header p {
    font-size: 14px; /* Уменьшаем текст описания */
    line-height: 1.4; /* Уменьшаем межстрочное расстояние */
  }

  .files-list label {
    font-size: 14px; /* Уменьшаем шрифт для кнопок загрузки */
    padding: 10px; /* Обеспечиваем удобное нажатие */
  }
}

/* Адаптивность для очень маленьких экранов (например, телефоны с шириной < 480px) */
@media (max-width: 480px) {
  .form-wrapper {
    padding: 15px; /* Уменьшаем отступы внутри формы */
  }

  .main-form input[type="text"],
  .main-form input[type="number"],
  .main-form textarea {
    font-size: 14px; /* Уменьшаем шрифт в полях ввода */
    padding: 8px; /* Уменьшаем внутренние отступы в полях */
  }

  .main-form label {
    font-size: 13px; /* Уменьшаем размер текста меток */
  }

  .files-list label {
    font-size: 13px; /* Уменьшаем размер текста для загрузки файлов */
  }

  .main-form .btn {
    font-size: 14px; /* Уменьшаем текст кнопки */
    padding: 12px; /* Увеличиваем удобство нажатия */
  }
}

/* Общий контейнер для подсказки */
.tip-container {
    display: flex; /* Используем flexbox */
    align-items: center; /* Центрируем содержимое по вертикали */
    background: linear-gradient(135deg, #fdf9f3, #fefefe); /* Лёгкий градиент */
    border: 1px solid #f1e6d4; /* Лёгкая рамка */
    border-radius: 12px; /* Более скругленные углы */
    padding: 20px; /* Внутренние отступы */
    margin: 30px auto; /* Центрирование блока */
    max-width: 1140px; /* Максимальная ширина */
    width: 100%; /* Адаптивная ширина */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Тень для объёма */
    box-sizing: border-box; /* Гарантируем адаптацию */
    gap: 20px; /* Расстояние между иконкой и текстом */
}

/* Иконка подсказки */
.tip-icon {
    flex-shrink: 0; /* Иконка не сжимается */
    width: 60px; /* Размер иконки */
    height: 60px; 
    display: flex; /* Центрирование иконки внутри блока */
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Скругленный фон для иконки */
    background: #ffe9c5; /* Фон иконки */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Внутренняя тень */
}

.tip-icon img {
    width: 30px; /* Размер изображения иконки */
    height: 30px;
    object-fit: contain; /* Сохраняем пропорции */
}

/* Контент подсказки */
.tip-content {
    max-width: 100%; /* Контент занимает оставшееся пространство */
}

.tip-text {
    font-size: 14px;
    line-height: 1.6; /* Лёгкий интерлиньяж для читаемости */
    color: #555; /* Мягкий тёмно-серый цвет текста */
    margin: 0; /* Убираем лишние отступы */
}

.tip-text strong {
    color: #e06816; /* Выделение важных частей текста */
    font-weight: bold;
}

/* ---- Адаптивность для мелких экранов ---- */
@media (max-width: 768px) {
    .tip-container {
        flex-direction: column; /* Размещаем текст отдельно */
        padding: 25px; /* Увеличиваем внутренние отступы */
        background: linear-gradient(135deg, #fefefe, #fdf9f3); /* Лёгкий градиент */
        gap: 15px; /* Уменьшаем расстояние между элементами */
        border-left: 4px solid #e06816; /* Акцентная линия слева */
    }

    .tip-icon {
        display: none; /* Убираем иконку на экранах меньше 768px */
    }

    .tip-text {
        font-size: 15px; /* Чуть крупнее текст */
        line-height: 1.8; /* Увеличиваем межстрочное расстояние */
        text-align: justify; /* Выравниваем текст для аккуратного вида */
        padding: 5px 0; /* Внутренние отступы для текста */
    }

    /* Выделение важных частей текста */
    .tip-text strong {
        color: #d35400; /* Более насыщенный цвет выделения */
        font-weight: bold;
        background: #fcf3e0; /* Лёгкий фон для выделенного текста */
        padding: 2px 4px; /* Небольшие отступы внутри выделенных слов */
        border-radius: 4px; /* Скругление выделенного текста */
    }
}

/* ---- Адаптивность для очень мелких экранов (меньше 480px) ---- */
@media (max-width: 480px) {
    .tip-container {
        padding: 10px; /* Ещё меньше отступы */
    }

    .tip-text {
        font-size: 12px; /* Ещё меньше шрифт */
    }
}


/* Основной блок заголовка */
.main-top {
    background: linear-gradient(90deg, #2E8D2B, #3CA84C); /* Градиентный фон для акцента */
    color: #fff;
    padding: 20px 15px; /* Пространство внутри */
    border-radius: 8px; /* Закруглённые углы */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
    text-align: center; /* Центрируем текст */
}

/* Основной текст заголовка */
.main-rating-title {
    font-size: 24px; /* Увеличенный размер шрифта */
    font-weight: bold; /* Жирный текст для акцента */
    margin-bottom: 10px; /* Отступ между блоками */
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Тень для текста */
}

/* Ключевые слова */
.main-rating-title .highlight {
    color: #ffeb3b; /* Жёлтый цвет для акцента */
    font-size: 26px; /* Чуть больше шрифт */
    text-transform: uppercase; /* Верхний регистр */
}

/* Дата рейтинга */
.main-rating-date {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
}

.main-rating-date .date-highlight {
    color: #ffcf6e; /* Светло-жёлтый для выделения даты */
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-rating-title {
        font-size: 20px; /* Уменьшение текста для планшетов */
    }

    .main-rating-title .highlight {
        font-size: 22px; /* Соразмерное уменьшение */
    }

    .main-rating-date {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .main-rating-title {
        font-size: 18px; /* Ещё меньше для телефонов */
    }

    .main-rating-title .highlight {
        font-size: 20px;
    }

    .main-rating-date {
        font-size: 12px;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    transition: transform 0.3s ease-in-out;
    background: #2b2b2b;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
    font-size: 13px;
    color: #fff;
    font-family: "Segoe UI", "Roboto", sans-serif;
}

.cookie-banner__accept {
    background: #4caf50;
    color: #fff;
    border: none;
    padding: 5px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: "Segoe UI", "Roboto", sans-serif;
    flex-shrink: 0;
}

.cookie-banner__accept:hover {
    background: #43a047;
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        white-space: normal;
        left: 12px;
        right: 12px;
        transform: translateY(150%);
        width: auto;
    }
    .cookie-banner.show {
        transform: translateY(0);
    }
}

/* Стили для кнопки политики конфиденциальности */
.footer-privacy {
    margin: 20px 0;
    text-align: center;
}

.footer-privacy-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-privacy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}