.search {
  background: #FFFFFF;
  margin-top: 10px;
  border-radius: 20px;
  display: flex;
  gap: 30px;
  padding: 20px;
  color: #d6caca;
}

.search input {
  border: none;
  width: 100%;
  background: none;
  padding: 0;
}

.search input::placeholder {
  color: #0000004D;
  font-size: 16px;
  border: none;
}

input:focus {
  outline: none;
}

.form_main {
  padding: 40px;
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #3c9abe;
  position: relative;
  overflow: hidden;
}
.form {
  padding-top: 40px;
  padding-left: 40px;
  width: 444px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form h2,
.form_main h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
}

.form p,
.form_main p {
  font-size: 16px;
  color: #FFFFFF80;
  text-align: center;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 30px;
}

.review_form .form_group {
  margin-top: 0;
}

.specifications_form .form_group {
    width: 664px;
    margin: 0;
}

.filter_car .form_group {
    margin: 0;
}

.form_group input[type="text"],
.form_group input[type="tel"] {
  width: 50%;
  padding: 12px 0 12px 16px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  outline: none;
  color: #00000080;
  background: #ffffff;
}

.used_form .form_group_license input[type="text"],
.used_form .form_group_license input[type="tel"] {
    width: 300px;
}

.trade-in_right .form_group_license input[type="text"],
.trade-in_right .form_group_license input[type="tel"] {
    background: #F5F8FC;
}

.card .form_group input[type="text"],
.card .form_group input[type="tel"] {
  width: auto;
}

.card-vikup .form_group input[type="text"],
.card-vikup .form_group input[type="tel"] {
  width: auto;
}

.card-vikup .form {
  width: 547px;
  padding: 60px;
  gap: 0;
}

.card-vikup .form h2 {
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 20px;
  text-align: left;
}

.card-vikup .form p {
  text-align: left;
  font-size: 24px;
  font-weight: 300;
  line-height: 130%;
}

.news_buttons .form_group {
  margin: 0;
  width: 400px;
}

.trade-in_left .form_group {
  margin-bottom: 0;
}

.trade-in_left input,
.trade-in_left select {
  padding: 12px;
  font-size: 14px;
}

.form_group_license {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
}

.form_group_license input {
  flex: 1;
  padding-right: 48px;
}

.form_group__flag {
  position: absolute;
  background: #E6EDF7;
  right: 16px;
  width: 32px;
  height: 20px;
  object-fit: cover;
}

.form_group button,
.form_group_license button {
  padding: 14px 14px;
  background-color: #0571D5;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  line-height: 130%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.credit_form .form_group_license button {
    width: 30%;
}

.model_form_content .form_group_license button {
    background: #79899B;
}

.used_form .form_group_license button {
    width: 330px;
}

.form_group button:hover {
  background-color: #0a5fbf;
}

.form_submission {
  font-size: 12px;
  color: #FFFFFF80;
  text-align: left;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.form_submission input {
    width: 20px;
}

.form_submission a {
  color: #FFFFFF80;
  text-decoration: underline;
  font-size: 12px;
}

.credit_form .form_submission label,
.trade-in_right .form_submission label,
.specifications_form .form_submission label,
.review_form .form_submission label{
    color: #00000080;
}

.credit_form .form_submission a,
.trade-in_right .form_submission a,
.specifications_form .form_submission a,
.review_form .form_submission a {
    color: #00000080;
}

.credit_form input[type="text"],
.credit_form input[type="tel"] {
    width: 100%;
}

.form_info {
  display: flex;
  justify-content: flex-end;
  padding: 40px;
  background: url(../img/banners/zayavka-banner.png) no-repeat;
  border-radius: 20px;
}

.form_card {
  display: flex;
  gap: 10px;
}
.modal_credit > button{
    cursor: pointer;
}
.modal_credit > .form_card{
    flex-direction: column;
}

.modal_credit > .form_card > input[type="text"],
input[type="email"]{
    width: 100% !important;
}
.modal_credit button{
    margin-top: 10px;
    width: 100% !important;
}
.modal_credit > .form_submission label{
    color: #0b0b0b;
}
.modal_credit > .form_submission label a{
    color: #0157a5;
}

.review_form .form_card input[type="text"],
.review_form .form_card input[type="email"] {
  background: #F5F8FC;
  width: 50%;
}

.review_form textarea {
  background: #F5F8FC;
}

.photo-upload {
  display: flex;
  align-items: center;
  gap: 10px;
}

.photo-upload input[type="file"] {
  display: none;
}

.photo-upload label {
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

.model-form {
  background-color: #A1B1C3;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.model_form_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form_content {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-title {
  display: flex;
  flex-direction: column;
  width: 260px;
}

.form-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.form-title p {
  font-size: 18px;
  font-weight: 300;
  color: #ffffff;
}

input,
select,
textarea {
  padding: 16px 20px;
  border: none;
  background: #F5F8FC;
  border-radius: 10px;
  font-size: 16px;
  line-height: 130%;
  color: #00000080;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #3498db;
  outline: none;
}

select {
  appearance: none
}

select:not([multiple]) {
  background: url(../img/svg/arrow-down-light.svg) no-repeat right;
  background-color: #F5F8FC;
  background-position: calc(100% - 0.25em) 0.35em;
  background-size: 12px auto;
  background-position: calc(100% - 15px) 1.35em;
}

.filter_auto select {
    width: 100%;
}

.range-input-container {
  width: 100%;
  margin-top: 8px;
}

.range-input-group {
  display: flex;
  align-items: center;
  background: #F5F8FC;
  border-radius: 8px;
}

.range-input-group hr {
  width: 2px;
  transform: rotate(90deg);
}

.range-input-container input {
  flex: 1;
  padding: 12px 0;
  font-size: 14px;
  color: #B4BBC5;
  transition: all 0.3s ease;
}

.range-input-container input::placeholder {
  padding: 20px;
}

.range-input-group select {
  padding: 12px 16px;
  font-size: 14px;
  color: #B4BBC5;
  transition: all 0.3s ease;
}

.range-input-group input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.range-input-group span {
  font-size: 30px;
  color: #7f8c8d;
  min-width: 10px;
  font-weight: 100;
}

@media (max-width: 768px) {

  .form {
    width: auto;
      padding-left: 20px;
      padding-right: 20px;
      gap: 0;
  }
    .form p{
        margin-top: 20px;
    }
  .form_cart {
    background: #7598B8;
  }

  .form_info {
    padding: 20px;
    justify-content: center;
    background: #3c9abe;
  }

  .form_main {
    width: auto;
    padding: 0;
  }

  .form_card {
    flex-direction: column;
  }

  .form_group input[type="text"],
  .form_group input[type="tel"] {
    width: auto;
  }

 .card .form_group input[type="text"],
 .card .form_group input[type="tel"] {
  width: auto;
 }

  .form-card__btn {
    width: 100%;
  }

  .credit_form .form_group_license {
    flex-direction: column;
  }

  .model_form_content {
    margin-top: 20px;
  }

  .form-title h3 {
    display: none;
  }

  .model_form_content .form_group_license,
  .trade-in_right .form_group_license {
    flex-direction: column;
  }

  .model_form_content .form_group_license input,
  .trade-in_right .form_group_license input {
    width: 100%;
    padding: 12px 0;
  }

  .model_form_content .form_group_license input::placeholder,
  .trade-in_right .form_group_license input::placeholder {
    padding: 12px;
    font-size: 14px;
  }

  .model_form_content .form_group_license button {
    width: 100%;
  }

  .credit_form .form_group_license button {
    width: 100%;
  }

  .credit_form .form_group_license input {
    padding: 12px 0;
  }

  .credit_form .form_group_license input::placeholder {
    padding: 12px;
  }

  .specifications_form .form_group {
    width: auto;
  }

  .specifications_form .form_group_license {
    flex-direction: column;
  }

  .specifications_form .form_group input[type="text"],
  .specifications_form .form_group input[type="tel"] {
    width: 100%;
    padding: 12px 0;
  }

  .specifications_form .form_group_license input::placeholder {
    padding: 12px;
  }

  .used_form .form_group_license {
    flex-direction: column;
  }

  .used_form .form_group_license button {
    width: 100%;
  }

  .used_form .form_group_license input[type="text"],
  .used_form .form_group_license input[type="tel"] {
    width: 100%;
    padding: 12px 0;
  }

  .used_form .form_group_license input::placeholder {
    padding: 12px;
  }

  .review_form .form_card input,
  .review_form .form_card input {
    width: 100%;
    padding: 12px 0;
  }

  .review_form .form_card input::placeholder,
  .review_form .form_card input::placeholder {
     padding: 12px;
  }

  .review_form .form_card input[type="text"],
  .review_form .form_card input[type="email"] {
    width: 100%;
  }

  .search {
    gap: 0;
    padding: 15px;
  }

  .search input::placeholder {
    font-size: 14px;
    padding: 12px 20px;
  }

  .card-vikup .form {
    width: auto;
    padding: 20px;
  }

  .card-vikup .form p {
    font-size: 18px;
  }
}
