:root {
  --oc-primary: #0b63ff;
  --oc-background: #ffffff;
  --oc-text: #000000;
}

#oc-chat-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: Arial, sans-serif;
  z-index: 9999;
}

.oc-chat-button {
  background: var(--oc-primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  font-size: 28px;
  transition: background 0.2s ease;
}
.oc-chat-button:hover {
  background: #0849c9;
}

.oc-chat-window {
  width: 360px;
  height: 500px;
  background: var(--oc-background);
  color: var(--oc-text);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  overflow: hidden;
}

.oc-hidden {
  display: none !important;
}

.oc-chat-header {
  background: var(--oc-primary);
  color: white;
  padding: 14px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.oc-chat-header strong {
  font-size: 15px;
}

.oc-chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 14px;
  background: #fafafa;
}

.oc-message {
  margin-bottom: 10px;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  clear: both;
  word-wrap: break-word;
}

.oc-message.user {
  background: var(--oc-primary);
  color: white;
  margin-left: auto;
}

.oc-message.server {
  background: #f1f1f1;
  color: black;
  margin-right: auto;
}

.oc-sender {
  display: block;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 3px;
}

.oc-chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.oc-chat-input input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
}

.oc-chat-input button {
  background: var(--oc-primary);
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}
