#chatpilot-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1000;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

#chatpilot-bubble:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

#chatpilot-panel {
  position: fixed;
  bottom: 95px;
  right: 20px;
  width: 360px;
  max-height: 520px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 16px;
  padding: 0;
  display: none;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  z-index: 1000;
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
  overflow: hidden;
}

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

.chat-header {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 18px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.assistant-name {
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  max-height: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.chat-input-container {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
  backdrop-filter: blur(10px);
}

#chat-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

#chat-input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
}

#chat-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#send-button {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

#send-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

.message {
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.message strong {
  color: #ffd700;
  margin-right: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
} 