@font-face {
  font-family: 'BonMono';
  src: url('./fonts/BonMono.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
  font-size: 14px;
}
body {
  margin: 0;
}

#webchat {
  height: 100%;
  width: 100%;
}

/* Adaptive Card container */
.ac-container {
  font-family: 'BonMono, BonBru, Arial,sans-serif';
}

/* Action buttons like "Check pricing" */
.ac-pushButton {
  background-color: #cc992b !important;
  color: #FFF !important;
  border-radius: 4px !important;
  font-weight: bold !important;
}

/* Input controls like your Country dropdown */
.ac-input {
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}

/* Card emphasis sections */
.ac-emphasis {
  background-color: #e3f2fd !important;
}

/* ── Scrollbars ─────────────────────────────────────────────────────── */

/* Hide scrollbars everywhere while keeping scroll functionality */
* {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge legacy */
}
*::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, WebView2 */
}

/* ── Links ───────────────────────────────────────────────────────────── */

a {
  color: #C49330;
}

/* ── Citation / link-definitions ────────────────────────────────────── */

.webchat__link-definitions {
    border-top: 1px solid #C49330;
    margin-top: 8px;
    padding-top: 6px;
}

.webchat__link-definitions__header-text {
    color: #CCCCCC;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.webchat__link-definitions__list-item-body {
    background-color: #666666;
}

a.webchat__link-definitions__list-item-box {
    border-color: #666666 !important;
}

@media (forced-colors: none) {
  .webchat__link-definitions__badge {
      background-color: #666666 !important;
      color: #EEEEEE !important;
      border-color: #666666 !important;
  }
}

.webchat__link-definitions__list-item-text {
    color: #C49330 !important;
}

/* ── External-link icon — inline badge inside bubble text ────────────
   Uses a Material Design open-in-new path on viewBox 0 0 24 24 so the
   path content is well inside the bounds and never clips at any size. */
.webchat__render-markdown__external-link-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C49330' d='M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E") !important;
    display: inline-block !important;
    width: 1em !important;
    height: 0.85em !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle !important;
}

/* ── External-link icon — inside references list ─────────────────────
   These icons are SVG elements (not background-image), coloured by fill/color. */
.webchat__link-definitions svg,
.webchat__link-definitions svg path,
.webchat__link-definitions svg rect,
.webchat__link-definitions svg circle,
.webchat__link-definitions a svg {
    fill: #C49330 !important;
    color: #C49330 !important;
}

.webchat__link-definitions {
    border-color: #666666 !important;
}