/* Unitek Chatbot — matches ai-platform-poc ChatWidget.css (scoped under #unitek-chatbot-root) */

#unitek-chatbot-root {
  --uc-atlas-navy: #0f3349;
  --uc-atlas-surface: #f4f7fb;
  --uc-atlas-primary: #0058d0;
  --uc-atlas-blue-500: #3b82f6;
  --uc-atlas-text-navy: #0f3349;

  font-family: Outfit;
  font-size: 15px;
  line-height: 1.45;
}

#unitek-chatbot-root * {
  font-family: Outfit !important;
}

#unitek-chatbot-root .uc-fab {
  position: fixed;
  right: 20px;
  bottom: 78px;
  width: 68.396px;
  height: 68.396px;
  aspect-ratio: 1/1;
  border-radius: 41.485px;
  padding: 0;
  border: none;
  background: #28323C;
  cursor: pointer;
  box-shadow: 2px 4px 15.8px 0px rgba(40, 50, 60, 0.3);
  z-index: 100000;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#unitek-chatbot-root .uc-fab:not([aria-expanded="true"]) {
  /* Subtle pulse effect to draw attention */
  animation: ucFabPulse 2s infinite;
}

#unitek-chatbot-root .uc-fab:hover {
  transform: scale(1.04);
  box-shadow: 2px 6px 18px 0px rgba(40, 50, 60, 0.35);
  animation-play-state: paused;
}

@keyframes ucFabPulse {
  0% {
    box-shadow: 2px 4px 15.8px 0px rgba(40, 50, 60, 0.3), 0 0 0 0px rgba(34, 197, 94, 0.85);
  }
  70% {
    box-shadow: 2px 4px 15.8px 0px rgba(40, 50, 60, 0.3), 0 0 0 16px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 2px 4px 15.8px 0px rgba(40, 50, 60, 0.3), 0 0 0 0px rgba(34, 197, 94, 0);
  }
}

#unitek-chatbot-root .uc-fab:focus-visible {
  outline: 2px solid var(--uc-atlas-primary);
  outline-offset: 3px;
}

#unitek-chatbot-root .uc-bot-logo {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

#unitek-chatbot-root .uc-fab .uc-bot-logo {
  width: 37.154px;
  height: 37.971px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

#unitek-chatbot-root .uc-fab[aria-expanded="true"] {
  display: none;
}

#unitek-chatbot-root .uc-tooltip {
  position: fixed;
  right: 104px;
  bottom: 72px;
  display: flex;
  width: 229px;
  height: 68px;
  padding: 3.809px 6.348px;
  justify-content: center;
  align-items: center;
  gap: 12.697px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #28323C;
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, 0.25));
  box-sizing: border-box;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#unitek-chatbot-root .uc-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-top-right-radius: 2px;
}

#unitek-chatbot-root .uc-fab:hover+.uc-tooltip {
  opacity: 1;
  transform: translateX(0);
}

#unitek-chatbot-root .uc-panel__brand .uc-bot-logo {
  width: 37.154px;
  height: 37.971px;
}

#unitek-chatbot-root .uc-msg-avatar--bot.uc-bot-logo {
  width: 30px;
  height: 30px;
}

#unitek-chatbot-root .uc-panel {
  --chat-bot: var(--uc-atlas-primary);
  --chat-bot-deep: #003d99;
  --chat-teal-send: #0f766e;

  position: fixed;
  right: 20px;
  bottom: 75px;
  width: min(100vw - 2.5rem, 450px);
  height: min(100vh - 7rem, 626px);
  max-height: calc(100dvh - 7rem);
  display: flex;
  flex-direction: column;
  background: var(--uc-atlas-surface);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(15, 51, 73, 0.18);
  z-index: 99999;
  overflow: hidden;
  transform-origin: bottom right;
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0.5s,
    left 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    right 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width, height, transform, opacity;
}

#unitek-chatbot-root .uc-panel[hidden] {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.8) translateY(60px);
}

#unitek-chatbot-root .uc-panel--full {
  width: min(100vw - 2.5rem, 600px);
  max-width: none;
}

#unitek-chatbot-root .uc-panel__header {
  position: relative;
  flex-shrink: 0;
  height: 75px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 18px 16px;
  background: #28323C;
  color: #fff;
  z-index: 1;
}

#unitek-chatbot-root .uc-panel__header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

#unitek-chatbot-root .uc-panel__header-sep {
  width: 1px;
  height: 40px;
  background: #68747C;
  display: block;
}

#unitek-chatbot-root .uc-panel__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

#unitek-chatbot-root .uc-panel__brand-copy {
  min-width: 0;
}

#unitek-chatbot-root .uc-panel__title {
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Outfit, sans-serif;
  font-size: 23.436px;
  font-style: normal;
  font-weight: 700;
  line-height: 18.748px;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 4px;
}

#unitek-chatbot-root .uc-panel__title-highlight {
  color: #FFF;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Outfit, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 18.748px;
}

#unitek-chatbot-root .uc-panel__subtitle {
  display: none;
}

#unitek-chatbot-root .uc-panel__header-btn {
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, border-radius 0.2s ease;
}

#unitek-chatbot-root .uc-panel__header-btn svg,
#unitek-chatbot-root .uc-panel__header-btn img {
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  display: block;
}

#unitek-chatbot-root .uc-icon-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

#unitek-chatbot-root .uc-icon-toggle img,
#unitek-chatbot-root .uc-icon-toggle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  padding: 3px;
  box-sizing: border-box;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#unitek-chatbot-root .uc-icon-toggle__expand {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

#unitek-chatbot-root .uc-icon-toggle__shrink {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
  pointer-events: none;
}

#unitek-chatbot-root .uc-panel__width-btn[aria-pressed="true"] .uc-icon-toggle__expand {
  opacity: 0;
  transform: scale(0.6) rotate(90deg);
  pointer-events: none;
}

#unitek-chatbot-root .uc-panel__width-btn[aria-pressed="true"] .uc-icon-toggle__shrink {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}


#unitek-chatbot-root .uc-panel__header-btn:hover {
  border-radius: 75.023px;
  background: #007ACC;
}

#unitek-chatbot-root .uc-panel__header-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

#unitek-chatbot-root .uc-panel__header-btn[aria-pressed="true"] {
  border-radius: 75.023px;
  background: #007ACC;
}

#unitek-chatbot-root .uc-panel__messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: visible;
  padding: 22px 17px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: #ffffff;
  transition: opacity 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: #8c8c8c #f1f1f1;
}

#unitek-chatbot-root .uc-panel__messages::-webkit-scrollbar {
  width: 4px;
}

#unitek-chatbot-root .uc-panel__messages::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#unitek-chatbot-root .uc-panel__messages::-webkit-scrollbar-thumb {
  background: #8c8c8c;
  border-radius: 999px;
}

#unitek-chatbot-root .uc-panel[hidden] .uc-panel__messages {
  opacity: 0;
}

#unitek-chatbot-root .uc-empty {
  margin: 0;
  padding: 0.5rem 0.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5f6368;
  text-align: center;
}

#unitek-chatbot-root .uc-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 100%;
  animation: uc-msg-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes uc-msg-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#unitek-chatbot-root .uc-msg-row--user {
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
}

#unitek-chatbot-root .uc-msg-row--bot {
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: flex-start;
}

#unitek-chatbot-root .uc-msg-avatar {
  flex-shrink: 0;
  z-index: 1;
}

#unitek-chatbot-root .uc-msg-avatar--bot {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #28323C;
  box-sizing: border-box;
}

#unitek-chatbot-root .uc-msg-avatar--bot img {
  width: 24px;
  height: 24px;
  padding: 3px;
  box-sizing: border-box;
  display: block;
}

#unitek-chatbot-root .uc-msg-avatar--user {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #D5E8FC;
  background-image: url("../images/user.svg");
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  box-shadow: none;
}

#unitek-chatbot-root .uc-bubble-group {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 36px);
}

#unitek-chatbot-root .uc-bubble-group .uc-bubble {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

#unitek-chatbot-root .uc-tail {
  display: none;
}

#unitek-chatbot-root .uc-tail--bot {
  display: none;
}

#unitek-chatbot-root .uc-tail--user {
  display: none;
}

#unitek-chatbot-root .uc-bubble {
  position: relative;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}

#unitek-chatbot-root .uc-bubble p {
  margin: 0;
  white-space: pre-wrap;
}

#unitek-chatbot-root .uc-bubble--user {
  background: #D5E8FC;
  color: #0f3349;
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.75px;
  border: none;
  border-radius: 12px 4px 12px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

#unitek-chatbot-root .uc-bubble--bot {
  --bot-blue: #F0F1F2;
  --bot-actions-bg: var(--chat-bot-deep);
  background: #F0F1F2;
  color: #141A1E;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.75px;
  border-radius: 4px 12px 12px 12px;
  overflow: visible;
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

#unitek-chatbot-root .uc-bubble--bot--rich {
  padding-bottom: 2.35rem;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 22.75px;
  word-break: break-word;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer:last-child {
  margin-bottom: 0 !important;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer>*:first-child {
  margin-top: 0;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 22.75px;
  margin: 0 0 0.65rem;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer p:last-child {
  margin-bottom: 0;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer strong {
  font-weight: 700;
}

#unitek-chatbot-root .uc-bubble--bot .uc-answer a {
  color: #007acc;
  text-decoration: underline;
}

#unitek-chatbot-root .uc-loading {
  margin: 0;
  min-height: 1.25rem;
}

#unitek-chatbot-root .uc-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#unitek-chatbot-root .uc-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  animation: uc-typing-bounce 1.2s ease-in-out infinite;
}

#unitek-chatbot-root .uc-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

#unitek-chatbot-root .uc-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes uc-typing-bounce {

  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

#unitek-chatbot-root .uc-error {
  margin: 0;
  color: #e11d48;
  font-size: 0.88rem;
}

#unitek-chatbot-root .uc-bubble--bot--rich {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

#unitek-chatbot-root .uc-bubble--bot--rich .uc-answer,
#unitek-chatbot-root .uc-bubble--bot--rich .uc-sources {
  background: #F0F1F2;
  color: #1e293b;
  border-radius: 4px 12px 12px 12px;
  overflow: visible;
  padding: 12px 16px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 0px;
  position: relative;
}

#unitek-chatbot-root .uc-bubble--bot--rich .uc-answer:has(~ .uc-sources),
#unitek-chatbot-root .uc-bubble--bot--rich .uc-answer:has(~ .uc-suggestions),
#unitek-chatbot-root .uc-bubble--bot--rich .uc-sources:has(~ .uc-suggestions) {
  margin-bottom: 12px;
}

#unitek-chatbot-root .uc-answer:last-child,
#unitek-chatbot-root .uc-sources:last-child {
  margin-bottom: 0 !important;
}

#unitek-chatbot-root .uc-notice {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #e11d48;
}

#unitek-chatbot-root .uc-sources {
  margin-top: 0;
}

#unitek-chatbot-root .uc-sources__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

#unitek-chatbot-root .uc-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#unitek-chatbot-root .uc-sources li {
  margin-bottom: 0.35rem;
}

#unitek-chatbot-root .uc-sources li:last-child {
  margin-bottom: 0;
}

#unitek-chatbot-root .uc-sources a {
  color: #007acc;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.85rem;
  word-break: break-word;
}

#unitek-chatbot-root .uc-sources a:hover {
  color: #0056b3;
}

#unitek-chatbot-root .uc-suggestions {
  margin-top: 0.75rem;
}

#unitek-chatbot-root .uc-suggestions--cta {
  margin-top: 1rem;
  margin-left: 0;
  margin-right: auto;
  padding: 0;
  align-self: flex-start;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: uc-suggestions-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#unitek-chatbot-root .uc-panel--full .uc-suggestions--cta {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  align-self: flex-start;
}

#unitek-chatbot-root .uc-panel--full .uc-suggestions--cta .uc-chip {
  max-width: none;
}

@keyframes uc-suggestions-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes uc-chip-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#unitek-chatbot-root .uc-suggestions__label {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 22.75px;
  color: #141A1E;
  margin: 0 0 6px 4px;
  text-align: left;
  width: 100%;
}

#unitek-chatbot-root .uc-suggestions__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  width: 100%;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip {
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF;
  color: #141A1E;
  border: 1px solid #ACB4BC;
  cursor: pointer;
  animation: uc-chip-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  box-shadow: 0 1px 2px rgba(15, 51, 73, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:nth-child(1) {
  animation-delay: 0.04s;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:nth-child(2) {
  animation-delay: 0.08s;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:nth-child(3) {
  animation-delay: 0.12s;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:nth-child(4) {
  animation-delay: 0.16s;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:nth-child(5) {
  animation-delay: 0.2s;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:hover:not(:disabled),
#unitek-chatbot-root .uc-suggestions--cta .uc-chip.uc-chip--selected {
  background: #007ACC !important;
  border-color: #007ACC !important;
  color: #FFF !important;
  transform: none;
  box-shadow: none;
  opacity: 1 !important;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:active:not(:disabled) {
  background: #005999;
  border-color: #005999;
  color: #ffffff;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:focus-visible {
  outline: 2px solid var(--uc-atlas-primary);
  outline-offset: 2px;
}

#unitek-chatbot-root .uc-suggestions--cta .uc-chip:disabled {
  opacity: 1;
  cursor: not-allowed;
  color: #141A1E;
  background: #FFF;
  border-color: #ACB4BC;
}

#unitek-chatbot-root .uc-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 8px;
  margin-left: 4px;
  margin-bottom: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 2;
}

#unitek-chatbot-root .uc-actions__sep {
  width: 0;
  height: 12px;
  border-left: 2px solid #ACB4BC;
  display: block;
  flex-shrink: 0;
}

#unitek-chatbot-root .uc-actions__btn {
  color: #68747C;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: #FFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 0;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

#unitek-chatbot-root .uc-actions__btn svg,
#unitek-chatbot-root .uc-actions__btn img {
  width: 13px;
  height: 13px;
}

#unitek-chatbot-root .uc-actions__btn img.uc-icon-active {
  display: none !important;
}

#unitek-chatbot-root .uc-actions__btn img.uc-icon-outline {
  display: block !important;
}

#unitek-chatbot-root .uc-actions__btn--active img.uc-icon-outline {
  display: none !important;
}

#unitek-chatbot-root .uc-actions__btn--active img.uc-icon-active {
  display: block !important;
}

#unitek-chatbot-root .uc-actions__btn:hover:not(:disabled) {
  background: rgba(104, 116, 124, 0.16);
}

#unitek-chatbot-root .uc-actions__btn--active {
  background: rgba(104, 116, 124, 0.16);
}

#unitek-chatbot-root .uc-actions__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Custom Tooltips for Actions */
#unitek-chatbot-root .uc-actions__btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-18px) translateY(8px);
  background: #68747C;
  color: #FFF;
  font-family: Outfit, sans-serif;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12.697px;
  height: 24.124px;
  padding: 3.809px 6.348px;
  border-radius: 5.079px;
  box-sizing: border-box;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

#unitek-chatbot-root .uc-actions__btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 30%;
  width: 8px;
  height: 8px;
  background: #68747C;
  transform: translateX(-4px) translateY(5px) rotate(45deg);
  border-top-left-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
  pointer-events: none;
}

#unitek-chatbot-root .uc-actions__btn:hover:not(:disabled)::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-18px) translateY(5px);
}

#unitek-chatbot-root .uc-actions__btn:hover:not(:disabled)::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-4px) translateY(2.5px) rotate(45deg);
}

#unitek-chatbot-root .uc-panel__footer {
  flex-shrink: 0;
  padding: 0.75rem 1rem 1rem;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

#unitek-chatbot-root .uc-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
}

#unitek-chatbot-root .uc-input-wrap:focus-within {
  border-color: transparent;
  box-shadow: none;
}

#unitek-chatbot-root .uc-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ACB4BC;
  border-radius: 24px;
  padding: 10px 20px;
  color: #141A1E;
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  background: #FFF;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

#unitek-chatbot-root .uc-input::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#unitek-chatbot-root .uc-input::placeholder {
  color: #ACB4BC;
}

#unitek-chatbot-root .uc-input:disabled {
  opacity: 0.65;
}

#unitek-chatbot-root .uc-input:focus {
  border: 1px solid #288410;
  background: #F6F6F6;
  box-shadow: none;
}

#unitek-chatbot-root .uc-input.uc-input--error {
  border: 1.5px solid #D30000 !important;
  background: #FFF;
}

#unitek-chatbot-root .uc-error-message {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #D30000;
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-weight: 400;
}

#unitek-chatbot-root .uc-error-message[hidden] {
  display: none !important;
}

#unitek-chatbot-root .uc-error-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  line-height: 0;
}

#unitek-chatbot-root .uc-error-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0;
}

#unitek-chatbot-root .uc-error-text {
  leading-trim: both;
  text-edge: cap;
}

#unitek-chatbot-root .uc-send {
  flex-shrink: 0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #288410;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(23, 36, 16, 0.30);
  opacity: 1;
  transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}

#unitek-chatbot-root .uc-send svg {
  width: 16px;
  height: 16px;
  display: block;
}

#unitek-chatbot-root .uc-send img {
  width: 22.021px;
  height: 22px;
  margin-right: 1px;
  margin-top: 3px;
  display: block;
}

#unitek-chatbot-root .uc-send:hover:not(:disabled) {
  background: #1e630c;
}

#unitek-chatbot-root .uc-send:active:not(:disabled) {
  transform: scale(0.96);
}

#unitek-chatbot-root .uc-send:disabled {
  background: #ACB4BC;
  color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(23, 36, 16, 0.30);
  cursor: not-allowed;
}

#unitek-chatbot-root .uc-panel__brand-footer {
  color: #68747C;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  margin-top: 14px;
}

#unitek-chatbot-root .uc-brand-unitek {
  color: #288410;
  leading-trim: both;
  text-edge: cap;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 15px;
}

#unitek-chatbot-root .uc-brand-nursing {
  color: #184566;
  leading-trim: both;
  text-edge: cap;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 15px;
}

@media (max-width: 1024px) {
  #unitek-chatbot-root .uc-panel__width-btn:not(.uc-panel__dropdown-item),
  #unitek-chatbot-root .uc-panel__width-btn:not(.uc-panel__dropdown-item)+.uc-panel__header-sep,
  #unitek-chatbot-root .uc-panel__dropdown-item.uc-panel__width-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {

  /* Chat panel floating responsive layout on mobile/tablet */
  #unitek-chatbot-root .uc-panel {
    top: 65px;
    bottom: 71px;
    left: 16px;
    right: 16px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 20px;
  }

  /* Make sure panel:hidden transitions start correctly */
  #unitek-chatbot-root .uc-panel[hidden] {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.9) translateY(40px);
  }

  #unitek-chatbot-root .uc-tooltip {
    display: none !important;
  }
}

/* Chat Panel Header - Centering & Actions Layout */
#unitek-chatbot-root .uc-panel__brand-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  z-index: 2;
}

#unitek-chatbot-root .uc-panel__brand-center img {
  width: 38px;
  height: 38px;
  display: block;
}

#unitek-chatbot-root .uc-panel__title-center {
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Outfit, sans-serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: 18.748px;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 4px;
}

#unitek-chatbot-root .uc-panel__title-center span {
  font-weight: 400;
}

#unitek-chatbot-root .uc-panel__header-btn:hover,
#unitek-chatbot-root .uc-panel__header-btn.active {
  border-radius: 75.023px;
  background: #007ACC !important;
}

/* Chat Dropdown Menu */
#unitek-chatbot-root .uc-panel__dropdown {
  position: absolute;
  top: 65px;
  left: 16px;
  width: fit-content;
  white-space: nowrap; /* Prevent content from wrapping */
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0px 4px 15px rgba(40, 50, 60, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  box-sizing: border-box;
}

#unitek-chatbot-root .uc-panel__dropdown[hidden] {
  display: none !important;
}

/* Dropdown Menu Items */
#unitek-chatbot-root .uc-panel__dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 5px;
  border-radius: 0;
  border: none;
  background: none;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;

  /* Styled Text */
  text-align: left;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  color: #141A1E !important;
}

#unitek-chatbot-root .uc-panel__dropdown-item:not(:first-child) {
  border-top: 1px solid #DEDEDE;
}

#unitek-chatbot-root .uc-panel__dropdown-item svg,
#unitek-chatbot-root .uc-panel__dropdown-item .uc-icon-toggle {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  display: block;
}

#unitek-chatbot-root .uc-panel__dropdown-item .uc-icon-toggle svg {
  width: 14px !important;
  height: 14px !important;
  padding: 0 !important;
}

#unitek-chatbot-root .uc-panel__dropdown-item svg path {
  fill: currentColor;
}

#unitek-chatbot-root .uc-panel__dropdown-item svg line,
#unitek-chatbot-root .uc-panel__dropdown-item svg rect {
  stroke: currentColor;
}

/* Active Option Style (e.g. Contact option in the second image or hover state) */
#unitek-chatbot-root .uc-panel__dropdown-item:hover,
#unitek-chatbot-root .uc-panel__dropdown-item:focus,
#unitek-chatbot-root .uc-panel__dropdown-item.active {
  background-color: #007ACC !important;
  color: #FFFFFF !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  border-radius: 4px;
}

/* Hide divider of the next sibling when the current item is hovered or active */
#unitek-chatbot-root .uc-panel__dropdown-item:hover + .uc-panel__dropdown-item,
#unitek-chatbot-root .uc-panel__dropdown-item.active + .uc-panel__dropdown-item {
  border-top-color: transparent !important;
}

/* Custom Confirm Modal Styling */
#unitek-chatbot-root .uc-modal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  z-index: 10000;
}

#unitek-chatbot-root .uc-modal[hidden] {
  display: none !important;
}

#unitek-chatbot-root .uc-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 50, 60, 0.45);
}

#unitek-chatbot-root .uc-modal__container {
  position: relative;
  width: 340px;
  max-width: 90%;
  background: #FFFFFF;
  border-radius: 12px 12px 24px 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 51, 73, 0.25);
  display: flex;
  flex-direction: column;
  animation: ucModalBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ucModalBounce {
  from {
    transform: scale(0.9) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

#unitek-chatbot-root .uc-modal__header {
  height: 52px;
  box-sizing: border-box;
  background: #28323C;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Outfit, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

#unitek-chatbot-root .uc-modal__body {
  padding: 34px 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#unitek-chatbot-root .uc-modal__title {
  color: #141A1E;
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

#unitek-chatbot-root .uc-modal__subtitle {
  color: #141A1E;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  margin-bottom: 8px;
}

#unitek-chatbot-root .uc-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  margin-top: 25px;
}

#unitek-chatbot-root .uc-modal__btn {
  border-radius: 20px;
  width: 95px;
  height: 30px;
  padding: 6px 12px;
  box-sizing: border-box;
  
  /* Text Styles */
  text-align: center;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
}

#unitek-chatbot-root .uc-modal__btn--no {
  background: #FFFFFF;
  border: 1px solid #ACB4BC;
  color: #141A1E;
  transition: background-color 0.2s, border-color 0.2s;
}

#unitek-chatbot-root .uc-modal__btn--no:hover {
  background: #F4F7FB;
}

#unitek-chatbot-root .uc-modal__btn--yes {
  background: #007ACC;
  border: none;
  color: #FFFFFF;
  transition: background-color 0.2s;
}

#unitek-chatbot-root .uc-modal__btn--yes:hover {
  background: #0060A3;
}

/* Responsive overrides for confirmation modal on mobile/tablet */
@media (max-width: 768px) {
  #unitek-chatbot-root .uc-modal__container {
    width: 280px;
    max-width: 90%;
  }

  #unitek-chatbot-root .uc-modal__header {
    height: 44px;
    font-size: 16px;
  }

  #unitek-chatbot-root .uc-modal__body {
    padding: 24px 20px;
    gap: 4px;
  }

  #unitek-chatbot-root .uc-modal__title {
    font-size: 15px;
  }

  #unitek-chatbot-root .uc-modal__subtitle {
    font-size: 12px;
  }

  #unitek-chatbot-root .uc-modal__actions {
    margin-top: 16px;
  }
}