#shiftech-chatbot-widget {
    --primary: #2952E0;
    --primary-hover: #1D42C4;
    --bg-surface: #FFFFFF;
    --bg-chat: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-subtle: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-expanded: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: fixed;
    z-index: 999999;
    box-sizing: border-box;
}
#shiftech-chatbot-widget *, #shiftech-chatbot-widget *::before, #shiftech-chatbot-widget *::after { box-sizing: border-box; }
#shiftech-chatbot-widget #chat-widget-launcher {
    position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 30px;
    background: var(--primary); color: #fff; border: none; cursor: pointer;
    box-shadow: 0 8px 24px rgba(41, 82, 224, 0.4); display: flex; align-items: center; justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0; transform: scale(0.8); pointer-events: none; z-index: 999999;
}
#shiftech-chatbot-widget #chat-widget-launcher.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
#shiftech-chatbot-widget #chat-widget-launcher:hover { background: var(--primary-hover); transform: scale(1.08); }
#shiftech-chatbot-widget #chat-widget-launcher .launcher-badge {
    position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background-color: #10B981; border: 2px solid #FFFFFF; border-radius: 50%;
}
#shiftech-chatbot-widget #chat-container {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: 520px; max-width: calc(100vw - 32px);
    display: flex; flex-direction: column; align-items: center; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 999999; opacity: 1; pointer-events: auto;
}
#shiftech-chatbot-widget #chat-container.hidden { opacity: 0; transform: translateX(-50%) translateY(24px) scale(0.95); pointer-events: none; }
#shiftech-chatbot-widget #suggestion-card {
    width: 100%; background: #FFFFFF; border-radius: 20px; padding: 14px 18px; margin-bottom: 12px;
    box-shadow: var(--shadow-subtle); border: 1px solid var(--border-color); display: none; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease;
}
#shiftech-chatbot-widget #suggestion-card.active { display: flex !important; opacity: 1; transform: translateY(0); }
#shiftech-chatbot-widget .suggestion-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: transparent; color: var(--text-main); font-size: 14px; font-weight: 500; cursor: pointer; border: none; text-align: left; width: 100%; transition: background 0.2s ease, transform 0.15s ease;
}
#shiftech-chatbot-widget .suggestion-item:hover { background: #F1F5F9; color: var(--primary); transform: translateX(4px); }
#shiftech-chatbot-widget .suggestion-item svg { color: var(--primary); flex-shrink: 0; }
#shiftech-chatbot-widget #chat-box-panel {
    width: 100%; background: var(--bg-surface); border-radius: 30px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-color); display: flex; flex-direction: column; overflow: hidden; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#shiftech-chatbot-widget #chat-container.expanded #chat-box-panel { height: 520px; max-height: 75vh; border-radius: 20px; box-shadow: var(--shadow-expanded); }
#shiftech-chatbot-widget #chat-top-section { display: none !important; background: var(--primary); align-items: center; color: white; justify-content: space-between; padding: 0 16px; height: 60px; flex-shrink: 0; }
#shiftech-chatbot-widget #chat-container.expanded #chat-top-section { display: flex !important; }
#shiftech-chatbot-widget #chat-top-section img { width: 34px; height: 34px; margin-right: 12px; border-radius: 50%; object-fit: cover; background: #fff; padding: 2px; }
#shiftech-chatbot-widget #chat-top-section h3 { margin: 0; font-size: 16px; font-weight: 600; }
#shiftech-chatbot-widget .header-controls { display: flex; align-items: center; gap: 6px; }
#shiftech-chatbot-widget .icon-btn { background: transparent; border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 6px; border-radius: 50%; transition: background 0.2s; }
#shiftech-chatbot-widget .icon-btn:hover { background: rgba(255, 255, 255, 0.18); }
#shiftech-chatbot-widget #chat-window { display: none !important; flex-grow: 1; overflow-y: auto; padding: 20px; gap: 14px; flex-direction: column; background: var(--bg-chat); }
#shiftech-chatbot-widget #chat-container.expanded #chat-window { display: flex !important; }
#shiftech-chatbot-widget #input-area { position: relative; width: 100%; height: 56px; flex-shrink: 0; display: flex; align-items: center; background: #FFFFFF; padding: 0 12px 0 18px; }
#shiftech-chatbot-widget #queryInput { flex: 1; height: 100%; border: none; outline: none; font-size: 15px; background: transparent; color: var(--text-main); padding-right: 12px; }
#shiftech-chatbot-widget #queryInput::placeholder { color: var(--text-muted); }
#shiftech-chatbot-widget .input-actions { display: flex; align-items: center; gap: 6px; }
#shiftech-chatbot-widget #cancelBtn, #shiftech-chatbot-widget #sendBtn { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 50%; transition: all 0.2s ease; }
#shiftech-chatbot-widget #cancelBtn { color: var(--text-muted); }
#shiftech-chatbot-widget #cancelBtn:hover { background: #F1F5F9; color: #EF4444; }
#shiftech-chatbot-widget #sendBtn { color: var(--primary); }
#shiftech-chatbot-widget #sendBtn:hover { background: rgba(41, 82, 224, 0.1); transform: scale(1.05); }
#shiftech-chatbot-widget .shiftech-message { padding: 12px 16px; border-radius: 14px; max-width: 85%; line-height: 1.5; font-size: 14px; word-break: break-word; }
#shiftech-chatbot-widget .shiftech-user { align-self: flex-end; background: var(--primary); color: white; border-bottom-right-radius: 2px; }
#shiftech-chatbot-widget .shiftech-ai { align-self: flex-start; background: #FFFFFF; color: var(--text-main); border: 1px solid var(--border-color); border-bottom-left-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); }
#shiftech-chatbot-widget .shiftech-loader { display: flex; align-items: center; gap: 5px; padding: 4px 0; }
#shiftech-chatbot-widget .shiftech-dot { width: 7px; height: 7px; background-color: #94A3B8; border-radius: 50%; animation: shiftech-bounce 1.4s infinite ease-in-out both; }
#shiftech-chatbot-widget .shiftech-dot:nth-child(1) { animation-delay: -0.32s; }
#shiftech-chatbot-widget .shiftech-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes shiftech-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } }