.form-content {
    margin-bottom: 70px;
}

@media(max-width: 1440px) {
    .form-content {
        margin-bottom: 80px;
    }
}

@media(max-width: 768px) {
    .form-content {
        margin-bottom: 50px;
    }
}

.business-page .form-content .container .form-block {
    margin-bottom: 0;
}

.business-page .form-content .container .form-block form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-content .container {
    display: flex;
    gap: 40px;
}

.input-wrapper {
    width: 100%;
    display: block !important;
}

.input-wrapper div {
    display: none;
}

.form-group .input-wrapper input {
    width: 100% !important;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-block button {
    width: 50%;
}

.btn-block p {
    margin-top: 0 !important;
}

.form-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.input-wrapper {
    position: relative;
    max-height: 60px;
}

.input-wrapper input.error {
    border: 2px solid var(--red) !important;
    position: relative !important;
    text-align: left;
    background-color: #ffffff;
    top: 0;
    padding-right: 0;
    font-size: 18px !important;
    box-sizing: border-box;
    opacity: 1;
}

.error {
    background-color: #F8F2EF;
    font-family: Manrope;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    width: auto;
    border-radius: 10px;
    padding: 6px 11px;
    position: absolute;
    top: -12px;
    right: 0;
    display: none;
    opacity: 0;
}

.input-wrapper img {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

@media(max-width: 1124px) {
    .form-img-block {
        display: none;
    }
}

@media(max-width: 881px) {
    .btn-block {
        flex-direction: column;
        gap: 10px;
    }
}

@media(max-width: 768px) {
    .input-wrapper {
        width: 100%;
    }
}

.business-page .alorithm-form .container .main-form form .form-group div input {
    display: block;
}

.styled-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    background-color: #fff;
    color: #606266;
    appearance: none;
    /* Убирает стрелку по умолчанию */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #976F56;
    height: 60px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 0 20px;

}
#successModal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBg 0.3s forwards;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
  animation: fadeInBg 0.3s forwards;
}

.modal-content {
  position: relative;
  background: white;
  padding: 30px 40px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInModal 0.3s forwards;
}
.modal-content h4 {
font-weight: 700;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
vertical-align: middle;
margin-bottom: 18px;
}
.modal-content p {
font-weight: 400;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
vertical-align: middle;
color: #444444;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--red);
}

@keyframes fadeInBg {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
