#chatpilot-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  border-radius: 25px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1000;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
}

#chatpilot-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
  background: #45a049;
}

#chatpilot-panel {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background: white;
  border: 2px solid #e8f5e8;
  border-radius: 20px;
  padding: 0;
  display: none;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.15);
  overflow: hidden;
}

#chatpilot-panel.open {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 18px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: 18px 18px 0 0;
}

.assistant-name {
  font-size: 16px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  max-height: 300px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #fafafa;
}

.chat-input-container {
  padding: 18px 22px;
  background: #f8f9fa;
  display: flex;
  gap: 10px;
  border-radius: 0 0 18px 18px;
}

#chat-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  background: white;
  transition: all 0.3s ease;
}

#chat-input:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#send-button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

#send-button:hover {
  background: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.message {
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 15px;
  background: white;
  border: 1px solid #e8f5e8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.message strong {
  color: #4CAF50;
  margin-right: 8px;
  font-weight: 600;
}

/* Custom scrollbar for rounded theme */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #4CAF50;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #45a049;
} 