#car-model-id,
#car-model-name,
#grade-id,
#grade-name {
  display: none;
}
.test-driven-car-model-image-container {
  display: none;
  margin-bottom: 32px;
}
.test-driven-car-model-image-title {
  font-weight: bold;
  font-size: 24px;
  line-height: 150%;
  color: #1a1a1a;
}
.test-driven-car-model-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.service-booking-form-submit-button {
  margin-top: 30px;
}
.rules {
  font-weight: bold;
  font-size: 16px;
  line-height: 150%;
  text-decoration-line: underline;
  color: #2f80ed;
  margin-top: 15px;
}
.rules:hover {
    color: #2f80ed;
}
textarea{
  resize: unset;
}
/* popup */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
  animation: pcaty 0.2s linear;
}
.popup__main {
  background-color: #fff;
  padding: 80px 184px;
  z-index: 2;
  max-width: 100%;
  position: relative;
  animation: growUp 0.2s linear;
}
.popup__close {
  position: absolute;
  top: 4px;
  right: 4px;
  border: none;
  outline: none;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 1px solid #cccccc;
}
.popup__title {
  font-weight: bold;
  font-size: 38px;
  line-height: 120%;
  color: #1a1a1a;
  margin-bottom: 48px;
}
.popup__mess {
  font-weight: bold;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #eb0a1e;
  margin-bottom: 30px;
}
.popup__home {
  display: block;
  margin: 0 auto;
  font-weight: 600;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  border: 1px solid;
  padding: 10px;
  width: fit-content;
}
.popup__home:hover {
  color: #1a1a1a;
}

@keyframes pcaty {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes growUp {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@media screen and (max-width: 768px) {
  .popup__main {
    padding: 80px;
  }
}
@media screen and (max-width: 576px) {
  .popup__main {
    padding: 50px 16px;
  }
  .popup__title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
  }
}
