section.form {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap)
}

.form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 37px 57px 57px;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 5px 0px;
}

@media (max-width:768px){
    .form form {
        padding: 0;
        border: none;
        box-shadow: none;
    }
}

.form__title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    margin-top: 20px;
    color: rgba(0, 0, 0, 0.85);
}

.form__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form__body--inner {
    padding: 8px 28px 28px;
    border: 1px solid #acadbe;
    border-radius: 0 0 8px 8px;
    border-top: none;
}

.form__top {
    display: flex;
    align-items: center;
    padding: 16px 28px 14px;
    border: 1px solid #acadbe;
    border-radius: 8px 8px 0 0;
    height: 52px;
    background-color: rgba(0,0,0,0.15);
    border-bottom: none;
    font-size: 13px;
}

.form__line {
    position: relative;
}

.form__line input[type="checkbox"] {
  width: 0;
  height: 0;
  opacity: 0;
  padding: 0;
  visibility: hidden;
}

.form__line label {
    font-size: 15px;
    cursor: pointer;
    border: 1px solid #bbbcbe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: rgb(0, 0, 0);
}

@media (max-width: 768px){
      .form__line label {
        line-height: 1.2;
    }
}

.form__line label::before {
    content: '';
  display: inline-block;
  line-height: 1;
  width: 17px;
  aspect-ratio: 1;    
  border: 1px solid rgb(172, 173, 190);
  background-color: transparent;
  border-radius: 4px;
  position: relative;
  transition-duration: 0.2s;
}

.form__line input:checked + label::before  {
  content: '';
  background-color: #bbbcbe;
  border-color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' width='16' height='16' fill='currentColor' class='g-checkbox__icon-svg g-checkbox__icon-svg_type_tick'%3E%3Cpath d='M.49 5.385l1.644-1.644 4.385 4.385L4.874 9.77.49 5.385zm4.384 1.096L10.356 1 12 2.644 6.519 8.126 4.874 6.48v.001z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

.select__item {
    cursor: pointer;
    font-size: 15px;
    padding: 10px 23px 10px 13px;
    border: 1px solid #acadbe;
    border-radius: 8px;
    width: 100%;
    line-height: 1;
}

.select__title {
    margin-top: 0;
}

.select__body {
    position: relative;
    max-width: 360px;
}

.select__body::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    translate: 0 -50%;
    width: 16px;
    aspect-ratio: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' class='g-icon g-select-control__chevron-icon' fill='currentColor' stroke='none' aria-hidden='true'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E%3C/svg%3E");
}

.select__item option {
    font-size: 15px;
    padding: 10px 13px;
    line-height: 1;
}

.form__file {
    cursor: pointer;
    padding: 0;
    border: none;
    font-size: 15px;
}

.form__btn {
    font-size: 13px;
    color: white;
    align-items: center;
    display: flex;
    padding: 0 16px;
    border-radius: 8px;
    background-color: rgb(30, 32, 36);
    transition-duration: 0.3s;
}

@media (any-hover: hover){
    .form__btn:hover{
        background-color: #4e79eb;
    }
}

.form__line input[type="text"], .form__line input[type="tel"] {
    width: 100%;
    max-width: 360px;
    padding-block: 10px;
    font-size: 15px;
}