@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --tp-primary: #075d54;
  --tp-secondary: #1dad9f;
  --tp-accent: #087d72;
  --tp-gradient: linear-gradient(135deg, #075d54 0%, #0a9184 100%);
  --tp-gradient-accent: linear-gradient(135deg, #1dad9f 0%, #087d72 100%);
  --tp-white: #fff;
  --tp-light: #f5f8f7;
  --tp-gray: #64748b;
  --tp-border: #e5e7eb;
  --tp-success: #10b981;
  --tp-shadow: 0 8px 32px rgba(7, 93, 84, 0.15);
  --tp-shadow-lg: 0 12px 48px rgba(7, 93, 84, 0.22);
  --tp-radius: 16px;
  --tp-radius-sm: 12px;
  --tp-font:
    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Distance from viewport right for chat FAB + panel (no separate WhatsApp FAB site-wide) */
  --tp-fab-right-offset: 20px;
}

.chatbot-button-toggle {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: var(--tp-fab-right-offset);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tp-gradient);
  color: var(--tp-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(22, 41, 83, 0.35);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  animation: tp-pulse 2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.chatbot-button-toggle:hover {
  transform: scale(1.08);
}

.chatbot-button-toggle.active:hover .close-icon {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.chatbot-button-toggle:active {
  transform: scale(0.95);
}

.chatbot-button-toggle svg {
  width: 26px;
  height: 26px;
  fill: var(--tp-white);
}

.chatbot-button-toggle .close-icon {
  display: none;
  fill: none;
  stroke: var(--tp-white);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.chatbot-button-toggle.active .chat-icon {
  display: none;
}

.chatbot-button-toggle.active .close-icon {
  display: block;
}

.chatbot-button-toggle.active {
  animation: none;
  background: var(--tp-gradient);
}

@keyframes tp-pulse {
  0% {
    box-shadow:
      var(--tp-shadow-lg),
      0 0 0 0 rgba(29, 173, 159, 0.6);
  }
  50% {
    box-shadow:
      var(--tp-shadow-lg),
      0 0 0 15px rgba(29, 173, 159, 0);
  }
  100% {
    box-shadow:
      var(--tp-shadow-lg),
      0 0 0 0 rgba(29, 173, 159, 0);
  }
}

.chatbot-window {
  position: fixed;
  bottom: 88px;
  right: var(--tp-fab-right-offset);
  width: 370px;
  max-width: calc(100vw - 40px);
  height: 530px;
  max-height: calc(100vh - 108px);
  border-radius: var(--tp-radius);
  background: var(--tp-white);
  box-shadow: 0 8px 40px rgba(22, 41, 83, 0.2);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--tp-font);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0.35s;
  border: 1px solid rgba(22, 41, 83, 0.08);
}

.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0s;
}

.tp-header {
  background: var(--tp-gradient);
  color: var(--tp-white);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.tp-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 173, 159, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.tp-header .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tp-white);
  padding: 3px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--tp-secondary);
  overflow: hidden;
}

.tp-header .avatar img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  display: block;
}

@keyframes tp-avatar-glow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(29, 173, 159, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(29, 173, 159, 0.5);
  }
}

.tp-header .avatar svg {
  width: 18px;
  height: 18px;
  fill: var(--tp-secondary);
}

.tp-header .info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-white) !important;
  letter-spacing: 0.2px;
}

.tp-header .info p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--tp-success);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.tp-header .info p .dot {
  width: 8px;
  height: 8px;
  background: var(--tp-success);
  border-radius: 50%;
  display: inline-block;
  animation: tp-dot-pulse 2s ease-in-out infinite;
}

@keyframes tp-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.tp-close-btn {
  margin-left: auto;
  background: rgba(29, 173, 159, 0.2);
  color: var(--tp-light);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.tp-close-btn:hover {
  background: rgba(29, 173, 159, 0.35);
  transform: rotate(90deg);
}

.tp-close-btn svg {
  display: block;
  transition: transform 0.3s ease;
  fill: var(--tp-light);
}

.tp-notif {
  position: fixed;
  bottom: 100px;
  right: calc(var(--tp-fab-right-offset) + 4px);
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow:
    var(--tp-shadow-lg),
    0 0 0 1px rgba(29, 173, 159, 0.1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 99997;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  max-width: 320px;
  border: none;
  backdrop-filter: blur(12px);
}

.tp-notif.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: tp-notif-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tp-notif-bounce {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tp-notif-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tp-white);
  padding: 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--tp-secondary);
  box-shadow: 0 0 15px rgba(29, 173, 159, 0.25);
  overflow: hidden;
  animation: tp-avatar-glow 3s ease-in-out infinite;
}

.tp-notif-avatar img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.tp-notif-avatar svg {
  display: block;
}

.tp-notif-avatar svg path {
  stroke: var(--tp-secondary);
}

.tp-notif-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tp-notif-text strong {
  font-size: 14px;
  color: var(--tp-primary);
  white-space: nowrap;
  font-weight: 600;
}

.tp-notif-text span {
  font-size: 12px;
  color: var(--tp-gray);
  white-space: nowrap;
}

.tp-notif-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--tp-gray);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all 0.2s ease;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-notif-close:hover {
  color: var(--tp-primary);
  transform: scale(1.1);
}

.tp-notif:hover {
  box-shadow:
    var(--tp-shadow-lg),
    0 8px 30px rgba(29, 173, 159, 0.25);
}

.tp-notif.show:hover {
  transform: translateY(-3px) scale(1.02);
}

.tp-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  background: var(--tp-light);
  position: relative;
  min-height: 0;
  overscroll-behavior: contain;
}

.tp-messages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    180deg,
    rgba(29, 173, 159, 0.05) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.tp-messages::-webkit-scrollbar {
  width: 5px;
}

.tp-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--tp-secondary) 0%,
    var(--tp-primary) 100%
  );
  border-radius: 10px;
}

.tp-messages::-webkit-scrollbar-track {
  background: rgba(22, 41, 83, 0.05);
  border-radius: 10px;
}

.tp-msg {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: tp-msg-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tp-msg-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tp-msg.bot {
  align-self: flex-start;
}

.tp-msg.user {
  align-self: flex-end;
}

.tp-msg .bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.tp-msg.bot .bubble {
  background: var(--tp-white);
  color: #333;
  border: 1px solid rgba(22, 41, 83, 0.1);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(22, 41, 83, 0.06);
}

.tp-msg.user .bubble {
  background: var(--tp-gradient);
  color: var(--tp-white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(22, 41, 83, 0.2);
}

.tp-msg .time {
  font-size: 10px;
  color: var(--tp-gray);
  padding: 0 4px;
  font-weight: 500;
}

.tp-msg.user .time {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

.tp-typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  background: var(--tp-white);
  border: 1px solid var(--tp-border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  max-width: 85%;
}

.tp-typing span {
  width: 6px;
  height: 6px;
  background: var(--tp-gray);
  border-radius: 50%;
  animation: tp-bounce 1.4s ease-in-out infinite;
}

.tp-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.tp-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes tp-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    background: var(--tp-secondary);
  }
  30% {
    transform: translateY(-8px);
    background: var(--tp-primary);
  }
}

.tp-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px 12px;
  background: var(--tp-white);
  border-top: 1px solid var(--tp-border);
  flex-shrink: 0;
}

.tp-suggestions button {
  padding: 6px 12px;
  border: 1px solid var(--tp-primary);
  color: var(--tp-primary);
  background: transparent;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tp-suggestions button:hover {
  background: var(--tp-gradient);
  color: var(--tp-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 41, 83, 0.15);
}

.tp-suggestions button:active {
  transform: translateY(0) scale(0.95);
}

.tp-suggestion-whatsapp {
  border-color: #25d366 !important;
  color: #25d366 !important;
  background: transparent;
}

.tp-suggestion-whatsapp:hover {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.tp-input-area {
  display: flex;
  align-items: center;
  padding: 12px 12px 14px;
  background: var(--tp-white);
  border-top: 1px solid var(--tp-border);
  flex-shrink: 0;
  gap: 10px;
}

.tp-input-area input {
  flex: 1;
  border: 1px solid var(--tp-border);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13px;
  outline: none;
  transition:
    border 0.2s,
    box-shadow 0.2s;
  font-family: var(--tp-font);
  min-height: 40px;
  background: #fafbfc;
}

.tp-input-area input:focus {
  border-color: var(--tp-secondary);
  box-shadow: 0 0 0 3px rgba(29, 173, 159, 0.15);
  background: var(--tp-white);
}

.tp-input-area input::placeholder {
  color: var(--tp-gray);
  font-weight: 400;
}

.tp-input-area button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tp-gradient);
  color: var(--tp-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tp-input-area button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(22, 41, 83, 0.25);
}

.tp-input-area button:active {
  transform: scale(0.95);
}

.tp-input-area button svg {
  width: 18px;
  height: 18px;
  fill: var(--tp-light);
}

.tp-footer {
  padding: 6px 12px;
  background: var(--tp-white);
  border-top: 1px solid var(--tp-border);
  text-align: center;
  font-size: 10px;
  color: var(--tp-gray);
  flex-shrink: 0;
}

.tp-footer a {
  color: var(--tp-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.tp-footer a:hover {
  color: var(--tp-secondary);
}

.tp-live-agent {
  padding: 2px 0 4px;
}

.tp-live-agent .tp-la-title {
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 3px;
  color: var(--tp-primary);
}

.tp-live-agent .tp-la-sub {
  font-size: 12px;
  margin: 0 0 10px;
  color: var(--tp-gray);
}

.tp-la-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  box-sizing: border-box;
}

.tp-la-btn:last-child {
  margin-bottom: 0;
}

.tp-la-btn svg {
  flex-shrink: 0;
}

.tp-la-btn span {
  flex: 1;
}

.tp-la-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.tp-la-whatsapp svg {
  fill: #fff;
}

.tp-la-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe57 0%, #0f7c6e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.tp-la-call {
  background: var(--tp-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(22, 41, 83, 0.25);
}

.tp-la-call svg {
  fill: var(--tp-secondary);
}

.tp-la-call:hover {
  background: linear-gradient(135deg, #1e3a6e 0%, #162953 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 41, 83, 0.35);
}

/* ── Responsive: Tablets ── */
@media (max-width: 768px) {
  .chatbot-window {
    width: calc(100vw - var(--tp-fab-right-offset) - 16px);
    max-width: 370px;
    right: var(--tp-fab-right-offset);
    left: auto;
    bottom: 84px;
    height: 460px;
    border-radius: var(--tp-radius-sm);
  }

  .tp-header {
    padding: 10px 12px;
  }

  .tp-header .avatar {
    width: 32px;
    height: 32px;
  }

  .tp-header .info h4 {
    font-size: 13px;
  }

  .tp-messages {
    padding: 10px;
  }

  .tp-suggestions {
    padding: 8px 10px;
    gap: 5px;
  }

  .tp-suggestions button {
    padding: 5px 10px;
    font-size: 10px;
  }

  .tp-input-area {
    padding: 8px 10px;
  }

  .tp-input-area input {
    padding: 8px 12px;
    font-size: 16px;
  }

  .tp-input-area button {
    width: 36px;
    height: 36px;
  }
}

/* ── Responsive: Mobile phones ── */
@media (max-width: 480px) {
  .chatbot-button-toggle {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
    left: auto;
    width: 52px;
    height: 52px;
  }

  .chatbot-button-toggle svg {
    width: 24px;
    height: 24px;
  }

  .tp-notif {
    bottom: 90px;
    right: max(12px, env(safe-area-inset-right));
    left: auto;
    max-width: min(320px, calc(100vw - 24px - env(safe-area-inset-right)));
    border-radius: var(--tp-radius);
    padding: 14px 16px;
    gap: 12px;
    box-shadow:
      var(--tp-shadow-lg),
      0 4px 20px rgba(29, 173, 159, 0.15);
  }

  .tp-notif-avatar {
    width: 40px;
    height: 40px;
  }

  .tp-notif-text strong {
    font-size: 13px;
  }

  .tp-notif-text span {
    font-size: 11px;
  }

  .tp-notif-close {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .chatbot-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .chatbot-window.open {
    transform: translateY(0) scale(1);
  }

  .tp-header {
    padding: 10px 14px;
    border-radius: 0;
    gap: 10px;
  }

  .tp-header .avatar {
    width: 34px;
    height: 34px;
  }

  .tp-header .info h4 {
    font-size: 14px;
  }

  .tp-header .info p {
    font-size: 11px;
  }

  .tp-messages {
    padding: 10px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .tp-msg {
    max-width: 88%;
  }

  .tp-msg .bubble {
    padding: 8px 12px;
    font-size: 13px;
  }

  .tp-suggestions {
    padding: 10px 14px;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tp-suggestions::-webkit-scrollbar {
    display: none;
  }

  .tp-suggestions button {
    padding: 6px 12px;
    font-size: 11px;
    flex-shrink: 0;
    border-radius: 16px;
  }

  .tp-input-area {
    padding: 10px 12px;
    gap: 6px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .tp-input-area input {
    padding: 10px 14px;
    font-size: 16px;
    min-height: 44px;
    border-radius: 20px;
  }

  .tp-input-area button {
    width: 40px;
    height: 40px;
  }

  .tp-input-area button svg {
    width: 18px;
    height: 18px;
  }

  .tp-footer {
    padding: 6px 12px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }

  .tp-la-btn {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .tp-la-btn svg {
    width: 18px;
    height: 18px;
  }

  .tp-typing span {
    width: 6px;
    height: 6px;
  }
}

/* ── Responsive: Very small phones ── */
@media (max-width: 360px) {
  .chatbot-button-toggle {
    width: 48px;
    height: 48px;
    bottom: max(12px, env(safe-area-inset-bottom));
    right: max(12px, env(safe-area-inset-right));
    left: auto;
  }

  .chatbot-button-toggle svg {
    width: 22px;
    height: 22px;
  }

  .tp-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .tp-header .avatar {
    width: 30px;
    height: 30px;
  }

  .tp-header .info h4 {
    font-size: 13px;
  }

  .tp-messages {
    padding: 8px;
  }

  .tp-msg .bubble {
    padding: 7px 10px;
    font-size: 12px;
  }

  .tp-suggestions button {
    padding: 5px 8px;
    font-size: 10px;
  }

  .tp-input-area {
    padding: 8px 10px;
  }

  .tp-input-area input {
    font-size: 16px;
    padding: 8px 12px;
    min-height: 40px;
  }

  .tp-input-area button {
    width: 36px;
    height: 36px;
  }

  .tp-la-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ── Landscape mobile ── */
@media (max-width: 768px) and (orientation: landscape) {
  .chatbot-window {
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
  }

  .tp-header {
    padding: 10px 16px;
  }

  .tp-header .avatar {
    width: 36px;
    height: 36px;
  }

  .tp-messages {
    flex: 1;
    min-height: 0;
    padding: 12px;
  }

  .tp-input-area {
    padding: 8px 12px;
  }

  .tp-input-area button {
    width: 40px;
    height: 40px;
  }
}

/* ── Dark mode support ── */
/* @media (prefers-color-scheme: dark) {
  .chatbot-window {
    background: #1a1a2e;
    border-color: rgba(29, 173, 159, 0.2);
  }

  .tp-messages {
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
  }

  .tp-messages::before {
    background: linear-gradient(
      180deg,
      rgba(29, 173, 159, 0.08) 0%,
      transparent 100%
    );
  }

  .tp-msg.bot .bubble {
    background: #1f2940;
    color: #e8e8e8;
    border-color: rgba(29, 173, 159, 0.15);
  }

  .tp-msg .time {
    color: rgba(255, 255, 255, 0.5);
  }

  .tp-suggestions {
    background: #1a1a2e;
    border-color: rgba(29, 173, 159, 0.15);
  }

  .tp-suggestions button {
    border-color: var(--tp-secondary);
    color: var(--tp-secondary);
  }

  .tp-input-area {
    background: #1a1a2e;
    border-color: rgba(29, 173, 159, 0.15);
  }

  .tp-input-area input {
    background: #16213e;
    border-color: rgba(29, 173, 159, 0.2);
    color: #e8e8e8;
  }

  .tp-input-area input:focus {
    background: #16213e;
    border-color: var(--tp-secondary);
    box-shadow: 0 0 0 3px rgba(29, 173, 159, 0.25);
    color: #e8e8e8;
  }

  .tp-input-area input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .tp-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-color: rgba(29, 173, 159, 0.15);
    color: rgba(255, 255, 255, 0.6);
  }

  .tp-footer a {
    color: var(--tp-secondary);
  }

  .tp-typing {
    background: #1f2940;
    border-color: rgba(29, 173, 159, 0.15);
  }

  .tp-notif {
    background: #1a1a2e;
    border-color: rgba(29, 173, 159, 0.2);
  }

  .tp-notif-text strong {
    color: #e8e8e8;
  }

  .tp-notif-text span {
    color: rgba(255, 255, 255, 0.6);
  }

  .tp-live-agent .tp-la-title {
    color: #e8e8e8;
  }

  .tp-live-agent .tp-la-sub {
    color: rgba(255, 255, 255, 0.6);
  }
} */
