.emoji-textarea-container {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.emoji-btn {
    margin-left: 5px;
}

.emoji-picker {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    top: 50px;
    left: 0;
    z-index: 1000;
    border-radius: 8px;
}

.emoji-tabs-container {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.emoji-tabs {
    flex-grow: 1;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.emoji-tabs::-webkit-scrollbar {
    display: none;
}

.emoji-tab {
    cursor: pointer;
    padding: 8px 15px;
    font-size: 14px;
    color: #555;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    flex-shrink: 0;
}

.emoji-tab:hover {
    background: #e0e0e0;
}

.emoji-tab.active {
    font-weight: bold;
    color: black;
    border-bottom: 3px solid #007bff;
}

.emoji-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.emoji-item {
    cursor: pointer;
    font-size: 22px;
    padding: 5px;
    transition: 0.2s;
}

.emoji-item:hover {
    background: #f2f2f2;
    border-radius: 5px;
}

.scroll-left, .scroll-right {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    color: #555;
}

.scroll-left:hover, .scroll-right:hover {
    color: black;
}