.chatbot-fab {
  position: fixed;
  bottom: 8px;
  right: 6px;
  z-index: 9999;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
      border-radius: 50%;
      box-shadow: 0 8px 32px rgba(102,126,234,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: box-shadow 0.3s, transform 0.3s;
      border: none;
      outline: none;
    }
    .chatbot-fab:hover {
      box-shadow: 0 16px 48px rgba(102,126,234,0.35);
      transform: scale(1.07);
    }
    .chatbot-fab img {
      width: 38px;
      height: 38px;
      object-fit: contain;
    }
    .chatbot-frame-container {
      position: fixed;
      bottom: 7px;
      right: 6px;
      z-index: 10000;
      width: 400px;
      max-width: 95vw;
      height: 650px;
      max-height: 90vh;
      display: none;
      flex-direction: column;
      background: rgba(255,255,255,0.85);
      box-shadow: 0 8px 32px rgba(102,126,234,0.18);
      border-radius: 24px;
      overflow: hidden;
      animation: chatbot-slide-in 0.4s cubic-bezier(0.4,0,0.2,1);
      backdrop-filter: blur(16px);
    }
    @keyframes chatbot-slide-in {
      from { opacity: 0; transform: translateY(60px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
.chatbot-frame-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
      color: #fff;
      padding: 18px 20px 16px 20px;
      font-size: 1.1rem;
      font-weight: 600;
      border-bottom: 1px solid rgba(255,255,255,0.12);
      position: relative;
    }
    .chatbot-frame-header img {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: #fff;
      object-fit: contain;
      box-shadow: 0 2px 8px rgba(102,126,234,0.10);
    }
    .chatbot-close-btn {
      position: absolute;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.18);
      border: none;
      color: #fff;
      font-size: 1.3rem;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s;
    }
    .chatbot-close-btn:hover {
      background: rgba(255,255,255,0.32);
    }
    .chatbot-iframe {
      flex: 1;
      border: none;
      width: 100%;
      min-height: 0;
      margin-top: -245% !important;
      background: #f8f9fa;
    }
    @media (max-width: 600px) {
      .chatbot-frame-container {
        width: 98vw;
        right: 1vw;
        height: 55vh;
        bottom: 10px;
        border-radius: 16px;
      }
      .chatbot-fab {
        right: 6px;
        bottom: 6px;
        width: 64px;
        height: 64px;
      }
      .chatbot-fab img {
        width: 28px;
        height: 28px;
      }
    }
  </style>
