/* Full‑width chat page background */
#bmw-agent {
  width: 100% !important;
  max-width: none !important;
  background: #1a1a1a;
  padding: 12px;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans‑serif;
}

/* Chat “window” */
.bmw-messages {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* User bubble (right) */
.bmw-messages .user {
  align-self: flex-end;
  background: #dcf8c6;
  color: #000;
  padding: 8px 12px;
  border-radius: 18px 18px 0 18px;
  max-width: 80%;
  word-wrap: break-word;
}

/* Bot bubble (left) */
.bmw-messages .bot {
  align-self: flex-start;
  background: #ffffff;
  color: #000;
  padding: 8px 12px;
  border-radius: 18px 18px 18px 0;
  max-width: 80%;
  word-wrap: break-word;
  border: 1px solid #ddd;
}

/* Typing / error messages */
.bmw-messages .bot-typing,
.bmw-messages .bot-error {
  align-self: flex-start;
  font-style: italic;
  color: #555;
}

/* Input row */
.bmw-input {
  display: flex;
  margin-top: 10px;
  gap: 6px;
}
.bmw-input input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 1rem;
}
.bmw-input button {
  background: #128c7e;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 0 16px;
  font-size: 1rem;
  cursor: pointer;
}

/* Inline images */
.bmw-agent-image {
  display: block;
  margin: 8px 0;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* BMW Option Buttons – blue primary style */
.bmw-messages .bmw-option {
  background-color: #2d6cdf;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  margin: 4px 2px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.bmw-messages .bmw-option:hover {
  background-color: #234db0;
}
.bmw-messages .bmw-option:active {
  background-color: #1b3993;
}

/* BMWFanatics “Call now” Buttons (green pill style) */
.bmw-call-button {
  background-color: #128C7E;       /* WhatsApp‑style green */
  color: #ffffff !important;       /* white text */
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  margin: 4px 2px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.bmw-call-button:hover {
  background-color: #0f786a;       /* slightly darker on hover */
}
.bmw-call-button .bmw-call-icon {
  margin-right: 6px;               /* space between icon and text */
  font-size: 1.1em;
  color: #ffffff !important;
}
