   /* Фон и скрытие модального окна */
  #send_kp {

    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    font-family: Arial, sans-serif;
  }

  /* Центрирование контента и стили */
  #send_kp .modal-dialog {
    background-color: #f0f0f0;
    margin: 10% auto;
    padding: 0px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
  }

  /* Поля формы */
    #send_kp input,   #send_kp textarea {
    width: 95%;
    margin: 8px 10px 15px 10px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

    #send_kp label {
        margin-left:15px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    display: block;
  }

  /* Кнопки */
   #send_kp button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
  }

  #send_kp  .close {

    border: none;
     margin:15px;
  }


#send_kp .close-btn {
 
    border: none;
     margin:15px;
  }

   #send_kp button[type="submit"] {
    background-color: #d9534f;
    border: none;
    color: white;
    margin:15px;
  }

 


#send_kp   .modal-header {
  display: flex;
  justify-content: space-between; /* Заголовок слева, крестик справа */
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

#send_kp .modal-title {
  margin: 0;
  font-weight: 500;
  font-size: 1.25rem;
}

#send_kp  .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  color: #000;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

#send_kp  .close:hover {
  opacity: 1;
}

#send_kp  .itsok{
    display:flex;
    padding:10px;
}

#send_kp  .itsok span{
     white-space: nowrap;
}