@charset "utf-8";

.p-contact {
  padding: 126px 0 170px;
  font-size: 14px;
  font-weight: 400;
  color: #454545;

  @media (width < 768px) {
    padding: 100px 0 120px;
  }

  .p-contact__fields {
    margin: 0 auto;
    max-width: 924px;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .row {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .col-md-4 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .label {
    margin: 0;
  }

  .d-inline-block {
    background: #5a5a5a;
    border-radius: 2px;
    padding: 0 4px;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
  }

  .d-inline-block.requiredText {
    background: #d80e0e;
  }

  .col-md-8 {
    max-width: 100%;
    padding: 0;
    flex: 0 0 100%;
  }

  .input,
  .select,
  .textarea {
    width: 100%;
    height: 50px;
    background: #f6f6f6;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 1em;
  }

  .input::placeholder,
  .textarea::placeholder {
    color: #555555;
  }

  .textarea {
    height: 197px;
  }

  .select {
    max-width: 210px;
    width: 100%;
    padding: 0 1em;
    appearance: none;
    background: #f6f6f6 url('https://ms-rentalcar.com/system_panel/uploads/images/select-arrow.svg') no-repeat center right 20px / 12px 8px;
    cursor: pointer;
  }

  .p-contact-date {
    display: flex;
    align-items: center;
    gap: 8px;

    @media (width < 768px) {
      flex-direction: column;
      align-items: start;
      gap: 4px;
    }

    .p-contact-date__head {
    }
  }

  .selectArea {
    display: flex;
    align-items: center;
    gap: 10px;

    .d-block {
      .select {
        max-width: 57px;
        background: #f4f4f4;

        @media (width < 768px) {
          max-width: 52px;
          padding: 0 0.8em;
        }
      }

      .label {
        display: inline-block;
        line-height: 50px;
        margin-left: 2px;
      }
    }
  }

  .addArea {
    display: flex;
    flex-direction: column;

    .address {
      display: flex;
      align-items: center;
    }

    .zipInput {
      max-width: 80px;
    }
  }

  .addArea:not(:first-of-type) {
    margin-top: 18px;
  }
}

.p-contact-privacy {
}

.p-contact-privacy__box {
  overflow-y: scroll;
  height: 155px;
  padding: 34px 46px 36px 28px;
  color: #2c2c2c;
  background: #f6f6f6;
  border: 1px solid #d3d3d3;
  line-height: 2;

  @media (width < 768px) {
    padding: 1em;
  }
}

.p-contact-privacy__box > * + .p-contact-privacy__text {
  margin-top: 36px;
}

.p-contact-privacy__box > * + .p-contact-privacy__heading {
  margin-top: 68px;
}

.p-contact-privacy__text {
  letter-spacing: 0.08em;

  a:hover {
    opacity: 0.7;
  }
}

.p-contact-privacy__heading {
  width: 100%;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.64;
  letter-spacing: 0.08em;
  padding-bottom: 15px;
  border-bottom: 1px solid #cecece;
  display: inline-flex;
  gap: 15px;
  align-items: center;
}

.p-contact-privacy__heading::before {
  content: '';
  width: 14px;
  height: 14px;
  background: #303030;
  border-radius: 3px;
  flex-shrink: 0;
}

.p-contact-privacy__check {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;

  input {
    cursor: pointer;
  }

  label {
    color: #454545;
    line-height: 1;
    letter-spacing: 0em;
  }
}

.privacyformError {
  top: 0;
  left: 0;
}

.p-contact__submit {
  margin: 26px auto 0;
}

.p-contact__back {
  margin: 60px auto 0;
  width: fit-content;
}

.p-contact__submit button,
.p-contact__back a {
  background: none;
  color: white;
  width: 183px;
  height: 47px;
  padding: 0 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--color-orange);
  background: var(--color-orange);
  transition: all 0.3s ease;
}

.p-contact__submit button:hover,
.p-contact__back a:hover {
  color: var(--color-orange);
  background: #fff;
}

.p-contact__thanks {
  font-size: 16px;
  font-weight: 500;
}
