.wrapper-forms {
    overflow: hidden;
}
.custom-form {
     padding: 18px 40px 40px 46px;
    margin: 20px -40px 24px;
    font-size: 36px;
    line-height: 36px;
    color: #fff;
    /* background: #66abaf; */
    background: #da2864;
    position: relative;
    text-align: center;
}

.preloader-form {
    display: flex;
        justify-content: center;
}

.custom-form h4 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 30px;
    font-family: "BebasRegular", sans-serif;
}

.custom-formContent {
    padding: 0 50px;
}

.bottom-custom-form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.input-custom-form input {

    border: none;
    outline: none;
    border-bottom: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    padding-left: 5px;
    margin-right: 60px;
}

.bottom-custom-form button {
    font-size: 14px;
    padding: 15px 35px;
    color: #fff;
    background: #da2864;
}

.input-custom-form input::-webkit-input-placeholder { /* Chrome */
  color: #fff;
}
.input-custom-form input:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
.input-custom-form input::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}
.input-custom-form input:-moz-placeholder { /* Firefox 4 - 18 */
  color: #fff;
}
.custom-form:before {
    content: '';
    position: absolute;
    left: 39px;
    top: 0;
    height: 100%;
    background: #fff;
    width: 2px;
}

.custom-form:after {
    content: '';
    position: absolute;
    right: 39px;
    top: 0;
    height: 100%;
    background: #fff;
    width: 2px;
}

.custom-form>span {
    position: absolute;
    width: 20px;
    height: calc(100% + 2px);
    top: -1px;
}


.custom-form>span:first-child:after,
.custom-form>span:last-child:before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    -webkit-clip-path: polygon(0 0, 0% 100%, 100% 100%);
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.custom-form>span:first-child:before,
.custom-form>span:last-child:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.custom-form>span:first-child{
    left:40px;
    background: transparent;
}

.custom-form>span:last-child{
    right:40px;
    background: transparent;
    transform: rotate(180deg);
}

.form_alert {
        font-size: 10px;
    color: #da2864;
    position: absolute;
}

.utp-custom {
    cursor: pointer;
}

@media (max-width: 992px) {
    .custom-form {
        padding: 25px 40px 25px 46px; 
    }
    
    .bottom-custom-form {
        flex-direction: column;
        align-items: center;
    }
    .input-custom-form input {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 450px) {
    .custom-form>span:last-child {
        right: 39px;
    }
       .custom-form {
        padding: 0 40px 25px 46px; 
    }
}



/*style new page from Dima Isaev*/
/* === ОБЕРТКА === */
#slim-test-page {
  font-size: 17px;
  font-family: Arial, sans-serif;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

/* === ГЛАВНЫЙ БЛОК === */
#slim-test-page .hero-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 35px;
  display: flex;
  gap: 35px;
  box-shadow:
      0 10px 22px rgba(0,0,0,0.07),
      0 3px 6px rgba(0,0,0,0.05);
  border: 1px solid #e5efee;
  margin-bottom: 45px;
}

#slim-test-page .hero-left img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
}

#slim-test-page .hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#slim-test-page .hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

#slim-test-page .hero-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.5;
}

#slim-test-page .hero-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #0b7572;
  font-weight: bold;
}

#slim-test-page .hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
}

#slim-test-page .btn-main {
  background: #0b7572;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
}

#slim-test-page .btn-outline {
  padding: 11px 20px;
  border-radius: 30px;
  border: 2px solid #0b7572;
  color: #0b7572;
  text-align: center;
  text-decoration: none;
}

/* === ИНФОБЛОК === */
#slim-test-page .info-block {
  background: #fff;
  border-radius: 22px;
  padding: 40px 35px 32px;
  margin-top: 40px;
  box-shadow:
      0 10px 24px rgba(0,0,0,0.07),
      0 4px 8px rgba(0,0,0,0.05);
  border: 1px solid #e5efee;
  position: relative;
}

#slim-test-page .ib-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0b7572;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: absolute;
  left: 25px;
  top: 25px;
}

/* фиксированные правки */
#slim-test-page .info-block h2 {
  margin-left: 47px !important;
  margin-top: -5px !important;
  margin-bottom: 20px;
  font-size: 23px;
  font-weight: 800;
}

#slim-test-page .info-block h3 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

#slim-test-page .info-block p {
  line-height: 1.7;
  font-size: 17px;
}

#slim-test-page .info-block ul {
  padding-left: 20px;
  line-height: 1.7;
  margin-top: 10px;
}

/* === СПИСОК ПРОЦЕДУР === */
#slim-test-page .procedures-list {
  margin-top: 20px;
}

#slim-test-page .procedure-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 5px;
  border-bottom: 1px solid #e5e5e5;
}

#slim-test-page .proc-name {
  flex: 1;
  font-size: 17px;
  color: #0e2f33;
}

#slim-test-page .proc-price {
  font-size: 17px;
  font-weight: 600;
  color: #0b7572;
  min-width: 130px;
  text-align: right;
}

#slim-test-page .proc-btn {
  background: #0e2f33;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 16px;
}

#slim-test-page .proc-btn:hover {
  opacity: 0.9;
}

/* === ВРАЧИ === */
#slim-test-page .doctors-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 10px;
}

#slim-test-page .doctor-card {
  flex: 0 0 180px;
  text-align: center;
}

#slim-test-page .doctor-card img {
  width: 100%;
  border-radius: 12px;
}

#slim-test-page .doctor-card .position {
  font-size: 15px;
  color: #555;
  margin: 8px 0 4px;
}

#slim-test-page .doctor-card a {
  font-weight: 700;
  display: inline-block;
  color: #0b7572;
  text-decoration: none;
}

#slim-test-page .doctor-card a:hover {
  text-decoration: underline;
}

/* === ЗАПИСЬ === */
#slim-test-page .signup-block {
  text-align: center;
  margin: 50px 0;
}

#slim-test-page .btn-primary {
  background:#0b7572;
  color:#fff;
  padding:12px 25px;
  border-radius:6px;
  text-decoration:none;
  display:inline-block;
  margin:10px;
}

#slim-test-page .btn-primary.light {
  background:#fff;
  color:#0b7572;
  border:2px solid #0b7572;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
  #slim-test-page .hero-card {
    flex-direction: column;
  }

  #slim-test-page .doctor-card {
    flex: 0 0 150px;
  }
}

/*style new page from Dima Isaev*/