/* Назначение файла: стили блока "Озвучка" в левой панели чата. */

.voice-sidebar-panel {
    width: 100%;
    padding: 6px 10px 10px;
}

.voice-sidebar-panel__item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--as-border);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(var(--as-surface-rgb), 0.42);
    color: var(--as-text);
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

    .voice-sidebar-panel__item:hover {
        background: rgba(var(--as-surface-rgb), 0.74);
        border-color: var(--as-accent);
        transform: translateY(-1px);
    }

    .voice-sidebar-panel__item:active {
        transform: translateY(0);
    }

.voice-sidebar-panel__item-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(var(--as-accent-rgb), 0.14);
    color: var(--as-accent-text);
}

.voice-sidebar-panel__item-main {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.voice-sidebar-panel__item-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--as-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voice-sidebar-panel__item-hint {
    font-size: 12px;
    line-height: 1.2;
    color: var(--as-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voice-sidebar-panel__item-arrow {
    flex: 0 0 auto;
    color: var(--as-accent-text);
    font-size: 18px;
    line-height: 1;
}
