#service__popup .popup__selector--title{
  display: none;
}
#service__popup .popup__content--btn-list {
  display: flex;
  align-items: center;
    justify-content: start;
  gap: 12px;
}
#service__popup .popup__content--img{
  max-width: 70px !important;
}
#service__popup .popup__content--item.active {
  padding: 20px;
  border-radius: 20px;
}
#service__popup #details input {
  border: 1px solid black;
}
#service__popup #details textarea{
  border: 1px solid black;
    border-radius: 12px;
    width: 98%;
}
#service__popup .popup__selector--title{
  display: none;
}
#service__popup #type .popup__content--btn-arrow{
  border-color: #BABCBD !important;
}
#service__popup #type .popup__content--btn-arrow path{
  fill:#BABCBD;
}
#service__popup .popup__content--btn-list {
  display: flex;
  align-items: center;
    justify-content: start;
  gap: 12px;
}
#service__popup .popup__content--img{
  max-width: 70px !important;
}
#service__popup .popup__content--item.active {
  padding: 20px;
  border-radius: 20px;
}
#service__popup #details input {
  border: 1px solid black;
}
#service__popup #details textarea{
  border: 1px solid black;
    border-radius: 12px;
    width: 98%;
}
#service__popup .popup {
  min-width: 342px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:32px;
}

#service__popup .popup__selector--list {
  min-height: 73px;
  padding: 12px 0 12px 12px;
  gap: 16px;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
}
#service__popup .popup__selector--item.active .popup__selector--title{
  color: white !important;
   display: flex !important;
}
#service__popup #specialist .popup__content--card.active{
      color: white !important;
}
#service__popup #services .active{
    color: white !important;
}
#service__popup .popup__selector .active {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  width: 120px;
  background-color: #212529;
  border-radius: 8px;
  color: white;
  min-width: max-content;
  padding: 5px 10px;
}

#service__popup .popup__selector .default {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  width: 120px;
  border-radius: 8px;
  color: #616161;
}

#service__popup .popup__selector--item {
  display: flex;
  align-items: center;
  justify-content: center;
}

#service__popup .popup__selector--title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  width: 120px;
  border-radius: 8px;
  color: #616161;
}
#service__popup .popup__selector--title{
  display: none;
}
#service__popup .popup__content--list {
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 12px;
}

#service__popup .popup__content--item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#service__popup #type .popup__content--text {
  background-color: #f8f9fa;
  min-height: 96px;
  width: 100%;
  border-radius: 8px;
  font-size: 20px;
  padding-top: 16px;
  padding-left: 16px;
  position: relative;
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: bottom;
}

#service__popup #type .popup__content--text:nth-child(1) {
    background-image: url(https://mb-lukavto.ru/static/dist/img/service_popup/Consultant.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: end;
    padding-bottom: 10px;
    color: white ! IMPORTANT;
        min-height: 200px;
}

#service__popup #type .popup__content--text:nth-child(2) {
    background-image: url(https://mb-lukavto.ru/static/dist/img/service_popup/NoConsultant.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: end;
    padding-bottom: 10px;
    color: white ! IMPORTANT;
        min-height: 200px;
}

#service__popup #type .active {
  border: 1px solid #00abf6;
}

#service__popup #type .active::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-4.png");
  width: 24px;
  height: 24px;
}

#service__popup #services {
  flex-direction: row;
  flex-wrap: wrap;
}

#service__popup #services .popup__content--text {
  background-color: #f8f9fa;
  height: 129px;
  width: 48%;
  border-radius: 8px;
  padding-top: 16px;
  padding-left: 16px;
  border-radius: 8px;
  font-size: 18px;
  position: relative;
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: bottom;
}

#service__popup #services .popup__content--text:nth-child(1) {
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-21.png");
}
#service__popup #services .popup__content--text:nth-child(2) {
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-5.png");
}
#service__popup #services .popup__content--text:nth-child(3) {
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/vector-1.png");
}
#service__popup #services .popup__content--text:nth-child(4) {
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-1.png");
}
#service__popup #services .popup__content--text:nth-child(5) {
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-3.png");
  margin-bottom: 24px;
}
#service__popup #services .popup__content--text:nth-child(6) {
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-2.png");
}

#service__popup #services .active {
  border: 1px solid #00abf6;
}

#service__popup #services .active::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  background-image: url("https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-4.png");
  width: 24px;
  height: 24px;
}

#service__popup #specialist {
  flex-direction: row;
  flex-wrap: wrap;
}

#service__popup #specialist .popup__content--card {
  background-color: #f8f9fa;
  height: 129px;
  width: 48%;
  border-radius: 8px;
}

#service__popup #specialist .popup__content--card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 14px;
}

#service__popup #specialist .popup__content--card:nth-child(5) {
  margin-bottom: 28px;
}

#service__popup #details .popup__content--title {
  color: #212529;
  text-align: left;
  vertical-align: text-top;
  font-size: 24px;
  line-height: auto;
  border-style: hidden;
  outline: none;
  margin-bottom: 16px;
}

#service__popup #details .popup__content--input {
  width: 98%;
  height: 48px;
  border-radius: 8px;
}

#service__popup #details .popup__content--form-title {
  color: #212529;
  text-align: left;
  vertical-align: text-top;
  font-size: 24px;
  line-height: auto;
  border-style: hidden;
  outline: none;
  margin-bottom: 16px;
}

#service__popup #details .popup__content--form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#service__popup #details .popup__content--form input {
  width: 98%;
  height: 48px;
  border-radius: 8px;
}

#service__popup #details .details__btn--list {
  display: flex;
  gap: 12px;
}

#service__popup #details .popup__content--form #comment {
  height: 102px;
}

#service__popup .popup__content--btn-blue {
  background-color: #00abf6;
  color: white;
  border: none;
  height: 45px;
  width: 135px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#service__popup .popup__content--btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: transparent;
  border: 2px solid black;
}

#service__popup .success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 80%;
  height: 80%;
}

@media (min-width: 768px) {
#service__popup   .popup {
    min-width: 564px;
  }
#service__popup   #type .popup__content--text {
    height: 217px;
    width: 48%;
  }
#service__popup   #type {
    flex-direction: row;
    flex-wrap: wrap;
  }
#service__popup   #specialist .popup__content--card {
    font-size: 18px;
  }
#service__popup   #details {
    display: unset;
  }
#service__popup   #details .popup__content--input {
    width: 48%;
    margin-bottom: 20px;
  }
#service__popup   #details .popup__content--form {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
#service__popup   #details .popup__content--form-title {
    width: 100%;
  }
#service__popup   #details .popup__content--form input {
    width: 49%;
  }
#service__popup   #details .popup__content--form #comment {
    width: 99%;
  }
}

@media (min-width: 1024px) {
#service__popup   .popup {
    flex-direction: row;
    padding-left: 24px;
  }
#service__popup   #type {
    padding-top: 99px;
  }
#service__popup   #type .popup__content--text {
    margin-bottom: 40px;
  }
#service__popup   #services {
    padding-top: 32px;
  }
#service__popup   #services .popup__content--text {
    width: 32%;
  }
#service__popup   #services .popup__content--text:nth-child(5) {
    margin-bottom: 60px;
  }
#service__popup   #specialist {
    padding-top: 40px;
  }
#service__popup   #specialist .popup__content--card {
    width: 32%;
  }
#service__popup   #specialist .popup__content--card:nth-child(5) {
    margin-bottom: 52px;
  }
#service__popup   #details {
    padding-top: 24px;
  }
#service__popup   #details .popup__content--input {
    width: 49%;
  }
}

#service__popup  .custom__hidden {
  display: none !important;
}

#service__popup .time-slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

#service__popup .time-slot-btn {
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

#service__popup .time-slot-btn:hover {
  border-color: #00abf6;
}

#service__popup .time-slot-btn.active {
  background-color: #00abf6;
  color: white;
  border-color: #00abf6;
}

@media (max-width: 768px) {
#service__popup   .time-slots-container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}


#service__popup .time-slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

#service__popup .time-slot-btn {
  padding: 12px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  transition: all 0.2s;
}

#service__popup .time-slot-btn:hover {
  border-color: #00abf6;
}

#service__popup .time-slot-btn.active {
  background-color: #00abf6;
  color: white;
  border-color: #00abf6;
}

@media (max-width: 768px) {
#service__popup   .time-slots-container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

#service__popup   .time-slot-btn {
    padding: 8px;
    font-size: 12px;
  }
}
#service__popup #specialist .popup__content--card.active {
  border: 1px solid #00abf6;
}
#service__popup #specialist .popup__content--card.active::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  background-image: url(https://storage.yandexcloud.net/cars-main/ckeditor/2024/04/24/group-4.png);
  width: 24px;
  height: 24px;
}
#service__popup #specialist .popup__content--card {
  position: relative;
}

    #service__popup #type {
        padding: 20px;
        border-radius: 20px;
    }
    
    #service__popup p{
  margin-bottom: unset !important;
}



@media (max-width: 768px) {
  #service__popup .popup__selector--item {
    display: none;
  }
  #service__popup .popup__selector--item.active {
    display: flex !important;
  }
  #service__popup .popup__selector--list {
    margin-bottom: unset !important;
  }
  #service__popup .popup__selector {
    margin-bottom: unset !important;
  }
}