#chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0073e6;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.2s ease;
}
#chat-icon:hover { transform: scale(1.08); }

#chat-window {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 350px;
  height: 480px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, sans-serif;
  z-index: 1000;
}

#chat-header {
  background: #0073e6;
  color: #fff;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-family: "Grifter", Sans-serif;
}
#chat-header span {
  cursor: pointer;
  font-size: 20px;
}


#chat-messages {
  flex: 1;                
  padding: 12px;
  overflow-y: auto;  
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 50px);
  scrollbar-width: thin;
}

#chat-messages::-webkit-scrollbar {
  width: 6px;
}
#chat-messages::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}

.message {
  margin: 6px 0;
  padding: 10px 14px;
  border-radius: 8px;
  max-width: 80%;
  font-size: 14px;
}
.bot {
  background: #f1f1f1;
  align-self: flex-start;
  font-family: 'Roboto Mono';
    font-weight: 500 !important;
}
.user {
  background: #0073e6;
  color: #fff;
  align-self: flex-end;
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 10px;
  background: #fafafa;
}
#chat-input {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-family: 'Roboto Mono';
}
#chat-send {
  background: #0073e6;
  color: white;
  border: none;
  padding: 0 16px;
  margin-left: 8px;
  border-radius: 6px;
  cursor: pointer;
}
#chat-send:hover { background: #005bb5; }