.vc-chat-toggle {
  position: fixed; right: 24px; bottom: 92px; z-index: 1050;
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--primary-color); color: #fff; font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer;
}
.vc-chat-toggle:hover { background: var(--primary-dark); }

.vc-chat-panel {
  position: fixed; right: 24px; bottom: 160px; z-index: 1050;
  width: 360px; max-width: calc(100vw - 24px); height: 480px; max-height: calc(100vh - 180px);
  display: flex; flex-direction: column; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25); overflow: hidden;
}
.vc-chat-panel[hidden] { display: none; }

.vc-chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--primary-color); color: #fff; font-weight: 600;
}
.vc-chat-header button { background: none; border: 0; color: #fff; cursor: pointer; }

.vc-chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.vc-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.4; white-space: pre-wrap; }
.vc-msg-bot { background: #f1efe6; align-self: flex-start; }
.vc-msg-user { background: var(--primary-color); color: #fff; align-self: flex-end; }

.vc-chat-suggestions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.vc-chat-suggestions button {
  background: #fff; border: 1px solid var(--primary-color); color: var(--primary-dark);
  border-radius: 16px; padding: 4px 12px; font-size: .85rem; cursor: pointer;
}

.vc-chat-form { display: flex; border-top: 1px solid #e5e5e5; }
.vc-chat-form input { flex: 1; border: 0; padding: 12px; font-size: 16px; outline: none; }
.vc-chat-form button { border: 0; background: none; color: var(--primary-dark); padding: 0 16px; cursor: pointer; }

.vc-chat-disclaimer { font-size: .7rem; color: #777; padding: 6px 12px 8px; text-align: center; }

@media (max-width: 767.98px) {
  .vc-chat-toggle { right: 16px; bottom: 78px; width: 50px; height: 50px; font-size: 1.35rem; }
  .vc-chat-panel {
    left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none;
    height: min(520px, 75vh); max-height: none; border-radius: 14px;
  }
}
