/* Two Wheels Zone - Chatbot Widget */

.chatbot-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #F7E332;
    color: #1a1a1a;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chatbot-fab:active {
    transform: scale(0.98);
}

.chatbot-fab-icon {
    font-size: 22px;
    transform: translateY(1px);
}

.chatbot-panel {
    position: fixed;
    right: 20px;
    bottom: 86px;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 520px;
    max-height: calc(100vh - 130px);
    background: #0f0f0f;
    border: 1px solid rgba(244,222,43,0.25);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    z-index: 9999;
    display: none;
    overflow: hidden;
    transform-origin: bottom right;
}

.chatbot-panel.is-open {
    display: flex;
    flex-direction: column;
    animation: chatbot-pop 0.18s ease-out;
}

@keyframes chatbot-pop {
    from { transform: scale(0.98); opacity: 0.65; }
    to { transform: scale(1); opacity: 1; }
}

.chatbot-header {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(26,26,26,0.95) 100%);
    border-bottom: 1px solid rgba(244,222,43,0.25);
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-badge {
    background: rgba(247, 227, 50, 0.15);
    border: 1px solid rgba(247, 227, 50, 0.35);
    color: #F7E332;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.chatbot-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.chatbot-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 14px 12px;
    overflow-y: auto;
    background:
        radial-gradient(1000px 400px at 0% 0%, rgba(244,222,43,0.09), transparent 60%),
        radial-gradient(1000px 400px at 100% 100%, rgba(255,107,53,0.07), transparent 60%);
}

.chatbot-msg {
    margin: 10px 0;
    display: flex;
}

.chatbot-msg .bubble {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 14px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.35;
}

.chatbot-msg.user {
    justify-content: flex-end;
}

.chatbot-msg.user .bubble {
    background: rgba(247, 227, 50, 0.18);
    border: 1px solid rgba(247, 227, 50, 0.3);
    color: #fff;
}

.chatbot-msg.bot {
    justify-content: flex-start;
}

.chatbot-msg.bot .bubble {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f2f2f2;
}

.chatbot-suggestions {
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.15);
}

.chatbot-suggestion {
    border: 1px solid rgba(247, 227, 50, 0.28);
    background: rgba(247, 227, 50, 0.10);
    color: #fff;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
}

.chatbot-suggestion:hover {
    background: rgba(247, 227, 50, 0.18);
}

.chatbot-form {
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0,0,0,0.15);
}

.chatbot-input {
    flex: 1;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}

.chatbot-input::placeholder {
    color: rgba(255,255,255,0.55);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(247, 227, 50, 0.28);
    background: rgba(247, 227, 50, 0.15);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.chatbot-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chatbot-footnote {
    padding: 0 12px 12px;
    color: rgba(255,255,255,0.55);
}

@media (max-width: 480px) {
    .chatbot-panel { right: 10px; bottom: 78px; width: 340px; }
    .chatbot-fab { right: 12px; bottom: 18px; }
}

