.jdx-chat-input-bar { position: relative; }

.jdx-emoji-btn {
    background: none !important;
    border: none !important;
    color: #8b949e !important;
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.jdx-emoji-btn:hover,
.jdx-emoji-btn.ativo {
    color: var(--cor-verde-principal) !important;
    background-color: #21262d !important;
}

.jdx-emoji-panel {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 12px;
    width: 320px;
    max-width: calc(100% - 24px);
    height: 280px;
    background-color: #161b22;
    border: 1px solid rgba(103, 179, 77, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
}

.jdx-emoji-abas {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #11161d;
}
.jdx-emoji-aba {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 0;
    font-size: 16px;
    cursor: pointer;
}
.jdx-emoji-aba:hover { background-color: #1c2128; }
.jdx-emoji-aba.ativa { border-bottom-color: var(--cor-verde-principal); }

.jdx-emoji-grade {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    align-content: start;
}
.jdx-emoji-item {
    background: none;
    border: none;
    font-size: 22px;
    padding: 4px 0;
    border-radius: 6px;
    cursor: pointer;
}
.jdx-emoji-item:hover { background-color: #21262d; }
.jdx-emoji-vazio {
    grid-column: 1 / -1;
    text-align: center;
    color: #8b949e;
    font-size: 12px;
    padding-top: 20px;
}
.jdx-emoji-tons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #11161d;
}
.jdx-emoji-tons-label {
    font-size: 11px;
    color: #8b949e;
    margin-right: auto;
}
.jdx-emoji-tom {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s;
}
.jdx-emoji-tom:hover { transform: scale(1.15); }
.jdx-emoji-tom.ativo { border-color: var(--cor-verde-principal); }
.jdx-tom-0 { background: #FFCC4D; }
.jdx-tom-1 { background: #F7DECE; }
.jdx-tom-2 { background: #F3D2A2; }
.jdx-tom-3 { background: #D5AB88; }
.jdx-tom-4 { background: #AF7E57; }
.jdx-tom-5 { background: #7C533E; }