body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh;
}

#chat-container {
    width: 400px;
    height: 600px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Полоса сообщений */
#chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    background-color: #fafafa;
}

/* Сообщения */
.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Пользователь — справа, зеленоватый */
.user-message {
    align-self: flex-end;
    background: #d2f8d2;
    border-bottom-right-radius: 4px;
}

/* Бот — слева, сероватый */
.bot-message {
    align-self: flex-start;
    background: #e5e5ea;
    border-bottom-left-radius: 4px;
}

#input-area {
    display: flex;
    padding: 12px;
    border-top: 1px solid #eee;
    background: #fff;
    gap: 10px;
}

/* поле ввода */
#user-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
}
#user-input:focus {
    border-color: #007bff; 
}

/* кнопка отправки */
#send-button {
    background: #007bff;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
#send-button:hover {
    background: #0056b3;
}





.material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size:24px;
  }
  #send-button {
    background: #00bcc9;
    border: none;
    border-radius: 50%;
    width: 44px; height:44px;
    cursor:pointer;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition: background 0.2s;
  }
  #send-button:hover { background:#ff9204; }
  
  
  