/************************************************************
 *  Faceclick emoji picker
 ************************************************************/

/* Main popup */
#fc_popup {
    width: 370px;          /* slightly smaller */
    height: 305px;         /* taller for scrolling emojis */
    padding: 0;
    border-radius: 12px;
    background: #ffffff;   /* white background */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1000;
}

/* Filters top bar (categories + search) */
#fc_filters {
    background: #f0f0f0;
    display: flex;
    gap: 5px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 50px;
    padding: 5px 10px;
    align-items: center;
    box-sizing: border-box;
}

/* Category buttons */
#fc_filters a {
    flex: 0 0 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

#fc_filters a:hover {
    background: #e0e0e0;
}

#fc_filters a.selected {
    background: #d0d0d0;
}

/* Search box */
#fc_filters input {
    flex: 1;
    background: #ffffff;
    color: #333;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    margin-left: 5px;
}

#fc_filters input:focus {
    outline: none;
    border-color: #007bff;
}

/* Emoji list container */
#fc_list_scrollbox {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
}

/* Emoji list */
#fc_emoji_list, #fc_emoji_list li {
    margin: 0;
    padding: 0;
}

#fc_emoji_list li {
    list-style: none;
    display: inline-block;
    margin: 4px;
}

#fc_emoji_list a {
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

#fc_emoji_list a:hover {
    background-color: #e0f7ff;
}

/* Scrollbar styling for modern look */
#fc_list_scrollbox::-webkit-scrollbar {
    width: 6px;
}

#fc_list_scrollbox::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

#fc_list_scrollbox::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

#fc_list_scrollbox::-webkit-scrollbar-thumb:hover {
    background: #999;
}
