/* Barra/popover de emoji — componente próprio, ver components/EmojiPicker.php */

.snt-emoji-toolbar {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--border);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    gap: 4px;
}

.snt-emoji-toggle {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: var(--gray-pale);
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.snt-emoji-toggle:hover { background: var(--gray-soft); }

.snt-emoji-separator {
    width: 1px;
    height: 22px;
    background: var(--border-strong);
    margin: 0 4px;
    flex-shrink: 0;
}

.snt-emoji-recent-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.snt-emoji-recent-item {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    width: 30px;
    height: 30px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.snt-emoji-recent-item:hover { background: var(--gray-soft); }

.snt-emoji-popover {
    position: absolute;
    z-index: 200;
    top: 100%;
    left: 0;
    margin-top: 4px;
    width: 320px;
    max-height: 280px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    box-sizing: border-box;
}

.snt-emoji-search {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 6px;
    font-family: var(--font);
}

.snt-emoji-grid-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gray-soft);
    margin: 6px 0 4px;
}

.snt-emoji-grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.snt-emoji-item {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    font-size: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}
.snt-emoji-item:hover { background: var(--cream); }

.snt-emoji-empty {
    font-size: 13px;
    color: var(--gray-soft);
    padding: 8px 2px;
}
