.my-chat .chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  resize: vertical; /* Добавляем свойство resize для разрешения изменения размеров элемента в вертикальном направлении */
  
}

.my-chat .chat-header .close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background-image: url('https://cdn.onlinewebfonts.com/svg/download_141619.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 70%;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: #f9f9f9;
}

.my-chat .chat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: #f9f9f9;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  
}

.my-chat .chat-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  
}

.my-chat .chat-body {
  height: 300px;
  padding: 10px;
  overflow-y: scroll; /* добавляем прокрутку */
  scroll-behavior: smooth; /* добавляем плавный скроллинг */

  
}

.my-chat .message {
  display: block;
  margin-bottom: 10px;
  max-width: 250px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  
}

.my-chat .message.received {
  background-color: #f1f0f0;
  color: #444;
  margin-right: auto;
}

.my-chat .message.sent {
  background-color: #4fcaec;
  color: #fff;
  margin-left: auto;
}

.my-chat .chat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 0px;
  background-color: #f9f9f9;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.my-chat .chat-footer input[type="text"] {
  flex-grow: 1;
  height: 100%;
  margin-right: 0px;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 0 10px;
  border-radius: 5px;
  border-top: 1px solid #ccc;
}

.my-chat .chat-footer button {
  height: 100%;
  background-color: #4fcaec;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

--------------------------------------------------------------

.order-confirmation-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

order-confirmation-modal .modal-content {
background-color: #fefefe;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 50%;
}

.order-confirmation-modal .close-modal {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.order-confirmation-modal .close-modal:hover,
.order-confirmation-modal .close-modal:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.order-confirmation-modal h2 {
font-size: 24px;
margin-top: 0;
}

.order-confirmation-modal p {
font-size: 16px;
margin-bottom: 20px;
}

.order-confirmation-modal form {
margin-bottom: 0;
}

.order-confirmation-modal .form-group {
margin-bottom: 20px;
}

.order-confirmation-modal label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}

.order-confirmation-modal input[type="text"] {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-size: 16px;
margin-bottom: 10px;
}

.order-confirmation-modal button[type="submit"] {
background-color: #4CAF50;
border: none;
color: white;
padding: 12px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-top: 20px;
cursor: pointer;
border-radius: 4px;
}

.order-confirmation-modal button[type="submit"]:hover {
background-color: #45a049;
}