/* DVS Concierge — chat launcher, panel, and contact-form status. */
.dvs-cc-launch {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99997;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 16px;
  height: 56px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  color: #03485c;
  background: #d0dd27;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease, opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.dvs-cc-launch:hover { transform: translateY(-2px); }
.dvs-cc-launch svg { width: 22px; height: 22px; }
.dvs-cc-launch.is-open { opacity: 0; pointer-events: none; transform: scale(0.9); }

.dvs-cc-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  width: min(384px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  background: #03485c;
  border: 1px solid rgba(208, 221, 39, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', system-ui, sans-serif;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.dvs-cc-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }

.dvs-cc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(0, 128, 122, 0.35);
  border-bottom: 1px solid rgba(208, 221, 39, 0.2);
}
.dvs-cc-head .dvs-cc-dot { width: 9px; height: 9px; border-radius: 50%; background: #d0dd27; box-shadow: 0 0 10px #d0dd27; }
.dvs-cc-head strong { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 16px; }
.dvs-cc-head span { color: #dfedc9; font-size: 12px; opacity: 0.75; display: block; }
.dvs-cc-clear { margin-left: auto; background: none; border: none; color: #dfedc9; cursor: pointer; padding: 5px 7px; border-radius: 8px; display: flex; align-items: center; opacity: 0.85; }
.dvs-cc-clear svg { width: 16px; height: 16px; }
.dvs-cc-clear:hover { background: rgba(255, 255, 255, 0.1); opacity: 1; }
.dvs-cc-close { background: none; border: none; color: #dfedc9; cursor: pointer; font-size: 22px; line-height: 1; padding: 4px 8px; border-radius: 8px; }
.dvs-cc-close:hover { background: rgba(255, 255, 255, 0.1); }

.dvs-cc-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dvs-cc-msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.dvs-cc-msg.bot { align-self: flex-start; background: rgba(223, 237, 201, 0.12); color: #eef6df; border-bottom-left-radius: 4px; }
.dvs-cc-msg.me { align-self: flex-end; background: #d0dd27; color: #03485c; border-bottom-right-radius: 4px; }
.dvs-cc-msg a { color: #d0dd27; text-decoration: underline; }
.dvs-cc-msg.me a { color: #03485c; }
.dvs-cc-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; }
.dvs-cc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #d0dd27; opacity: 0.5; animation: dvsCcBlink 1.2s infinite; }
.dvs-cc-typing i:nth-child(2) { animation-delay: 0.2s; }
.dvs-cc-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dvsCcBlink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

.dvs-cc-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(208, 221, 39, 0.18); background: rgba(0, 0, 0, 0.12); }
.dvs-cc-foot input {
  flex: 1; padding: 12px 14px; border-radius: 22px; border: 1px solid rgba(208, 221, 39, 0.28);
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 14.5px; font-family: inherit; outline: none;
}
.dvs-cc-foot input::placeholder { color: rgba(223, 237, 201, 0.5); }
.dvs-cc-foot input:focus { border-color: #d0dd27; }
.dvs-cc-send {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #d0dd27; color: #03485c; display: flex; align-items: center; justify-content: center;
}
.dvs-cc-send:disabled { opacity: 0.5; cursor: default; }
.dvs-cc-send svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .dvs-cc-launch { right: 16px; bottom: 16px; }
  .dvs-cc-launch .dvs-cc-label { display: none; }
  .dvs-cc-launch { padding: 0; width: 56px; justify-content: center; border-radius: 50%; }
  .dvs-cc-panel { right: 8px; left: 8px; bottom: 8px; width: auto; height: min(78vh, calc(100vh - 16px)); }
}

/* Contact-form submit status injected by the concierge script. */
.dvs-form-status { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 15px; line-height: 1.5; display: none; }
.dvs-form-status.show { display: block; }
.dvs-form-status.ok { background: rgba(0, 128, 122, 0.15); border: 1px solid rgba(0, 128, 122, 0.5); color: #dfedc9; }
.dvs-form-status.err { background: rgba(255, 93, 93, 0.12); border: 1px solid rgba(255, 93, 93, 0.5); color: #ffd9d9; }

/* markdown formatting inside chat replies */
.dvs-cc-msg strong{font-weight:600}
.dvs-cc-msg em{font-style:italic}
.dvs-cc-msg a{text-decoration:underline}
.dvs-cc-msg code{font-family:ui-monospace,"SFMono-Regular",Menlo,monospace;font-size:.9em;background:rgba(0,0,0,.07);padding:1px 5px;border-radius:4px}
.dvs-cc-msg pre{background:rgba(0,0,0,.07);padding:8px 10px;border-radius:6px;overflow:auto;margin:6px 0}
.dvs-cc-msg pre code{background:none;padding:0}
.dvs-cc-msg ul,.dvs-cc-msg ol{margin:6px 0 6px 20px;padding:0}
.dvs-cc-msg li{margin:2px 0}
