html, body{
  padding: 0;
  margin: 0;
}

html{
  height: 100%;
}

body{
  min-height: 100%;
}

.popup-feedback{
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
}

.popup-feedback:not(.is-active) {
  visibility: hidden;
  opacity: 0;
}

.popup-feedback.is-active {
  visibility: visible;
  opacity: 1;
}

.feedback{

  position: relative;

  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.60);
  background: #FFF;
  box-shadow: 0px 2px 5.8px 0px rgba(40, 40, 40, 0.50);  

  display: inline-flex;
  flex-direction: column;
  align-items: stretch;

  padding: 38px 78px 56px;

  color: #000;
  font-family: Inter;
  font-style: normal;
  line-height: normal;  
}

/* Дублируем, чтобы повысить специфичность .feedback__close над .modal-close */
.feedback__close.feedback__close {
  position: absolute;
  right: 26px;
  top: 26px;
  max-width: 40px;
  max-height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: none;

  background-image: url('/static/img/tabler_x.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;
}

/**********************************************************************************************
Классы bulma делают что то непонятное с 

.modal-close::after, .modal-close::before 

так что изображение крестика кнопки закрытия формы портится. 
Данный код исправляет это.
*/

.feedback__close.feedback__close::before {
  content: ""; 
  height: 0px;
}

.feedback__close.feedback__close::after {
  content: "";
  height: 0px;
}

/***********************************************************************************************/

.feedback__result-close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 6px;
  top: 6px;
  flex-shrink: 0;
  padding: 0;
  border: none;

  background-image: url('/static/img/tabler_x.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;
}

.feedback__logo{
  width: 128px;
  height: 42px;
  align-self: center;

  background-image: url('/static/img/logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

}

.feedback__title{
  font-size: 34px;
  font-weight: 600;

  margin: 20px auto 0;
}

.feedback__container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 556px;
}

.feedback__input-container{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 20px;
}

.feedback__label{
  font-size: 14px;
  font-weight: 500;

  align-self: flex-start;
}

.feedback__input{

  border-radius: 10px;
  background: #EDEDED;  

  /* В дизайне отсутствует, подобрал так, чтобы высота инпутов соответствовала дизайну. Задать важно т.к. размер инпута зависит параметров шрифта. */
  font-family: Rubik;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;  
  /* --------------------------------------------- */

  margin: 4px 0 0;
  padding: 8px 4px;
  box-sizing: border-box;
  border: none;
  align-self: stretch;
  min-width: 556px;
}

.feedback__input_multiline {
  resize: none;
}

.feedback__error {
  color: red;
  font-size: 14px;
}

.feedback__submit{
  margin-top: 40px;

  background: #1043C7;
  border: none;
  border-radius: 10px;
  padding: 10px 30px;
  
  color: #F4F4F4;
  text-align: center;
  font-family: Rubik;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 31.2px */  
}

.feedback__result {
  position: absolute;
  z-index: 10;
  top: 50%;

  border: solid 2px black;  
  border-radius: 15px;
  background-color: white;

  width: 400px;
  left: calc(50% - 200px);
  right: calc(50% - 200px);

}

.feedback__result_underfined {
  visibility: hidden;
}

.feedback__result_error {
  visibility:visible;
  color: indianred;
}

.feedback__result_info {
  visibility:visible;
  color: #1043C7;
}

.feedback__result-msg {
  font-size: 24px;
  padding: 30px;
  /* color: inherit; */
}


@media (max-width: 768px){
  .feedback{
    padding: 18px 45px;
  }

  /* Дублируем, чтобы повысить специфичность .feedback__close над .modal-close */
  .feedback__close.feedback__close {
    right: 20px;
    top: 20px;
  }

  .feedback__input{
    min-width: calc(61.587712px + 64.3766vw); /* Для корректного и плавного изменения ширины инпутов на промежуточных размерах устройств шириной от 320 до 768px */
  }

  .feedback__result {
    width: 400px;
    left: calc(50% - 200px);
    right: calc(50% - 200px);
  }
}

@media (max-width: 600px){

  .feedback{
    padding: 18px;
  }

  /* Дублируем, чтобы повысить специфичность .feedback__close над .modal-close */
  .feedback__close.feedback__close {
    max-width: 24px;
    max-height: 24px;
    right: 16px;
    top: 16px;
  }

  .feedback__title{
    font-size: 24px;
  }

  .feedback__container {
    margin-top: 8px;
  }
  
  .feedback__input-container{
    margin-top: 12px;
  }
  
  .feedback__label{
    font-size: 12px;
  }

  .feedback__input{
    font-size: 18px;
    padding: 6px 4px;
  }

  .feedback__input_multiline {
    font-size: 17px;
    padding: 1px 4px;
  }

  .feedback__error {
    font-size: 12px;
  }
  
  .feedback__submit{
    margin-top: 24px;
    font-size: 20px;
  }

  .feedback__result-msg {
    font-size: 18px;
  }

  .feedback__result {
    width: 270px;
    left: calc(50% - 135px);
    right: calc(50% - 135px);
  }
}
