
:root {
    --primary:  #00e5ff;
    --secondary: #00e5ff;
    --light: #F7FAFF;
    --dark: #1D1D27;
}
#chat-toggle {
  position: fixed;
  bottom: 70px;
    right: 15px;
  background: #0f172a;
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2;
}

#chat-widget {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 350px;
  height: 480px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.chat-header {
  background: #0f172a;
  color: white;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f8fafc;
}

.chat-footer {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e5e7eb;
}

.chat-footer textarea {
  flex: 1;
  padding: 9px;
  border-radius: 18px;
  border: 1px solid #d1d5db;
}

.chat-footer button {
  margin-left: 8px;
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
}

.ai-msg, .user-msg {
  max-width: 80%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.ai-msg {
  background: #e5e7eb;
  align-self: flex-start;
}

.user-msg {
  background: #0f172a;
  color: white;
  align-self: flex-end;
  margin-left: auto;
}
#userInput{
  resize: none;
  overflow-y: hidden;
  height: 42px;
  outline: none;
  
}
#close-chat{
  border-radius: 50px;
    width: 34px;
    height: 25px;
    background-color: #10345F;
    border: none;
  color: var(--light);
}
.bot-pic{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  margin-bottom: 10px;
 
}
.bot-pic img{
   width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;

}

@media (max-width:900px){
  #chat-widget{
  width: 90%;
  height: 80%;
  z-index: 2;
    
  }
}