/* General Information Columns (Blue) - Semi-transparent to allow zebra striping */
.tabulator-cell[tabulator-field="circle_type"],
.tabulator-cell[tabulator-field="day"],
.tabulator-cell[tabulator-field="rating"] {
    background-color: rgba(176, 224, 230, 0.6);
}

/* Social Media/Links Columns (Green) - Semi-transparent to allow zebra striping */
.tabulator-cell[tabulator-field="circle_facebook"],
.tabulator-cell[tabulator-field="circle_instagram"],
.tabulator-cell[tabulator-field="circle_twitter"],
.tabulator-cell[tabulator-field="circle_other_socials"],
.tabulator-cell[tabulator-field="marketplace_link"] {
    background-color: rgba(163, 228, 175, 0.6);
}

/* Sells Columns (Red) - Semi-transparent to allow zebra striping */
.tabulator-cell[tabulator-field^="Sells"] {
    background-color: rgba(248, 215, 218, 0.6);
}

/* Fandom Focus Columns (Yellow) - Use semi-transparent to allow zebra striping */
.tabulator-cell[tabulator-field="Hoyoverse"],
.tabulator-cell[tabulator-field="Vtuber"],
.tabulator-cell[tabulator-field="Other Gacha"],
.tabulator-cell[tabulator-field="V-Synth"],
.tabulator-cell[tabulator-field="Original"],
.tabulator-cell[tabulator-field="Other (Niche)"] {
    background-color: rgba(255, 243, 205, 0.8);
}

/* Floating Chatbot Widget Styling */
#chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    /* Thinner for small laptops */
    max-width: 90vw;
    height: 750px;
    max-height: calc(100vh - 160px);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 768px) {
    #chatbot-container {
        width: 90%;
        right: 20px;
        left: auto;
        /* Remove centering, align to right */
        bottom: 90px;
        height: 80%;
        /* Increased height for mobile */
        max-height: 85vh;
    }

    #floating-chat-icon {
        right: 20px;
        bottom: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

.chatbot-hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.chatbot-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    border-radius: 12px 12px 0 0;
}

.chatbot-body {
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Floating Chat Icon Hover Animation */
#floating-chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s, background-color 0.2s;
    color: white;
}

#floating-chat-icon:hover {
    transform: scale(1.1);
    background-color: #0056b3;
}

/* Table Layout Adjustments */
.tabulator {
    font-size: 0.85rem !important;
    /* Make font slightly smaller */
}