/* Kanelo — Boitekanelo College virtual assistant */

#chat-toggle {
  align-items: center;
  animation: bc-chat-toggle-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  background: linear-gradient(145deg, #203b91 0%, #172b75 64%, #10205e 100%);
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 14px 36px rgba(7, 23, 49, 0.3), 0 0 0 1px rgba(23, 43, 117, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 66px;
  justify-content: center;
  overflow: visible;
  position: fixed;
  right: 24px;
  width: 66px;
  z-index: 1101;
}

#chat-toggle::after {
  animation: bc-chat-attention 3.6s ease-out 1.2s infinite;
  border: 2px solid rgba(23, 43, 117, 0.34);
  border-radius: inherit;
  content: "";
  inset: -7px;
  pointer-events: none;
  position: absolute;
}

#chat-toggle:hover {
  box-shadow: 0 18px 42px rgba(7, 23, 49, 0.38), 0 0 0 5px rgba(254, 203, 7, 0.18);
  transform: translateY(-3px);
}

#chat-toggle.is-open {
  background: #102344;
  transform: none;
}

#chat-toggle.is-open::after {
  animation: none;
  opacity: 0;
}

.bc-chat-toggle__icon {
  align-items: center;
  display: flex;
  font-size: 24px;
  inset: 0;
  justify-content: center;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.bc-chat-toggle__icon--close,
#chat-toggle.is-open .bc-chat-toggle__icon--open {
  opacity: 0;
  transform: rotate(-80deg) scale(0.7);
}

#chat-toggle.is-open .bc-chat-toggle__icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

#chat-toggle .chat-label {
  align-items: flex-start;
  animation: bc-chat-label-in 0.55s ease 0.5s both;
  background: #fff;
  border: 1px solid rgba(16, 35, 68, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(7, 23, 49, 0.16);
  color: #102344;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
  opacity: 1;
  padding: 9px 15px 9px 17px;
  pointer-events: none;
  position: absolute;
  right: 74px;
  transform: none;
  white-space: nowrap;
}

#chat-toggle .chat-label::after {
  background: #fff;
  border-right: 1px solid rgba(16, 35, 68, 0.12);
  border-top: 1px solid rgba(16, 35, 68, 0.12);
  content: "";
  height: 10px;
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
}

#chat-toggle .chat-label strong {
  color: #102344;
  font-size: 12px;
  font-weight: 800;
}

#chat-toggle .chat-label small {
  color: #147a4b;
  font-size: 11px;
  font-weight: 700;
}

#chat-toggle.is-open .chat-label {
  opacity: 0;
  transform: translateX(8px);
  visibility: hidden;
}

#chat-box.bc-chat {
  background: #f5f8fb;
  border: 1px solid rgba(16, 35, 68, 0.14);
  border-radius: 24px;
  bottom: 102px;
  box-shadow: 0 30px 80px rgba(7, 23, 49, 0.28), 0 8px 24px rgba(7, 23, 49, 0.12);
  display: flex !important;
  flex-direction: column;
  font-family: "Open Sans", Arial, sans-serif;
  height: min(610px, calc(100dvh - 126px));
  max-height: none;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transform: translateY(22px) scale(0.96);
  transform-origin: right bottom;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.28s;
  visibility: hidden;
  width: min(408px, calc(100vw - 32px));
  z-index: 1100;
}

#chat-box.bc-chat.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

#chat-header.bc-chat__header {
  align-items: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(29, 146, 91, 0.34), transparent 30%),
    linear-gradient(130deg, #102344 0%, #172b75 68%, #21418a 100%);
  color: #fff;
  display: grid;
  gap: 9px;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  min-height: 92px;
  overflow: hidden;
  padding: 17px 18px;
  position: relative;
  text-align: left;
}

#chat-header.bc-chat__header::after {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
  height: 110px;
  position: absolute;
  right: 34px;
  top: -70px;
  width: 110px;
}

.bc-chat__brand {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  color: #172b75;
  display: flex;
  height: 50px;
  justify-content: center;
  position: relative;
  width: 50px;
  z-index: 1;
}

.bc-chat__brand > span {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.bc-chat__brand i {
  background: #fecb07;
  border-radius: 50%;
  bottom: -4px;
  color: #102344;
  font-size: 9px;
  padding: 4px;
  position: absolute;
  right: -4px;
}

.bc-chat__identity {
  min-width: 0;
  position: relative;
  z-index: 1;
}

#chat-header .bc-chat__identity h2 {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 5px;
}

#chat-header .bc-chat__identity p {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  display: flex !important;
  font-size: 11px;
  font-weight: 600;
  gap: 6px;
  line-height: 1.35;
  margin: 0;
}

.bc-chat__status-dot {
  background: #58df97;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(88, 223, 151, 0.12);
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.bc-chat__header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  position: relative;
  z-index: 2;
}

.bc-chat__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  position: relative;
  width: 38px;
  z-index: 2;
}

.bc-chat__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(4deg);
}

.bc-chat__trust-note {
  align-items: center;
  background: #fff8d9;
  border-bottom: 1px solid rgba(190, 144, 0, 0.16);
  color: #70560c;
  display: flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 32px;
  padding: 7px 14px;
}

.bc-chat__trust-note i {
  color: #147a4b;
}

.bc-chat__trust-note a {
  color: #70560c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#chat-box #chat-messages {
  background:
    radial-gradient(circle at 15% 0%, rgba(29, 146, 91, 0.07), transparent 30%),
    linear-gradient(180deg, #f5f8fb 0%, #eef3f7 100%);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 16px 22px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(23, 43, 117, 0.24) transparent;
  scrollbar-width: thin;
}

#chat-box #chat-messages::-webkit-scrollbar {
  width: 6px;
}

#chat-box #chat-messages::-webkit-scrollbar-thumb {
  background: rgba(23, 43, 117, 0.24);
  border-radius: 999px;
}

#chat-box .message-row {
  align-items: flex-end;
  animation: bc-chat-message-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  display: flex;
  gap: 8px;
  margin: 0;
  width: 100%;
}

#chat-box .message-row.bot {
  flex-direction: row !important;
  justify-content: flex-start !important;
}

#chat-box .message-row.user {
  flex-direction: row !important;
  justify-content: flex-end !important;
}

#chat-box .avatar-container {
  align-items: center;
  display: flex;
  flex: 0 0 34px;
  min-width: 34px;
}

#chat-box .avatar-icon {
  align-items: center;
  background: linear-gradient(145deg, #21418a, #172b75);
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(7, 23, 49, 0.16);
  color: #fff;
  display: flex;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  margin: 0;
  width: 34px;
}

#chat-box .avatar-name {
  display: none;
}

#chat-box .message-stack {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

#chat-box .user .message-stack {
  align-items: flex-end;
}

#chat-box .message-meta {
  color: #758096;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 4px 5px;
  text-transform: uppercase;
}

#chat-box .message-content {
  background: #fff;
  border: 1px solid rgba(16, 35, 68, 0.1);
  border-radius: 6px 18px 18px 18px;
  box-shadow: 0 7px 20px rgba(7, 23, 49, 0.07);
  color: #263852;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.58;
  max-width: none;
  padding: 11px 13px;
  word-break: break-word;
}

#chat-box .user .message-content {
  background: linear-gradient(135deg, #21418a, #172b75);
  border-color: transparent;
  border-radius: 18px 6px 18px 18px;
  color: #fff;
}

#chat-box .message-content,
#chat-box .message-content * {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.58;
}

#chat-box .bot .message-content,
#chat-box .bot .message-content * {
  color: #263852;
}

#chat-box .user .message-content,
#chat-box .user .message-content * {
  color: #fff;
}

#chat-box .message-content p {
  display: block !important;
  margin: 0 0 7px;
}

#chat-box .message-content p:last-child {
  margin-bottom: 0;
}

#chat-box .message-content ul,
#chat-box .message-content ol {
  margin: 7px 0 4px;
  padding-left: 18px;
}

#chat-box .message-content li {
  margin-bottom: 4px;
}

#chat-box .bot .message-content a {
  color: #147a4b !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(20, 122, 75, 0.35);
  text-underline-offset: 3px;
}

.bc-chat__quick-prompts {
  animation: bc-chat-message-in 0.34s ease 0.08s both;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 42px;
}

.bc-chat__prompt {
  background: #fff;
  border: 1px solid rgba(23, 43, 117, 0.18);
  border-radius: 999px;
  color: #172b75;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  padding: 8px 11px;
  text-align: left;
}

.bc-chat__prompt:hover {
  background: #e8f5ee;
  border-color: #1d925b;
  color: #147a4b;
  transform: translateY(-1px);
}

#chat-box .typing-indicator .message-content {
  min-width: 250px;
  padding: 12px;
}

#chat-box .bc-chat__progress {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  transition: background .2s ease, border-color .2s ease;
}

#chat-box .typing-indicator.is-updated .bc-chat__progress {
  background: #f7fbf9;
  border-color: rgba(29, 146, 91, .24);
}

.bc-chat__progress-icon {
  align-items: center;
  animation: bc-chat-search 1.4s ease-in-out infinite;
  background: #e3f6ea;
  border-radius: 10px;
  color: #147a4b;
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

#chat-box .bc-chat__progress-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#chat-box .bc-chat__progress-copy strong {
  color: #172b75;
  font-size: 11px !important;
  line-height: 1.35;
}

#chat-box .bc-chat__progress-copy small {
  color: #6c7690;
  font-size: 9px !important;
  line-height: 1.4;
  margin-top: 2px;
}

#chat-box .typing-dots {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  padding: 0;
}

#chat-box .typing-dots > span:not(.sr-only) {
  animation: bc-chat-dot 1.1s ease-in-out infinite;
  background: #1d925b;
  border-radius: 50%;
  height: 7px;
  opacity: 0.4;
  width: 7px;
}

#chat-box .typing-dots > span:nth-child(3) {
  animation-delay: 0.14s;
}

#chat-box .typing-dots > span:nth-child(4) {
  animation-delay: 0.28s;
}

#chat-input-area.bc-chat__composer {
  align-items: center;
  background: #fff;
  border-top: 1px solid rgba(16, 35, 68, 0.1);
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
  padding: 12px 14px 8px;
}

#chat-box #chat-input {
  background: #f3f6f9;
  border: 1px solid rgba(16, 35, 68, 0.12);
  border-radius: 15px;
  color: #102344;
  flex: 1 1 auto;
  font-size: 12px;
  height: 46px;
  min-height: 46px;
  outline: none;
  padding: 0 13px;
}

#chat-box #chat-input::placeholder {
  color: #758096;
  opacity: 1;
}

#chat-box #chat-input:focus {
  background: #fff;
  border-color: #21418a;
  box-shadow: 0 0 0 3px rgba(33, 65, 138, 0.1);
}

#chat-box #chat-send {
  align-items: center;
  background: linear-gradient(145deg, #fecb07, #f0b900);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(190, 144, 0, 0.24);
  color: #102344;
  cursor: pointer;
  display: flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
  padding: 0;
  width: 46px;
}

#chat-box #chat-send:hover {
  box-shadow: 0 10px 24px rgba(190, 144, 0, 0.34);
  transform: translateY(-2px);
}

#chat-box #chat-send:disabled,
#chat-box #chat-input:disabled {
  cursor: wait;
  opacity: 0.62;
}

.bc-chat__disclaimer {
  background: #fff;
  color: #758096;
  display: block !important;
  flex: 0 0 auto;
  font-size: 8px;
  line-height: 1.35;
  margin: 0;
  padding: 0 16px 10px;
  text-align: center;
}

.bc-chat__finish {
  display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.12);
  color: #fff; font-size: 11px; font-weight: 700; cursor: pointer;
}
.bc-chat__finish:hover,.bc-chat__finish:focus-visible { background: rgba(255,255,255,.22); }
.bc-chat__finish:disabled { opacity: .55; cursor: default; }
.bc-chat__finish span { opacity: 1 !important; visibility: visible !important; }
.bc-chat__action-card {
  position: relative; margin: 12px 4px; padding: 14px; border: 1px solid #d9e0ef;
  border-left: 4px solid #fecb07; border-radius: 12px; background: #fff;
  box-shadow: 0 7px 20px rgba(23,43,117,.08); color: #24304a;
}
.bc-chat__action-card > b { display: block; color: #172b75; margin-bottom: 4px; }
.bc-chat__action-card > p { margin: 0 0 10px; font-size: 12px; line-height: 1.45; }
.bc-chat__action-card input:not([type="checkbox"]),.bc-chat__action-card textarea {
  display: block; width: 100%; margin: 7px 0; padding: 9px 10px; border: 1px solid #ccd5e5;
  border-radius: 8px; background: #fff; color: #1f2937; font: inherit; font-size: 12px; resize: vertical;
}
.bc-chat__action-card > button[type="submit"] {
  width: 100%; margin-top: 9px; padding: 9px 12px; border: 0; border-radius: 8px;
  background: #172b75; color: #fff; font-weight: 700; cursor: pointer;
}
.bc-chat__action-card > button[type="submit"]:disabled { opacity: .5; cursor: default; }
.bc-chat__action-card small { display: block; color: #68738a; font-size: 10px; line-height: 1.4; }
.bc-chat__action-dismiss { position: absolute; top: 7px; right: 9px; border: 0; background: transparent; color: #6c7690; font-size: 20px; cursor: pointer; }
.bc-chat__consent { display: flex; align-items: flex-start; gap: 6px; margin: 9px 0; font-size: 10px; line-height: 1.4; }
.bc-chat__consent input { margin-top: 2px; }
.bc-chat__rating { display: flex; gap: 3px; margin: 4px 0 10px; }
.bc-chat__rating button { padding: 0 2px; border: 0; background: transparent; color: #c6cbd6; font-size: 27px; cursor: pointer; }
.bc-chat__rating button.is-selected { color: #f2b400; }
.bc-chat__action-notice { margin: 8px 4px; padding: 9px 11px; border-radius: 8px; background: #e3f6ea; color: #17643a; font-size: 12px; }
.bc-chat__action-notice.is-error { background: #fdeaea; color: #8c2929; }

.bc-chat__safety {
  background: #fff8d9;
  border-radius: 8px;
  color: #70560c;
  font-size: 9px !important;
  line-height: 1.45 !important;
  margin: 9px 0 !important;
  padding: 8px;
}

.bc-chat__privacy-link {
  color: #172b75;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  margin-top: 5px;
  text-decoration: underline;
}

#chat-input-area.is-ended {
  display: none;
}

.bc-chat__rating-card,
.bc-chat__end-card {
  animation: bc-chat-message-in .3s ease both;
  background: #fff;
  border: 1px solid #d9e0ef;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(23, 43, 117, .13);
  color: #24304a;
  margin: 8px 0;
  padding: 20px 18px 16px;
  position: relative;
  text-align: center;
}

.bc-chat__rating-face,
.bc-chat__end-icon {
  align-items: center;
  background: #fecb07;
  border: 5px solid #f5f8fb;
  border-radius: 50%;
  color: #172b75;
  display: flex;
  font-size: 24px;
  height: 58px;
  justify-content: center;
  margin: -44px auto 10px;
  width: 58px;
}

.bc-chat__end-icon {
  background: #1d925b;
  color: #fff;
}

.bc-chat__rating-card h3,
.bc-chat__end-card h3 {
  color: #172b75;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.bc-chat__rating-card > p,
.bc-chat__end-card > p {
  color: #68738a;
  font-size: 11px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.bc-chat__rating-card textarea {
  border: 1px solid #ccd5e5;
  border-radius: 10px;
  color: #24304a;
  display: block;
  font: inherit;
  font-size: 11px;
  margin: 10px 0;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.bc-chat__rating-card .bc-chat__rating {
  justify-content: center;
  margin: 7px 0 11px;
}

.bc-chat__rating-card .bc-chat__rating button {
  font-size: 32px;
}

.bc-chat__feedback-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.bc-chat__feedback-tags button {
  background: #f4f6fa;
  border: 1px solid #d9e0ef;
  border-radius: 999px;
  color: #526077;
  cursor: pointer;
  font-size: 9px;
  padding: 5px 8px;
}

.bc-chat__feedback-tags button.is-selected {
  background: #e3f6ea;
  border-color: #1d925b;
  color: #116237;
}

.bc-chat__rating-submit,
.bc-chat__restart {
  background: #172b75;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  padding: 10px 12px;
  width: 100%;
}

.bc-chat__download {
  background: #fff;
  border: 1px solid #172b75;
  border-radius: 10px;
  color: #172b75;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  margin: 2px 0 8px;
  padding: 10px 12px;
  width: 100%;
}

.bc-chat__rating-submit:disabled,
.bc-chat__restart:disabled,
.bc-chat__transcript-form button:disabled {
  cursor: default;
  opacity: .5;
}

.bc-chat__rating-skip {
  background: transparent;
  border: 0;
  color: #68738a;
  cursor: pointer;
  font-size: 10px;
  margin-top: 8px;
  text-decoration: underline;
}

.bc-chat__reference {
  background: #eef2fb;
  border-radius: 8px;
  color: #172b75 !important;
  font-weight: 800;
  padding: 8px;
}

.bc-chat__transcript-form {
  border-top: 1px solid #e1e6f0;
  margin-top: 12px;
  padding-top: 12px;
  text-align: left;
}

.bc-chat__transcript-form label {
  color: #34415c;
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 5px;
}

.bc-chat__transcript-form > div {
  display: flex;
  gap: 6px;
}

.bc-chat__transcript-form input {
  border: 1px solid #ccd5e5;
  border-radius: 9px;
  flex: 1 1 auto;
  font-size: 11px;
  min-width: 0;
  padding: 9px;
}

.bc-chat__transcript-form button {
  background: #fecb07;
  border: 0;
  border-radius: 9px;
  color: #102344;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  padding: 8px 10px;
}

.bc-chat__transcript-form small {
  color: #758096;
  display: block;
  font-size: 8px;
  line-height: 1.4;
  margin: 5px 0 11px;
}

.bc-chat__sent {
  color: #17643a;
  font-size: 11px;
  text-align: center;
}

@keyframes bc-chat-toggle-in {
  from { opacity: 0; transform: translateY(14px) scale(0.72); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bc-chat-label-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bc-chat-attention {
  0%, 54% { opacity: 0; transform: scale(0.9); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.38); }
}

@keyframes bc-chat-message-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bc-chat-dot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes bc-chat-search {
  0%, 100% { transform: translateX(-2px) rotate(-6deg); }
  50% { transform: translateX(2px) rotate(6deg); }
}

@media (max-width: 575px) {
  #chat-toggle {
    bottom: 18px;
    height: 60px;
    right: 16px;
    width: 60px;
  }

  #chat-toggle .chat-label {
    right: 68px;
  }

  #chat-box.bc-chat {
    border-radius: 20px;
    bottom: 88px;
    height: min(620px, calc(100dvh - 106px));
    right: 12px;
    width: calc(100vw - 24px);
  }

  #chat-header.bc-chat__header {
    min-height: 84px;
    padding: 14px 15px;
  }

  #chat-box #chat-messages {
    padding: 16px 13px 19px;
  }

  #chat-box .message-stack {
    max-width: 84%;
  }

  .bc-chat__quick-prompts {
    padding-left: 42px;
  }
}

@media (max-width: 380px) {
  #chat-toggle .chat-label {
    display: none;
  }

  .bc-chat__trust-note {
    font-size: 9px;
  }

  #chat-header .bc-chat__identity p {
    display: none !important;
  }

  #chat-header .bc-chat__identity h2 {
    margin-bottom: 0;
  }

  #chat-box .typing-indicator .message-content {
    min-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #chat-toggle,
  #chat-toggle::after,
  #chat-toggle .chat-label,
  #chat-box.bc-chat,
  #chat-box .message-row,
  .bc-chat__quick-prompts,
  #chat-box .typing-dots > span:not(.sr-only) {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .bc-chat__progress-icon {
    animation: none !important;
  }
}
