   * {
      box-sizing: border-box;
    }
	
    body {
      margin: 0;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: #333;
      font-size: clamp(10px, 1.2vw, 14px);
    }
    @media (max-width: 480px) {
      #chat-container {
        bottom: 70px;
        right: 10px;
        width: 95%;
      }

      #chat-toggle {
        bottom: 15px;
        right: 10px;
      }
    }

    @keyframes wobble {
    0% { transform: translateY(0%); }
    15% { transform: translateY(-15%)  }
    30% { transform: translateY(10%)  }
    45% { transform: translateY(-5%)  }
    60% { transform: translateY(2%)  }
    75% { transform: translateY(-2%)  }
    100% { transform: translateY(0%); }
    }
    #chat-toggle {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #93AB3D;
      color: #fff;
      border-radius: 20px;
      padding: 10px 20px;
      font-weight: 600;
      font-size: 16px;
      border: none;
      cursor: pointer;
      z-index: 9999999;
      transition: background-color 0.3s ease;
      animation: wobble 2s ease 3;
    }
    
    #chat-toggle:hover {
      background-color: #7B8D2F;
      transform:scale(1.05);
      animation-play-state: paused;
    }

    #chat-container {
      position: fixed;
      bottom: 85px;
      right: 20px;
      width: 90%;
      max-width: 360px;
      height: auto;
      max-height: 70vh;
      background: #ffffff;
      border-radius: 12px;
      display: none;
      flex-direction: column;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      z-index: 9999999;
    }

    #chat-header {
      background-color: #f5fdf0;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #d2e4c4;
    }

    #chat-header .status-circle {
      width: 10px;
      height: 10px;
      background-color: #32cd32;
      border-radius: 50%;
    }

    #chatbox {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      background-color: #f0f7ec;
      font-size: 14px;
      color: #333;
      scrollbar-width: thin;
      scrollbar-color: #93AB3D transparent;
    }

    #chatbox::-webkit-scrollbar {
      width: 6px;
    }

    #chatbox::-webkit-scrollbar-thumb {
      background-color: #93AB3D;
      border-radius: 3px;
    }

    #policy-text {
    background-color: #f0f7ec;
    color: #3b6022;
    font-style: italic;
    font-size: 11px;
    padding: 12px 12px;
    text-align: center;
    display: block;
    
    }

    .message {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }
    .message.user {
      justify-content: flex-end;
    }

    .message.user .message-content {
      background-color: #e2e8f0;
      color: #333;
    }

    .message.user .chat-icon {
      display: none;
    }

    .chat-icon {
      font-size: 20px;
      margin-top: 3px;
    }

    .message-content {
      background-color: #d5ebc3;
      padding: 8px 12px;
      border-radius: 12px;
      max-width: 80%;
      color: #2f4f1f;
      font-weight: 500;
      word-wrap: break-word;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    #chat-input {
      display: flex;
      border-top: 1px solid #d2e4c4;
      background-color: #ffffff;
      align-items: center;
      gap: 4px;
      padding: 8px;
    }

    textarea#userInput {
      flex: 1;
      border: none;
      padding: 8px 10px;
      font-size: 16px;
      background-color: #f0f0f0;
      color: #333;
      border-radius: 6px;
      outline: none;
      resize: none;
      min-height: 38px;
      line-height: 1.4;
      font-family: 'Inter', sans-serif;
    }

    textarea#userInput::placeholder {
      color: #999;
      font-style: italic;
    }

    #sendBtn {
      background-color: #93AB3D;
      border: none;
      color: white;
      width: 38px;
      height: 38px;
      font-weight: bold;
      cursor: pointer;
      border-radius: 6px;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    #sendBtn:hover {
      background-color: #7B8D2F;
    }

    .typing-indicator {
      background-color: #d5ebc3;
      align-self: flex-start;
      color: #2f4f1f;
      padding: 10px 14px;
      border-radius: 12px;
      font-style: italic;
      font-size: 14px;
      max-width: 80%;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .typing-wrapper {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .dots {
      display: flex;
      gap: 4px;
    }

    .dot {
      height: 6px;
      width: 6px;
      background-color: #2f4f1f;
      border-radius: 50%;
      opacity: 0.2;
      animation: blink 1.5s infinite ease-in-out;
    }

    .dot1 { animation-delay: 0s; }
    .dot2 { animation-delay: 0.2s; }
    .dot3 { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}