.ai-chat-widget {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 9999;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
      }
      
      .ai-chat-button {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .ai-chat-button:hover {
        transform: scale(1.1);
      }
      
      .ai-chat-button svg {
        width: 32px;
        height: 32px;
        stroke: white;
        fill: none;
        stroke-width: 2;
      }
      
      @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-10px); }
        60% { transform: translateY(-5px); }
      }
      
      .ai-chat-window {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 380px;
        height: 600px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: slideUp 0.3s ease;
      }
      
      .ai-chat-window.active {
        display: flex;
      }
      
      @keyframes slideUp {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      .ai-chat-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      
      .ai-chat-header-info {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      
      .ai-chat-avatar {
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
      }
      
      .ai-chat-title h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
      }
      
      .ai-chat-title p {
        margin: 0;
        font-size: 12px;
        opacity: 0.9;
      }
      
      .ai-chat-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }
      
      .ai-chat-close:hover {
        background: rgba(255, 255, 255, 0.3);
      }
      
      .ai-chat-close svg {
        width: 20px;
        height: 20px;
        stroke: white;
        fill: none;
        stroke-width: 2;
      }
      
      .ai-chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
        background: #f7fafc;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      
      .ai-chat-message {
        display: flex;
        max-width: 80%;
        animation: fadeIn 0.3s ease;
      }
      
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      .ai-chat-message.user {
        align-self: flex-end;
      }
      
      .ai-chat-message.assistant {
        align-self: flex-start;
      }
      
      .ai-chat-message-content {
        padding: 12px 16px;
        border-radius: 16px;
        white-space: pre-line;
        line-height: 1.5;
      }
      
      .ai-chat-message.user .ai-chat-message-content {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-bottom-right-radius: 4px;
      }
      
      .ai-chat-message.assistant .ai-chat-message-content {
        background: white;
        color: #2d3748;
        border: 1px solid #e2e8f0;
        border-bottom-left-radius: 4px;
      }
      
      .ai-chat-typing {
        display: flex;
        gap: 4px;
        padding: 12px 16px;
        background: white;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        width: fit-content;
      }
      
      .ai-chat-typing span {
        width: 8px;
        height: 8px;
        background: #cbd5e0;
        border-radius: 50%;
        animation: typing 1.4s infinite;
      }
      
      .ai-chat-typing span:nth-child(2) {
        animation-delay: 0.2s;
      }
      
      .ai-chat-typing span:nth-child(3) {
        animation-delay: 0.4s;
      }
      
      @keyframes typing {
        0%, 60%, 100% {
          transform: translateY(0);
        }
        30% {
          transform: translateY(-10px);
        }
      }
      
      .ai-chat-quick-questions {
        padding: 12px 16px;
        background: #f7fafc;
        border-top: 1px solid #e2e8f0;
      }
      
      .ai-chat-quick-questions p {
        margin: 0 0 8px 0;
        font-size: 12px;
        color: #718096;
      }
      
      .ai-chat-quick-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      
      .ai-chat-quick-button {
        background: white;
        border: 1px solid #cbd5e0;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
      }
      
      .ai-chat-quick-button:hover {
        background: #edf2f7;
        border-color: #667eea;
      }
      
      .ai-chat-input-area {
        padding: 16px;
        background: white;
        border-top: 1px solid #e2e8f0;
      }
      
      .ai-chat-input-wrapper {
        display: flex;
        gap: 8px;
      }
      
      .ai-chat-input {
        flex: 1;
        border: 1px solid #cbd5e0;
        border-radius: 24px;
        padding: 10px 16px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s;
      }
      
      .ai-chat-input:focus {
        border-color: #667eea;
      }
      
      .ai-chat-send {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
      }
      
      .ai-chat-send:hover:not(:disabled) {
        transform: scale(1.05);
      }
      
      .ai-chat-send:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
      
      .ai-chat-send svg {
        width: 20px;
        height: 20px;
        stroke: white;
        fill: none;
        stroke-width: 2;
      }
      
      .ai-chat-footer-text {
        text-align: center;
        font-size: 11px;
        color: #a0aec0;
        margin-top: 8px;
      }
      
      @media (max-width: 480px) {
        .ai-chat-window {
          width: calc(100vw - 32px);
          height: calc(100vh - 100px);
          bottom: 16px;
          right: 16px;
        }
      }
      .ai-chat-message-content { white-space: pre-line; }