:root {
  --te-primary: #00874c;
  --te-primary-hover: #0a7342;
  --te-border: #d9ede3;
  --te-soft: #eaf5f0;
  --te-text: #0f172a;
  --te-muted: #64748b;
  --te-bg: #ffffff;
  --te-header-text: #ffffff;
  --te-form-border: #e2e8f0;
  --te-form-bg: #f8fafc;
  --te-success: #10b981;

  --te-shadow-lg: 0 24px 50px rgba(2, 21, 16, 0.22),
    0 6px 14px rgba(2, 21, 16, 0.1);
  --te-shadow-md: 0 12px 26px rgba(2, 21, 16, 0.18),
    0 3px 8px rgba(2, 21, 16, 0.1);
  --te-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);

  /* Increased dimensions */
  --te-radius: 32px; /* Original: 20px - 60% larger */
  --te-form-radius: 22px; /* Original: 14px - 57% larger */
  --te-launcher-h: 100px; /* Original: 68px - 47% larger */
  --te-launcher-offset: 36px; /* Original: 24px - 50% larger */
  --te-avatar: 90px; /* Original: 64px - 40% larger */
}

#te-chatbot {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--te-text);
  font-size: 18px; /* Base font size increased */
  line-height: 1.65;
}

#te-chatbot *,
#te-chatbot *::before,
#te-chatbot *::after {
  box-sizing: border-box;
}

/* ============= Launcher ============= */
#te-chatbot .te-widget {
  position: fixed;
  right: var(--te-launcher-offset);
  bottom: var(--te-launcher-offset);
  z-index: 10000;
}
#te-chatbot .te-rtl.te-widget {
  right: auto;
  left: var(--te-launcher-offset);
}

#te-chatbot .te-launcher {
  display: flex;
  align-items: center;
  gap: 18px; /* Original: 12px - 50% larger */
  padding: 16px 22px; /* Original: 10px 14px - 60% larger */
  min-height: var(--te-launcher-h);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #0fb269 0%, var(--te-primary) 75%);
  box-shadow: var(--te-shadow-md);
  transition: transform 0.08s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
#te-chatbot .te-launcher:hover {
  filter: brightness(1.05);
  box-shadow: var(--te-shadow-lg);
}
#te-chatbot .te-launcher:active {
  transform: translateY(1px) scale(0.99);
}

#te-chatbot .te-launcher-blob {
  position: relative;
  width: 80px; /* Original: 56px - 43% larger */
  height: 80px; /* Original: 56px - 43% larger */
  border-radius: 999px;
  background: #ffffff22;
  display: grid;
  place-items: center;
  outline: 3px solid rgba(255, 255, 255, 0.3); /* Thicker outline */
}
#te-chatbot .te-launcher-avatar {
  width: 72px; /* Original: 50px - 44% larger */
  height: 72px; /* Original: 50px - 44% larger */
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff; /* Thicker border */
  image-rendering: auto;
}
#te-chatbot .te-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px; /* Original: 12px - 33% larger */
  height: 16px; /* Original: 12px - 33% larger */
  background: #22c55e;
  border: 3px solid #fff; /* Thicker border */
  border-radius: 50%;
}
#te-chatbot .te-rtl .te-online-dot {
  right: auto;
  left: 2px;
}

#te-chatbot .te-launcher-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
#te-chatbot .te-rtl .te-launcher-text {
  text-align: right;
}
#te-chatbot .te-launcher-top {
  font-weight: 800;
  font-size: 20px; /* Original: 14px - 43% larger */
  letter-spacing: -0.5px;
}
#te-chatbot .te-launcher-bottom {
  font-size: 16px; /* Original: 12px - 33% larger */
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 8px; /* Original: 6px - 33% larger */
}

@media (max-width: 480px) {
  /* Original: 420px - adjusted for larger dimensions */
  #te-chatbot .te-launcher-text {
    display: none;
  }
}

#te-chatbot .te-panel {
  position: fixed;
  right: var(--te-launcher-offset);
  bottom: calc(
    var(--te-launcher-offset) + var(--te-launcher-h) + 30px +
      env(safe-area-inset-bottom, 0px)
  );
  width: 700px; /* Original: 450px - 44% larger */
  max-width: calc(100vw - 24px); /* Original: 16px - 50% larger */
  height: 78vh; /* Original: 72vh - slightly taller */
  max-height: 900px; /* Original: 760px - 18% larger */
  min-height: 600px; /* Original: 460px - 30% larger */
  background: var(--te-bg);
  border: 1px solid var(--te-border);
  border-radius: var(--te-radius);
  box-shadow: var(--te-shadow-lg);
  display: flex;
  flex-direction: column;
  transform-origin: bottom right;
  transform: translateY(20px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
  z-index: 9999;
}
#te-chatbot .te-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
#te-chatbot .te-rtl .te-panel {
  right: auto;
  left: var(--te-launcher-offset);
  transform-origin: bottom left;
}

@media (max-width: 720px) {
  /* Original: 640px - adjusted for larger dimensions */
  #te-chatbot .te-panel {
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    max-width: 100%;
    z-index: 100000;
    padding-top: env(safe-area-inset-top, 0px);
  }

  #te-chatbot .te-panel-header {
    position: sticky;
    top: 0;
    z-index: 100001;
    border-radius: 0;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  }

  #te-chatbot .te-panel-body {
    padding: 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  #te-chatbot .te-panel * {
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

/* FIX: Header padding adjustment to prevent cut-off */
#te-chatbot .te-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px; /* Increased top padding to prevent cut-off */
  background: var(--te-primary);
  border-bottom: 1px solid var(--te-primary-hover);
  border-top-left-radius: var(--te-radius);
  border-top-right-radius: var(--te-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 720px) {
  #te-chatbot .te-panel-header {
    border-radius: 0;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

#te-chatbot .te-h-left {
  display: flex;
  align-items: center;
  gap: 16px; /* Original: 12px - 33% larger */
  min-width: 0;
}

#te-chatbot .te-avatar-wrap {
  position: relative;
  width: var(--te-avatar);
  height: var(--te-avatar);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  #te-chatbot .te-avatar-wrap {
    width: 60px; /* Original: 44px - 36% larger */
    height: 60px; /* Original: 44px - 36% larger */
  }
}

#te-chatbot .te-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.7); /* Thicker border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  image-rendering: auto;
}

#te-chatbot .te-online-dot {
  position: absolute;
  bottom: 6px; /* Original: 4px - 50% larger */
  right: 6px; /* Original: 4px - 50% larger */
  width: 14px; /* Original: 10px - 40% larger */
  height: 14px; /* Original: 10px - 40% larger */
  background: #ffffff;
  border: 3px solid var(--te-primary); /* Thicker border */
  border-radius: 50%;
}
#te-chatbot .te-rtl .te-online-dot {
  right: auto;
  left: 6px;
}

#te-chatbot .te-h-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#te-chatbot .te-title {
  font-weight: 900;
  font-size: 22px; /* Original: 17px - 29% larger */
  color: var(--te-header-text);
  letter-spacing: -0.3px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  #te-chatbot .te-title {
    font-size: 18px; /* Original: 15px - 20% larger */
  }
}

#te-chatbot .te-tagline {
  font-size: 16px; /* Original: 12px - 33% larger */
  color: rgba(255, 255, 255, 0.92);
  margin-top: 6px; /* Original: 2px - 200% larger */
  letter-spacing: 0.25px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  #te-chatbot .te-tagline {
    font-size: 14px; /* Original: 11px - 27% larger */
  }
}

#te-chatbot .te-icon-btn {
  border: none;
  background: transparent;
  font-size: 28px; /* Original: 24px - 17% larger */
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 10px; /* Original: 6px 8px - 33% larger */
  border-radius: 12px; /* Original: 8px - 50% larger */
  transition: all 0.2s ease;
  flex-shrink: 0;
}
#te-chatbot .te-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* FIX: Added min-height to enable scrolling */
#te-chatbot .te-panel-body {
  padding: 22px; /* Original: 18px - 22% larger */
  overflow: auto;
  flex: 1;
  background: #fbfdfc;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Essential for scrolling to work properly */
}

@media (max-width: 720px) {
  #te-chatbot .te-panel-body {
    padding: 18px;
  }
}

#te-chatbot .te-subtitle {
  margin: 0 0 20px; /* Original: 16px - 25% larger */
  color: var(--te-text);
  font-size: 20px; /* Original: 16px - 25% larger */
  line-height: 1.5;
  text-align: center;
}

#te-chatbot .te-field {
  margin-bottom: 20px; /* Original: 16px - 25% larger */
}
#te-chatbot .te-label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px; /* Original: 8px - 50% larger */
  color: var(--te-text);
  font-size: 18px; /* Original: 14px - 29% larger */
}
#te-chatbot .te-row {
  display: flex;
  gap: 14px; /* Original: 10px - 40% larger */
  flex-wrap: wrap;
}

#te-chatbot .te-btn {
  padding: 14px 20px; /* Original: 10px 14px - 40% larger */
  border: 1px solid #d1d5db;
  border-radius: 14px; /* Original: 10px - 40% larger */
  background: #fff;
  cursor: pointer;
  font-size: 16px; /* Original: 14px - 14% larger */
  font-weight: 500;
  transition: all 0.15s ease;
  box-shadow: var(--te-shadow-sm);
}
#te-chatbot .te-btn:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
#te-chatbot .te-btn:active {
  transform: translateY(0);
}
#te-chatbot .te-btn-primary {
  background: var(--te-primary);
  border-color: var(--te-primary);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
#te-chatbot .te-btn-primary:hover {
  background: var(--te-primary-hover);
  border-color: var(--te-primary-hover);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}
#te-chatbot .te-btn-outline {
  background: transparent;
  border-color: #d1d5db;
}
#te-chatbot .te-btn-outline:hover {
  background: #f9fafb;
}
#te-chatbot .te-btn-active {
  box-shadow: 0 0 0 4px var(--te-soft) inset; /* Thicker inset */
}

#te-chatbot .te-placeholder {
  margin-top: 20px; /* Original: 16px - 25% larger */
  padding: 18px; /* Original: 14px - 29% larger */
  background: #f9fbfa;
  border: 1px solid #e8f0ec;
  border-radius: 16px; /* Original: 12px - 33% larger */
  color: #4a6b5f;
  font-size: 16px; /* Original: 14px - 14% larger */
  line-height: 1.6;
}

#te-chatbot .te-launcher:focus-visible,
#te-chatbot .te-btn:focus-visible,
#te-chatbot .te-icon-btn:focus-visible {
  outline: 4px solid rgba(199, 240, 223, 0.6); /* Thicker outline */
  outline-offset: 3px;
}

/* RTL */
#te-chatbot .te-rtl .te-panel-header,
#te-chatbot .te-rtl .te-panel-body {
  direction: rtl;
  text-align: right;
}

/* ============= Enhanced Form Styles ============= */
#te-chatbot .te-form-container {
  background: #fff;
  border-radius: var(--te-form-radius);
  overflow: hidden;
  box-shadow: var(--te-shadow-sm);
  margin-top: 20px;
  /* FIX: Make form container scrollable */
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 300px); /* Adjust based on your layout */
  overflow-y: auto; /* Enable vertical scrolling */
}

@media (max-width: 720px) {
  #te-chatbot .te-form-container {
    border-radius: 0;
    box-shadow: none;
    max-height: calc(100vh - 200px); /* Adjust for mobile */
  }
}

#te-chatbot .te-form-header {
  padding: 18px 22px; /* Original: 14px 18px - 29% larger */
  border-bottom: 1px solid var(--te-form-border);
  background: var(--te-form-bg);
  position: sticky;
  top: 0;
  z-index: 10; /* Keep header visible when scrolling */
}

@media (max-width: 720px) {
  #te-chatbot .te-form-header {
    padding: 16px 18px;
  }
}

#te-chatbot .te-form-title {
  margin: 0;
  font-size: 20px; /* Original: 17px - 18% larger */
  font-weight: 700;
  color: var(--te-text);
}

#te-chatbot .te-form-subtitle {
  margin: 8px 0 0; /* Original: 6px 0 0 - 33% larger */
  font-size: 16px; /* Original: 13px - 23% larger */
  color: var(--te-muted);
  line-height: 1.5;
}

#te-chatbot .te-form {
  padding: 0;
  /* FIX: Make form scrollable */
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px; /* Add space at bottom */
}

#te-chatbot .te-form-section {
  padding: 18px 22px; /* Original: 14px 18px - 29% larger */
}

@media (max-width: 720px) {
  #te-chatbot .te-form-section {
    padding: 16px 18px;
  }
}

#te-chatbot .te-form-divider {
  height: 2px; /* Original: 1px - 100% thicker */
  background: var(--te-form-border);
}

#te-chatbot .te-form-group {
  margin-bottom: 0;
}

#te-chatbot .te-input,
#te-chatbot .te-select {
  width: 100%;
  padding: 14px 16px; /* Original: 10px 12px - 40% larger */
  border: 1px solid var(--te-form-border);
  border-radius: 12px; /* Original: 8px - 50% larger */
  background: #fff;
  font-size: 16px; /* Original: 14px - 14% larger */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#te-chatbot .te-input:focus,
#te-chatbot .te-select:focus {
  outline: none;
  border-color: var(--te-primary);
  box-shadow: 0 0 0 4px rgba(0, 135, 76, 0.15); /* Larger focus effect */
}
#te-chatbot .te-input-error {
  border-color: #ef4444;
}
#te-chatbot .te-error {
  color: #b91c1c;
  font-size: 14px; /* Original: 11px - 27% larger */
  margin-top: 8px; /* Original: 5px - 60% larger */
}
#te-chatbot .te-help {
  color: var(--te-muted);
  font-size: 14px; /* Original: 11px - 27% larger */
  margin-top: 8px; /* Original: 5px - 60% larger */
}

#te-chatbot .te-radio-group,
#te-chatbot .te-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px; /* Original: 14px - 29% larger */
  margin-top: 8px; /* Original: 6px - 33% larger */
}

#te-chatbot .te-radio,
#te-chatbot .te-checkbox {
  display: flex;
  align-items: center;
  gap: 12px; /* Original: 8px - 50% larger */
  cursor: pointer;
  position: relative;
}

#te-chatbot .te-radio input,
#te-chatbot .te-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

#te-chatbot .te-radio-custom {
  display: inline-block;
  width: 20px; /* Original: 16px - 25% larger */
  height: 20px; /* Original: 16px - 25% larger */
  border: 2px solid #94a3b8;
  border-radius: 50%;
  position: relative;
}

#te-chatbot .te-radio input:checked ~ .te-radio-custom {
  border-color: var(--te-primary);
  background-color: white;
}

#te-chatbot .te-radio input:checked ~ .te-radio-custom::after {
  content: "";
  position: absolute;
  top: 3px; /* Original: 2px - 50% larger */
  left: 3px; /* Original: 2px - 50% larger */
  width: 10px; /* Original: 8px - 25% larger */
  height: 10px; /* Original: 8px - 25% larger */
  background: var(--te-primary);
  border-radius: 50%;
}

#te-chatbot .te-checkbox-custom {
  display: inline-block;
  width: 20px; /* Original: 16px - 25% larger */
  height: 20px; /* Original: 16px - 25% larger */
  border: 2px solid #94a3b8;
  border-radius: 6px; /* Original: 4px - 50% larger */
  position: relative;
}

#te-chatbot .te-checkbox input:checked ~ .te-checkbox-custom {
  border-color: var(--te-primary);
  background-color: var(--te-primary);
}

#te-chatbot .te-checkbox input:checked ~ .te-checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: -1px; /* Original: -2px - adjusted */
  left: 3px; /* Original: 1px - adjusted */
  color: white;
  font-size: 14px; /* Original: 11px - 27% larger */
}

#te-chatbot .te-radio-label,
#te-chatbot .te-checkbox-label {
  font-size: 16px; /* Original: 13px - 23% larger */
  color: var(--te-text);
}

#te-chatbot .te-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px; /* Original: 14px - 29% larger */
}
@media (max-width: 600px) {
  /* Original: 520px - adjusted */
  #te-chatbot .te-grid-2 {
    grid-template-columns: 1fr;
  }
}

#te-chatbot .te-form-footer {
  display: flex;
  position: static !important; 
  justify-content: space-between;
  padding: 18px 22px; /* Original: 14px 18px - 29% larger */
  background: var(--te-form-bg);
  border-top: 1px solid var(--te-form-border);
  /* position: sticky; */
  bottom: 0;
  z-index: 10; /* Keep footer visible when scrolling */
}

@media (max-width: 720px) {
  #te-chatbot .te-form-footer {
    padding: 16px 18px;
  }
}

/* Confirmation screen */
#te-chatbot .te-confirm-container {
  text-align: center;
  padding: 40px 22px; /* Original: 30px 18px - 33% larger */
}

@media (max-width: 720px) {
  #te-chatbot .te-confirm-container {
    padding: 32px 18px;
  }
}

#te-chatbot .te-confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px; /* Original: 50px - 40% larger */
  height: 70px; /* Original: 50px - 40% larger */
  background: var(--te-success);
  color: white;
  font-size: 32px; /* Original: 24px - 33% larger */
  border-radius: 50%;
  margin-bottom: 24px; /* Original: 16px - 50% larger */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#te-chatbot .te-confirm-title {
  margin: 0 0 28px; /* Original: 0 0 20px - 40% larger */
  font-size: 22px; /* Original: 16px - 38% larger */
  font-weight: 600;
  color: var(--te-text);
  line-height: 1.5;
}

#te-chatbot .te-confirm-footer {
  display: flex;
  justify-content: center;
  gap: 16px; /* Added gap for better spacing */
}

/* Input field centering */
#te-chatbot .te-form-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#te-chatbot .te-field {
  width: 100%;
  max-width: 100%;
}

#te-chatbot .te-input,
#te-chatbot .te-select {
  width: 100%;
}

/* Quick chips */
.te-chipbar {
  display: flex;
  gap: 12px; /* Original: 8px - 50% larger */
  flex-wrap: wrap;
  margin: 10px 0 16px; /* Original: 6px 0 12px - 67% larger */
}
.te-chip {
  padding: 10px 16px; /* Original: 6px 10px - 67% larger */
  border-radius: 9999px;
  border: 1px solid #e5efe9;
  background: #fff;
  font-size: 16px; /* Original: 13px - 23% larger */
  cursor: pointer;
  box-shadow: var(--te-shadow-sm);
  transition: all 0.2s ease;
}
.te-chip:hover {
  background: #f7faf9;
  transform: translateY(-2px); /* Added hover effect */
}

/* Chat area */
.te-chat-scroll {
  height: 420px; /* Original: 290px - 45% larger */
  overflow: auto;
  background: #f9fbfa;
  border-radius: var(--te-form-radius);
  padding: 20px; /* Original: 12px - 67% larger */
  border: 1px solid #e8f0ec;
  margin-bottom: 20px;
}
.te-chat-row {
  display: flex;
  margin-bottom: 18px; /* Original: 12px - 50% larger */
}
.te-chat-row.me {
  justify-content: flex-end;
}
.te-chat-row.bot {
  justify-content: flex-start;
}

.te-chat-bubble {
  max-width: 85%;
  padding: 16px 20px; /* Original: 10px 12px - 60% larger */
  border-radius: 20px; /* Original: 12px - 67% larger */
  border: 1px solid #e8f0ec;
  background: #fff;
  box-shadow: var(--te-shadow-sm);
  white-space: pre-wrap;
  line-height: 1.65;
  font-size: 18px; /* Original: 14px - 29% larger */
}
.te-chat-row.bot .te-chat-bubble {
  background: var(--te-form-bg, #f8fafc);
  border-top-left-radius: 8px; /* Added visual detail */
}
.te-chat-row.me .te-chat-bubble {
  background: linear-gradient(
    to bottom left,
    #ffffff,
    #f0f9f4
  ); /* Added gradient */
  border-top-right-radius: 8px; /* Added visual detail */
}
.te-chat-md p {
  margin: 0 0 12px; /* Original: 0 0 8px - 50% larger */
}
.te-chat-md ul,
.te-chat-md ol {
  margin: 0 0 12px 28px; /* Original: 0 0 8px 20px - 50% larger */
}
.te-chat-md a {
  text-decoration: underline;
  color: var(--te-primary); /* Added color */
  font-weight: 600; /* Added weight */
}

.te-composer {
  margin-top: 16px; /* Original: 10px - 60% larger */
}
.te-textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px; /* Original: 70px - 43% larger */
  border-radius: 16px; /* Original: 10px - 60% larger */
  border: 1px solid #dfe9e4;
  padding: 16px 20px; /* Original: 10px 12px - 60% larger */
  outline: none;
  font-size: 18px; /* Original: 14px - 29% larger */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03); /* Enhanced shadow */
}
.te-textarea:focus {
  border-color: #a0d0bd; /* Adjusted color */
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.15); /* Larger focus effect */
}
.te-composer-actions {
  display: flex;
  gap: 14px; /* Original: 8px - 75% larger */
  justify-content: flex-end;
  margin-top: 16px; /* Original: 8px - 100% larger */
}
.te-typing {
  opacity: 0.8;
  font-size: 16px; /* Original: 13px - 23% larger */
  padding: 4px 0;
}

.te-centered-view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  padding: 30px; /* Original: 20px - 50% larger */
  box-sizing: border-box;
}

.te-centered-view .te-subtitle {
  margin-top: 0;
  margin-bottom: 32px; /* Original: 24px - 33% larger */
  text-align: center;
  font-size: 20px; /* Original: 17px - 18% larger */
}

.te-centered-view .te-field {
  width: 100%;
  max-width: 400px; /* Original: 320px - 25% larger */
}

.te-centered-view .te-row {
  flex-direction: column;
  gap: 16px; /* Original: 12px - 33% larger */
}

.te-centered-view .te-btn {
  width: 100%;
  padding: 16px 24px; /* Original: 12px 16px - 33% larger */
  font-size: 18px;
}

#te-chatbot .te-form-container {
  min-height: unset;
  justify-content: unset;
}

/* Scrollbar styling */
.te-chat-scroll::-webkit-scrollbar,
.te-form-container::-webkit-scrollbar {
  width: 14px;
}
.te-chat-scroll::-webkit-scrollbar-track,
.te-form-container::-webkit-scrollbar-track {
  background: #f1f9f5;
  border-radius: 10px;
  margin: 8px 0;
}
.te-chat-scroll::-webkit-scrollbar-thumb,
.te-form-container::-webkit-scrollbar-thumb {
  background: #c0e0d2;
  border-radius: 10px;
  border: 4px solid #f1f9f5;
}
.te-chat-scroll::-webkit-scrollbar-thumb:hover,
.te-form-container::-webkit-scrollbar-thumb:hover {
  background: #a0d0bd;
}

.te-timestamp {
  font-size: 14px;
  color: var(--te-muted);
  text-align: right;
  margin-top: 6px;
}

.te-message-status {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 14px;
  color: var(--te-muted);
}
.te-status-sent {
  color: var(--te-muted);
}
.te-status-delivered {
  color: var(--te-primary);
}
.te-status-read {
  color: var(--te-success);
}

#te-chatbot .te-launcher-hidden {
  display: none;
}

#te-chatbot .te-launcher-hidden ~ .te-panel.open {
  bottom: var(--te-launcher-offset) !important;
}

#te-chatbot .te-form-footer {
  position: static !important;
  margin-top: 20px;
}

#te-chatbot .te-form-container.te-faq-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#te-chatbot .te-faq-container .te-chat-scroll {
  flex: 1;
  overflow: auto;
  height: auto !important;
  margin-bottom: 0;
}

#te-chatbot .te-faq-container .te-composer {
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid var(--te-form-border);
}
