#gemini-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-family: Arial, sans-serif;
  z-index: 9999;
}

#gemini-toggle {
  width: 60px;
  height: 60px;
  background-color: #0066cc;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#gemini-box {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 300px;
  max-height: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

#gemini-header {
  background: #0066cc;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

#gemini-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  max-height: 300px;
}

.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 90%;
  word-wrap: break-word;
}

.message.user {
  background-color: #e6f0ff;
  align-self: flex-end;
  text-align: right;
}

.message.bot {
  background-color: #f2f2f2;
  align-self: flex-start;
  text-align: left;
}

#gemini-form {
  display: flex;
  border-top: 1px solid #ccc;
}

#gemini-input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
}

#gemini-input:focus {
  outline: none;
}

#gemini-form button {
  background: #0066cc;
  color: white;
  border: none;
  padding: 0 16px;
  cursor: pointer;
}

#gemini-form button:hover {
  background: #004a99;
}
