    .chat-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 350px;
      min-width: 200px;
      max-width: 600px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      height: 60vh;
      max-height: 500px;
      transition: opacity 0.3s ease;
      z-index: 1000;
      resize: horizontal;
      overflow: hidden;
      --chatbot-color: #007bff;
    }
    .chat-container.minimized {
      display: none;
    }
    .resize-handle {
      position: absolute;
      left: 2px;
      top: 40px;
      width: 3px;
      height: calc(100% - 80px);
      background: transparent;
      opacity: 0;
      cursor: ew-resize;
      z-index: 1001;
    }
    .chat-header {
      background: var(--chatbot-color);
      color: white;
      padding: 10px;
      border-radius: 10px 10px 0 0;
      display: flex;
      justify-content: space-between;
      align-items: left;
      font-size: 1.1em;
    }
    .minimize-button {
      background: none;
      border: none;
      color: white;
      font-size: 1.2em;
      cursor: pointer;
    }
    .chat-body {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      background: #f9f9f9;
    }
    .chat-message {
      margin: 8px 0;
      display: flex;
    }
    .chat-message.user {
      justify-content: flex-end;
    }
    .chat-message.bot {
      justify-content: flex-start;
    }
    .chat-message.spinner {
      justify-content: flex-start;
    }
    .message-content {
      max-width: 90%;
      padding: 8px 12px;
      border-radius: 15px;
      font-size: 0.9em;
      word-wrap: break-word;
    }
    .chat-message.user .message-content {
      background: #28a745;
      color: white;
    }
    .chat-message.bot .message-content {
      background: #e9ecef;
      color: #333;
    }
    .chat-message.spinner .message-content {
      background: none;
      padding: 0;
    }
    .spinner {
      width: 24px;
      height: 24px;
      border: 4px solid var(--chatbot-color);
      border-top: 4px solid transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .chat-footer {
      padding: 10px;
      border-top: 1px solid #ddd;
      display: flex;
      align-items: center;
    }
    .chat-input {
      flex: 1;
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 20px;
      font-size: 0.9em;
      outline: none;
    }
    .chat-button {
      background: var(--chatbot-color);
      color: white;
      border: none;
      padding: 8px 12px;
      border-radius: 20px;
      margin-left: 8px;
      cursor: pointer;
      font-size: 0.9em;
    }
    .chat-button:hover {
      background: color-mix(in srgb, var(--chatbot-color) 80%, black);
    }
    .error {
      color: #dc3545;
      background: #f8d7da;
    }
    .chat-icon {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      background: var(--chatbot-color);
      border-radius: 50%;
      display: none;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      z-index: 1000;
    }
    .chat-icon.active {
      display: flex;
      background: var(--chatbot-color);
    }
    .chat-icon img {
      width: 30px;
      height: 30px;
    }
    .end-chat-link {
      color: var(--chatbot-color);
      text-decoration: underline;
      cursor: pointer;
    }
    .response-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .response-list li {
      margin-bottom: 8px;
    }
    .response-list a {
      color: var(--chatbot-color);
      text-decoration: none;
      font-size: 0.9em;
    }
    .response-list a:hover {
      text-decoration: underline;
    }