#wp-ai-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#wp-ai-chatbot-prompt {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #333;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: system-ui, sans-serif;
    max-width: 240px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#wp-ai-chatbot-icon {
    font-size: 28px;
    background: #0073aa;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#wp-ai-chatbot {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 100%;
    max-width: 360px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ccc;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: system-ui, sans-serif;
}

#wp-ai-chatbot.hidden {
    display: none;
}

.chat-header {
    background: #0073aa;
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

#chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f9f9f9;
    font-size: 14px;
}

.chat-log div {
    margin-bottom: 10px;
}

.chat-input {
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.chat-input input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* 📱 Mobile - Smaller, cleaner */
@media (max-width: 600px) {
    #wp-ai-chatbot {
        bottom: 60px;
        right: 12.5vw;
        left: 12.5vw;
        width: 55vw;
        height: 30vh;
        max-width: none;
        border-radius: 10px;
    }

    #wp-ai-chatbot-prompt {
        max-width: 65vw;
        font-size: 13px;
    }

    .chat-header {
        font-size: 15px;
    }

    .chat-log {
        padding: 10px;
    }

    .chat-input input {
        padding: 10px;
        font-size: 14px;
    }
}
