/* Chatbox Container - Glass Effect */
.chatbox {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";	
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Chat Header - New Smaller Header with Custom Color */
.chat-header {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: linear-gradient(135deg, rgba(0, 85, 136, 0.8), rgba(0, 195, 255, 0.6)); 
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 15px;
  text-align: center;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 25px 25px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Optional glowing effect on hover or active */
.chat-header:hover {
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.8), rgba(0, 85, 136, 0.9));
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.5);
}

/* Text style */
.chat-header span {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Hide the Default "Hi there! 👋" Message */
.chat-header h1 {
  display: none !important;
}

/* Chat Messages Area - Glass Effect */
.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Chat Input - Glass Style */
.chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 15px 15px;
}

/* Input Field */
.chat-input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
}

/* Send Button */
.chat-send-button {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  padding: 12px;
  margin-left: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.chat-send-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Glass Messages */
.bot-message, .user-message {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  padding: 10px 15px;
  border-radius: 10px;
  max-width: 80%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* User Message (Darker Glass) */
.user-message {
  background: rgba(0, 0, 0, 0.4);
  color: white;
}

