/* Icon Picker Styles */
.input_chat {
    position: relative;
}

.btn_show_icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn_show_icon:hover {
    background: #3d3d3d;
}

.icon_picker {
    display: none;
    position: absolute;
    bottom: 40px;
    right: 5px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    width: 220px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.icon_picker > div {
    max-height: 180px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.chat-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

.chat-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#chat_text {
    padding-right: 40px;
}
