/* Styles for HF Chat Drawer plugin */

/* Wrapper for the chat drawer (populated via JS). */
#hf-chat-drawer-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    font-family: sans-serif;
}

/* Floating chat button */
#hf-chat-button {
    position: fixed;
    /* Position (top/bottom/left/right) will be applied inline via JavaScript */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0073aa;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
    z-index: 10000;
}

#hf-chat-button:hover {
    filter: brightness(1.1);
}

/* Drawer container */
#hf-chat-drawer {
    position: fixed;
    /* Position (top/bottom/left/right) will be applied inline via JavaScript */
    width: 380px;
    max-width: 100vw;
    height: 540px;
    max-height: 90vh;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 9998;
}

/* When open, slide into view */
#hf-chat-drawer.open {
    transform: translateX(0);
}

/* Container for the content inside the drawer */
#hf-chat-drawer .hf-chat-inner {
    width: 100%;
    height: 100%;
    border: none;
}

/* Close button at top of drawer */
#hf-chat-drawer .hf-chat-close {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

#hf-chat-drawer .hf-chat-close:hover {
    color: #000;
}