.csas-modal-bck {
  position: fixed;
  right: 35px;
  bottom: 130px;
  z-index: 9999;
  max-width: 180px;
}

#csas-modal-link {
  display: block;
  padding: 26px 10px;
  border-radius: 15px;
  background: #f54e0ee8; /* оранжевый с прозрачностью */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #33333354;
  transition: all 0.3s ease-in-out;
  text-align: center;
  min-width: 140px;
}

@media (max-width: 425px) {
  .csas-modal-bck {
    right: 10px;
    bottom: 10px;
  }
}

/*  Темизация формы под гребаный iphone */
/* ВРЕМЕННЫЙ CSS ДЛЯ ТЕСТИРОВАНИЯ — уберите после отладки */
@media screen and (max-width: 768px) {
  .ui-dialog[role="dialog"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    z-index: 10000 !important; /* убедитесь, что поверх всего */
  }

  .ui-dialog-content#drupal-modal {
    position: relative !important;
    width: 100% !important;
    height: calc(100% - 90px) !important;
    max-height: none !important;
    padding: 20px 15px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  /* Отступ под "клавиатуру" — имитируем её наличие */
  .ui-dialog-content#drupal-modal::after {
    content: "";
    display: block;
    height: 120px;
  }
}