.modal-overlay {
  display: none; 
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.assistant-modal-content {
  background: white;
  width: 60%;
  height: 70%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

body.modal-open { overflow: hidden; }   /* lock background */

.chat-window {
  flex: 1; /* Grows to fill available space */
  padding: 20px;
  overflow-y: auto;
  background: #f9f9f9;
}

.chat-input-area {
  padding: 15px;
  border-top: 1px solid #ddd;
  display: flex;
}

.chat-input-area textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 100%;
}

.chat-header {
   display: flex;
   justify-content: space-between;
   padding: 5px;
   align-items: center;
   background-color: #74B559;
}

.close-btn {
   border-top-right-radius: 8px;
   background-color: white;
}

.chat-input-area button {
    border-radius: 4px;
    margin-left: 10px;
    height: 100%;
}

/* Simple bubble styling */
.user-msg { text-align: right; color: blue; margin: 10px 0; }
.bot-msg { text-align: left; color: #333; margin: 10px 0; }
